Blog info updated

Screenshots for current development version and download info updated.


May the cloud be with you



~~ · ~~


Searching strings

Well, another thing I learnt today: how to search a given string in a RDF graph but matching only Literals:

    def by_term(self, search_term):
        query = """
        SELECT DISTINCT ?rid
        WHERE {
            ?rid ?predicate ?object .
            FILTER isLiteral(?object) .
            FILTER regex(?object, "
%s", "i")
        }
        ORDER BY ?object
        "
"" % Literal(search_term)
        result = run_query(query, self.graph)

        return result.selected
 

The most important here is the operator isLiteral used in the filters.



~~ · ~~


Vazaar 0.4.8: a new release for testing

Vazaar icon logo

Hi,

another version of Vazaar is out for testing. Get it while hot. There are a lot of changes respect older versions. Now, you can manage easily your notes, diary, bookmarks an other resources. Also, you can display them as graph of connected resources or as a list. Resources can be imported/exported to/from other persons.

Don’t hesitate to email me with your comments (kaskaras @ gmail.com). Please, visit my launchpad project page for more info, report bugs, ask questions, etc.

.

Read the rest of this entry »



~~ · ~~


What is coming in the next version

Despite of the fact I don’t post in this weblog most often I think I haven’t wasted my spare time (my current work isn’t related with anything about this, yet). Instead it has been very productive and I am very happy with last results. In the end, I’m starting to see something useful.

Most of time, I’ve been reading more and more about NEPOMUK and playing with SPARQL queries. I have to recognize that it not that simple as I thought in a first moment but I’ll talk about this [intlink id="41" type="category" target="_self"]later[/intlink].

I have something to say about RDFLib: it is wonderful. From time to time I have to deal with some glitches but, most of them, are related to my own code. Anyway I am not using all the potential that this library offers.

Read the rest of this entry »



~~ · ~~


distutils implemented

Finally, I got the way to implement distutils into Vazaar. It lacks support for i18n/gettext but it is in the way. I’ve released a new tarball. You can launch it as developer inside your home with the command ./launch

But if you prefer a wide-system install, you must use the following command:

sudo python2.5 setup.py install

You can find an entry under Applications -> Office -> Vazaar

python 2.6 also works but it throws warnings.

Please, note that you can NOT combine different versions of python because database sqlite formats differs each from other.



~~ · ~~