-
Notifications
You must be signed in to change notification settings - Fork 576
Closed
Description
Hello,
I am trying to run the example in https://rdflib.readthedocs.io/en/stable/apidocs/rdflib.extras.html
And the following error Only URIRefs or Paths can be in paths!
keeps occurring at anonClass = EX.someProp | some | classD
EX = Namespace('http://example.com/')
namespace_manager = NamespaceManager(Graph())
namespace_manager.bind('ex', EX, override=False)
namespace_manager.bind('owl', OWL_NS, override=False)
g = Graph()
g.namespace_manager = namespace_manager
Individual.factoryGraph = g
classD = Class(EX.D)
anonClass = EX.someProp | some | classD
Thank you
Metadata
Metadata
Assignees
Labels
No labels