Re: [rdflib-dev] rdflib module structure

2007-08-02 Thread Stephen Waterbury
Kendall Clark wrote: > On Aug 2, 2007, at 8:53 AM, Jeroen van der Ham wrote: > >> Gunnar Aastrand Grimnes wrote: >>> Running sparql queries is actually much easier: >> I agree that I really should update my archaic sparql queries. >> >> What really bothers me is that these radical changes happened

Re: [rdflib-dev] rdflib module structure

2007-08-02 Thread Kendall Clark
On Aug 2, 2007, at 8:53 AM, Jeroen van der Ham wrote: > Gunnar Aastrand Grimnes wrote: >> Running sparql queries is actually much easier: > > I agree that I really should update my archaic sparql queries. > > What really bothers me is that these radical changes happened in a > minor > version i

Re: [rdflib-dev] rdflib module structure

2007-08-02 Thread Jeroen van der Ham
Gunnar Aastrand Grimnes wrote: > Running sparql queries is actually much easier: I agree that I really should update my archaic sparql queries. What really bothers me is that these radical changes happened in a minor version increase, which have totall changed the API > from rdflib.Graph imp

Re: [rdflib-dev] rdflib module structure

2007-08-02 Thread Gunnar Aastrand Grimnes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Running sparql queries is actually much easier: from rdflib.Graph import Graph g=Graph() # add some data. ... res=g.query("SELECT ?x WHERE { ?x ?y ?z. }") res is now iterable over a tuple of variable bindings, and res also has methods for doing jso

[rdflib-dev] rdflib module structure

2007-07-27 Thread Jeroen van der Ham
Hi all, Today I tried to update some old code I had lying around that was built using an older version of rdflib, and used rdflib.sparql.SPARQLGraph(). I have not yet managed to update all my code, but looking at examples and bare documentation so far has led me to one conclusion: Could you plea