Commits

Brian Beck committed 892b3f2

Updated graph loading helper to use argument.

Comments (0)

Files changed (1)

 import os.path
 import operator
-from telescope import ConjunctiveGraph
+from rdflib.Graph import Graph
 
 UNARY_OPERATORS = [operator.pos, operator.neg, operator.invert, operator.inv]
 CONDITIONAL_OPERATORS = [operator.and_, operator.or_]
     return os.path.join(os.path.dirname(__file__), 'resources', filename)
 
 def graph(*filenames):
-    graph = ConjunctiveGraph()
+    graph = Graph()
     for filename in filenames:
-        graph.load(resource(filename))
+        graph.load(resource(filename), publicID=filename)
     return graph