diff --git a/owl_classification.py b/owl_classification.py index 9a407d0..adaddda 100755 --- a/owl_classification.py +++ b/owl_classification.py @@ -72,7 +72,7 @@ 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)