Skip to content

Commit

Permalink
Merge pull request #109 from michmech/master
Browse files Browse the repository at this point in the history
Implementing some decisions taken on 5 March 2024
  • Loading branch information
michmech authored Mar 28, 2024
2 parents c69ee5a + 01aca65 commit 132e978
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</listitem>
<listitem>
<para><literal>uri</literal>
<glossterm>required</glossterm> (zero or one). The URI of the lexicographic resource,
<glossterm>optional</glossterm> (zero or one). The URI of the lexicographic resource,
identifying it on the Web.</para>
</listitem>
<listitem>
Expand Down
3 changes: 3 additions & 0 deletions dmlex-v1.0/specification/examples/examples/16.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
- sense (id: colour-3)
- definition (text: a sign of a person's race)
- example (text: People of all creeds and colours.)
- sense (id: colour-4)
- definition (text: interest or excitement)
- example (text: Examples add colour to your writing.)
- relation (type: subsensing)
- member (rer: colour-1, role: super)
- member (ref: colour-2, role: sub)
Expand Down
5 changes: 5 additions & 0 deletions dmlex-v1.0/specification/examples/examples/source/16.json.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"definitions": [{"text": "a sign of a person's race"}],
"examples": [{"text":
"People of all creeds and colours."}]
}, {
"id": "colour-4",
"definitions": [{"text": "interest or excitement"}],
"examples": [{"text":
"Examples add colour to your writing."}]
}]
}],
"relations": [{
Expand Down
8 changes: 7 additions & 1 deletion dmlex-v1.0/specification/examples/examples/source/16.rdf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ex:lexicon a dmlex:LexicographicResource;
dmlex:type dmlex:sense;
dmlex:role "super" ] ].
ex:colour a dmlex:Entry;
dmlex:sense ex:colour-3, ex:colour-2, ex:colour-1;
dmlex:sense ex:colour-4, ex:colour-3, ex:colour-2, ex:colour-1;
dmlex:headword "colour".
ex:colour-1 a dmlex:Sense;
dmlex:definition [ dmlex:listingOrder "1"^^xsd:unsignedInt;
Expand All @@ -51,4 +51,10 @@ ex:colour-3 a dmlex:Sense;
dmlex:listingOrder "1"^^xsd:unsignedInt ];
dmlex:example [ dmlex:listingOrder "1"^^xsd:unsignedInt;
dmlex:text "People of all creeds and colours." ].
ex:colour-4 a dmlex:Sense;
dmlex:listingOrder "4"^^xsd:unsignedInt;
dmlex:definition [ dmlex:text "interest or excitement";
dmlex:listingOrder "1"^^xsd:unsignedInt ];
dmlex:example [ dmlex:listingOrder "1"^^xsd:unsignedInt;
dmlex:text "Examples add colour to your writing." ].
</programlisting>
6 changes: 6 additions & 0 deletions dmlex-v1.0/specification/examples/examples/source/16.xml.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
&lt;text&gt;People of all creeds and colours.&lt;/text&gt;
&lt;/example&gt;
&lt;/sense&gt;
&lt;sense id="colour-4"&gt;
&lt;definition&gt;interest or excitement&lt;/definition&gt;
&lt;example&gt;
&lt;text&gt;Examples add colour to your writing.&lt;/text&gt;
&lt;/example&gt;
&lt;/sense&gt;
&lt;/entry&gt;
&lt;relation type="subsensing"&gt;
&lt;member ref="colour-1" role="super"/&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</listitem>
<listitem>
<para><literal>"uri"</literal>
<glossterm>required</glossterm>, string</para>
<glossterm>optional</glossterm>, string</para>
</listitem>
<listitem>
<para><literal>"langCode"</literal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<para><literal>@title</literal> <glossterm>optional</glossterm></para>
</listitem>
<listitem>
<para><literal>@uri</literal> <glossterm>required</glossterm></para>
<para><literal>@uri</literal> <glossterm>optional</glossterm></para>
</listitem>
<listitem>
<para><literal>@langCode</literal> <glossterm>required</glossterm></para>
Expand Down

0 comments on commit 132e978

Please sign in to comment.