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 please, pretty please, have a look at how you structure the module, do a complete overhaul and release this as version 2.5 or something? To me, the following seems broken: >>> import rdflib.Graph >>> rdflib.Graph.Graph() Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: type object 'BackwardCompatGraph' has no attribute 'Graph' >>> from rdflib.Graph import Graph >>> Graph() <Graph identifier=aHJJWZSf0 (<class 'rdflib.Graph.Graph'>)> And having to do this: import rdflib.sparql.sparqlGraph import rdflib.sparql.graphPattern import rdflib.sparql.Query To be able to run sparql queries seems a bit strange as well. Why can't I just import rdflib.sparql and be done with it? Jeroen. _______________________________________________ Dev mailing list Dev@rdflib.net http://rdflib.net/mailman/listinfo/dev