Skip to content

Commit

Permalink
Add new form for translationLanguage
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccrae committed Mar 11, 2024
1 parent d27075a commit f62a791
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
12 changes: 9 additions & 3 deletions dmlex-v1.0/specification/examples/examples/source/10.rdf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
ex:lexicon a dmlex:LexicographicResource;
dmlex:title "My Irish-Multilingual Dictionary";
dmlex:uri "http://example.com";
dmlex:translationLanguage "cs",
"en",
"de";
dmlex:translationLanguage [
dmlex:langCode "cs" ;
dmlex:listingOrder 1
] , [
dmlex:langCode "en" ;
dmlex:listingOrder 2
] , [
dmlex:langCode "de" ;
dmlex:listingOrder 3 ] ;
dmlex:langCode "ga".
</programlisting>
4 changes: 3 additions & 1 deletion dmlex-v1.0/specification/examples/examples/source/14.rdf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ ex:lexicon a dmlex:LexicographicResource;
dmlex:listingOrder "3"^^xsd:unsignedInt ];
dmlex:listingOrder "1"^^xsd:unsignedInt;
dmlex:description "words that mean sea and ocean" ];
dmlex:translationLanguage "en";
dmlex:translationLanguage [
dmlex:langCode "en" ;
dmlex:listingOrder 1 ] ;
dmlex:relationType [ a dmlex:RelationType;
dmlex:description "synonyms and near synonyms";
dmlex:memberType [ a dmlex:MemberType;
Expand Down
4 changes: 3 additions & 1 deletion dmlex-v1.0/specification/examples/examples/source/7.rdf.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<programlisting>
ex:lexicon a dmlex:LexicographicResource;
dmlex:uri "http://example.com";
dmlex:translationLanguage "en";
dmlex:translationLanguage [
dmlex:langCode "en" ;
dmlex:listingOrder 1 ] ;
dmlex:title "My German-English Dictionary";
dmlex:langCode "de".
</programlisting>

0 comments on commit f62a791

Please sign in to comment.