Commits

gweis  committed d7721c1

support new rdflib query API

  • Participants
  • Parent commits c509613

Comments (0)

Files changed (1)

File ordf/handler/rdf.py

         del self[g]
 
     def query(self, *av, **kw):
-        if hasattr(self.store, "query"):
-            return self.store.query(*av, **kw)
-        else:
-            g = ConjunctiveGraph(self.store)
-            return g.query(*av, **kw)
+        # if hasattr(self.store, "query"):
+        #     return self.store.query(*av, **kw)
+        # else:
+        g = ConjunctiveGraph(self.store)
+        return g.query(*av, **kw)
 
     def commit(self):
         self.store.commit()