diff options
Diffstat (limited to 'schema')
-rw-r--r-- | schema/parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/schema/parse.py b/schema/parse.py index d0ffc8aa..69fd730b 100644 --- a/schema/parse.py +++ b/schema/parse.py @@ -123,7 +123,7 @@ def new_resource(graph, uriref, rdf_type): and update the information about the resource that is stored in 'graph'. ''' - entity = rdflib.resource.Resource(graph, uriref) + entity = graph.resource(uriref) entity.set(RDF.type, rdf_type) return entity |