diff --git a/spec_parser/rdf.py b/spec_parser/rdf.py index cc9b030..0803f3e 100644 --- a/spec_parser/rdf.py +++ b/spec_parser/rdf.py @@ -276,7 +276,7 @@ def get_subject_term(subject): elif (o, RDF.type, OWL.Class) in g: return { "@id": subject, - "@type": "@vocab", + "@type": "@id", } elif (subject, RDF.type, OWL.DatatypeProperty) in g: for _, _, o in g.triples((subject, RDFS.range, None)):