diff --git a/dmlex-v1.0/specification/schemas/RDF/dmlex-core.ttl b/dmlex-v1.0/specification/schemas/RDF/dmlex-core.ttl
index f68df1c..ac32a70 100644
--- a/dmlex-v1.0/specification/schemas/RDF/dmlex-core.ttl
+++ b/dmlex-v1.0/specification/schemas/RDF/dmlex-core.ttl
@@ -247,7 +247,7 @@ dmlex:Definition a owl:Class ;
dmlex:definitionType a owl:ObjectProperty ;
rdfs:label "Definition Type"@en ;
rdfs:domain dmlex:Definition ;
- rdfs:range dmlex:DefinitionType .
+ rdfs:range dmlex:DefinitionTypeTag .
dmlex:Label a owl:Class ;
rdfs:comment "Represents a restriction on its parent such as temporal (old-fashioned, neologism), regional (dialect), register (formal, colloquial), domain (medicine, politics) or grammar (singular-only)."@en ;
diff --git a/dmlex-v1.0/specification/schemas/RDF/dmlex.shacl b/dmlex-v1.0/specification/schemas/RDF/dmlex.shacl
index 6a07bcd..f01f456 100644
--- a/dmlex-v1.0/specification/schemas/RDF/dmlex.shacl
+++ b/dmlex-v1.0/specification/schemas/RDF/dmlex.shacl
@@ -176,7 +176,7 @@
sh:path dmlex:definitionType ;
sh:minCount 0 ;
sh:maxCount 1 ;
- sh:class dmlex:DefinitionType ] ;
+ sh:class dmlex:DefinitionTypeTag ] ;
sh:property [
sh:path dmlex:headwordMarker ;
sh:class dmlex:HeadwordMarker ] ;
diff --git a/dmlex-v1.0/specification/schemas/RDF/dmlex.ttl b/dmlex-v1.0/specification/schemas/RDF/dmlex.ttl
index 5abcb5c..10dc4b1 100644
--- a/dmlex-v1.0/specification/schemas/RDF/dmlex.ttl
+++ b/dmlex-v1.0/specification/schemas/RDF/dmlex.ttl
@@ -247,7 +247,7 @@ dmlex:Definition a owl:Class ;
dmlex:definitionType a owl:ObjectProperty ;
rdfs:label "Definition Type"@en ;
rdfs:domain dmlex:Definition ;
- rdfs:range dmlex:DefinitionType .
+ rdfs:range dmlex:DefinitionTypeTag .
dmlex:Label a owl:Class ;
rdfs:comment "Represents a restriction on its parent such as temporal (old-fashioned, neologism), regional (dialect), register (formal, colloquial), domain (medicine, politics) or grammar (singular-only)."@en ;
diff --git a/dmlex-v1.0/specification/serializations/RDF/elements/Definition.xml b/dmlex-v1.0/specification/serializations/RDF/elements/Definition.xml
index e4b1c1b..61d7980 100644
--- a/dmlex-v1.0/specification/serializations/RDF/elements/Definition.xml
+++ b/dmlex-v1.0/specification/serializations/RDF/elements/Definition.xml
@@ -20,7 +20,7 @@
dmlex:text REQUIRED (exactly 1) of type http://www.w3.org/2000/01/rdf-schema#Literal
- dmlex:definitionType OPTIONAL (at most 1) reference to DefinitionType
+ dmlex:definitionType OPTIONAL (at most 1) reference to DefinitionTypeTag
dmlex:headwordMarker OPTIONAL reference to HeadwordMarker
@@ -31,4 +31,4 @@
-
\ No newline at end of file
+
diff --git a/dmlex-v1.0/specification/serializations/RDF/gen_docbook_from_rdf.py b/dmlex-v1.0/specification/serializations/RDF/gen_docbook_from_rdf.py
index 1ba120d..f363e0e 100644
--- a/dmlex-v1.0/specification/serializations/RDF/gen_docbook_from_rdf.py
+++ b/dmlex-v1.0/specification/serializations/RDF/gen_docbook_from_rdf.py
@@ -26,7 +26,7 @@ def describe_property(g, property, file, restrictions):
def parse_rdf():
g = rdflib.Graph()
- g.parse("ontology/dmlex.ttl", format="turtle")
+ g.parse("../../schemas/RDF/dmlex.ttl", format="turtle")
props = defaultdict(list)
# First scan for domains