Get rid of spurious typo
1 parent 31a2204 commit 0967bee338de4e02c500c9564bb21106fce6700d
@Alex Tucker Alex Tucker authored on 5 Jul 2019
Showing 1 changed file
View
2
■■■
owl_classification.py
restriction = BNode()
g.add((childNode, OWL.equivalentClass, restriction))
g.add((restriction, RDF.type, OWL.Restriction))
g.add((restriction, OWL.onProperty, URIRef(args.property)))
g.add((restriction, OWL.hasValue, URIRef(urljoin(args.codes, childam))))
g.add((restriction, OWL.hasValue, URIRef(urljoin(args.codes, child))))
defined.add(childNode)
c = Collection(g, childrenNode, childNodes)
 
print(g.serialize(format='turtle').decode('utf-8'))