Skip to content

Commit e17dd56

Browse files
committed
Change DefinitionType to DefinitionTypeTag
Fixes #145
1 parent 8bdea24 commit e17dd56

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

dmlex-v1.0/specification/schemas/RDF/dmlex-core.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ dmlex:Definition a owl:Class ;
247247
dmlex:definitionType a owl:ObjectProperty ;
248248
rdfs:label "Definition Type"@en ;
249249
rdfs:domain dmlex:Definition ;
250-
rdfs:range dmlex:DefinitionType .
250+
rdfs:range dmlex:DefinitionTypeTag .
251251

252252
dmlex:Label a owl:Class ;
253253
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 ;

dmlex-v1.0/specification/schemas/RDF/dmlex.shacl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
sh:path dmlex:definitionType ;
177177
sh:minCount 0 ;
178178
sh:maxCount 1 ;
179-
sh:class dmlex:DefinitionType ] ;
179+
sh:class dmlex:DefinitionTypeTag ] ;
180180
sh:property [
181181
sh:path dmlex:headwordMarker ;
182182
sh:class dmlex:HeadwordMarker ] ;

dmlex-v1.0/specification/schemas/RDF/dmlex.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ dmlex:Definition a owl:Class ;
247247
dmlex:definitionType a owl:ObjectProperty ;
248248
rdfs:label "Definition Type"@en ;
249249
rdfs:domain dmlex:Definition ;
250-
rdfs:range dmlex:DefinitionType .
250+
rdfs:range dmlex:DefinitionTypeTag .
251251

252252
dmlex:Label a owl:Class ;
253253
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 ;

dmlex-v1.0/specification/serializations/RDF/elements/Definition.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<para><literal>dmlex:text</literal> REQUIRED (exactly 1) of type <literal>http://www.w3.org/2000/01/rdf-schema#Literal</literal></para>
2121
</listitem>
2222
<listitem>
23-
<para><literal>dmlex:definitionType</literal> OPTIONAL (at most 1) reference to <olink targetptr="rdf_DefinitionType">DefinitionType</olink></para>
23+
<para><literal>dmlex:definitionType</literal> OPTIONAL (at most 1) reference to <olink targetptr="rdf_DefinitionTypeTag">DefinitionTypeTag</olink></para>
2424
</listitem>
2525
<listitem>
2626
<para><literal>dmlex:headwordMarker</literal> OPTIONAL reference to <olink targetptr="rdf_HeadwordMarker">HeadwordMarker</olink></para>
@@ -31,4 +31,4 @@
3131
</itemizedlist>
3232

3333

34-
</section>
34+
</section>

dmlex-v1.0/specification/serializations/RDF/gen_docbook_from_rdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def describe_property(g, property, file, restrictions):
2626

2727
def parse_rdf():
2828
g = rdflib.Graph()
29-
g.parse("ontology/dmlex.ttl", format="turtle")
29+
g.parse("../../schemas/RDF/dmlex.ttl", format="turtle")
3030

3131
props = defaultdict(list)
3232
# First scan for domains

0 commit comments

Comments
 (0)