Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/extend romanization rules #398

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion source/i18n/rules.ttl
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
prefix : <https://id.kb.se/vocab/>
base <https://id.kb.se/>

</i18n/rule/m0> a :TermCollection ;
:code "m0";
:label "Standardiserade språktransformationsregler enligt BCP47"@sv .

</i18n/rule/x0> a :TermCollection ;
:code "x0";
:label "Libris-specifika språktransformationsregler"@sv .

</i18n/rule/x0/lessing> a :LanguageTransformRules ;
:label "Translitterering enligt Ferdinand Lessings schema"@sv ;
:code "lessing" ;
Expand All @@ -11,11 +19,26 @@ base <https://id.kb.se/>
:code "skr-1980" ;
:inCollection </i18n/rule/x0> .

</i18n/rule/m0/iso> a :LanguageTransformRules ;
:code "iso" ;
:label "Translitterering enligt ISO-standard"@sv ;
:inCollection </i18n/rule/m0> .

</i18n/rule/m0/iso-1995> a :LanguageTransformRules ;
:label "Translitterering enligt ISO 9:1995"@sv ;
:code "iso-1995" ;
:label "Translitterering enligt ISO-standard från 1995"@sv ;
:broader </i18n/rule/m0/iso> ;
:inCollection </i18n/rule/m0> .

</i18n/rule/iso-1995/Cyrl-t-Latn> a :LanguageTransformRules ;
:broader </i18n/rule/m0/iso-1995> ;
:label "Translitterering av kyrillisk till latinsk skrift enligt ISO 9:1995"@sv ;
:specifiesLanguageForm [ a :TransformedLanguageForm ;
:inLangScript </i18n/script/Latn> ;
:fromLangScript </i18n/script/Cyrl> ] ;
:seeAlso <https://sv.wikipedia.org/wiki/ISO_9> ,
<https://metadatabyran.kb.se/download/18.6945cdaa174b74a2c3615fe/1601917435290/Kyrilliska%20alfabetet.pdf> .

</i18n/rule/x0/btj> a :LanguageTransformRules ;
:label "Transkribering enligt Btj:s praxis för folkbiblioteken"@sv ;
:code "btj" ;
Expand Down
14 changes: 7 additions & 7 deletions source/i18n/tlangs.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -28,49 +28,49 @@ base <https://id.kb.se/>
:inLanguage </language/bel> ;
:inLangScript </i18n/script/Latn> ;
:fromLangScript </i18n/script/Cyrl> ;
:langTransformAccordingTo </i18n/rule/m0/iso-1995> .
:langTransformAccordingTo </i18n/rule/iso-1995/Cyrl-t-Latn> .

</i18n/lang/bg-Latn-t-bg-Cyrl-m0-iso-1995> a :TransformedLanguageForm ;
:code "bg-Latn-t-bg-Cyrl-m0-iso-1995"^^:BCP47 ;
:inLanguage </language/bul> ;
:inLangScript </i18n/script/Latn> ;
:fromLangScript </i18n/script/Cyrl> ;
:langTransformAccordingTo </i18n/rule/m0/iso-1995> .
:langTransformAccordingTo </i18n/rule/iso-1995/Cyrl-t-Latn> .

</i18n/lang/kk-Latn-t-kk-Cyrl-m0-iso-1995> a :TransformedLanguageForm ;
:code "kk-Latn-t-kk-Cyrl-m0-iso-1995"^^:BCP47 ;
:inLanguage </language/kaz> ;
:inLangScript </i18n/script/Latn> ;
:fromLangScript </i18n/script/Cyrl> ;
:langTransformAccordingTo </i18n/rule/m0/iso-1995> .
:langTransformAccordingTo </i18n/rule/iso-1995/Cyrl-t-Latn> .

</i18n/lang/mk-Latn-t-mk-Cyrl-m0-iso-1995> a :TransformedLanguageForm ;
:code "mk-Latn-t-mk-Cyrl-m0-iso-1995"^^:BCP47 ;
:inLanguage </language/mac> ;
:inLangScript </i18n/script/Latn> ;
:fromLangScript </i18n/script/Cyrl> ;
:langTransformAccordingTo </i18n/rule/m0/iso-1995> .
:langTransformAccordingTo </i18n/rule/iso-1995/Cyrl-t-Latn> .

</i18n/lang/ru-Latn-t-ru-Cyrl-m0-iso-1995> a :TransformedLanguageForm ;
:code "ru-Latn-t-ru-Cyrl-m0-iso-1995"^^:BCP47 ;
:inLanguage </language/rus> ;
:inLangScript </i18n/script/Latn> ;
:fromLangScript </i18n/script/Cyrl> ;
:langTransformAccordingTo </i18n/rule/m0/iso-1995> .
:langTransformAccordingTo </i18n/rule/iso-1995/Cyrl-t-Latn> .

</i18n/lang/sr-Latn-t-sr-Cyrl-m0-iso-1995> a :TransformedLanguageForm ;
:code "sr-Latn-t-sr-Cyrl-m0-iso-1995"^^:BCP47 ;
:inLanguage </language/srp> ;
:inLangScript </i18n/script/Latn> ;
:fromLangScript </i18n/script/Cyrl> ;
:langTransformAccordingTo </i18n/rule/m0/iso-1995> .
:langTransformAccordingTo </i18n/rule/iso-1995/Cyrl-t-Latn> .

</i18n/lang/uk-Latn-t-uk-Cyrl-m0-iso-1995> a :TransformedLanguageForm ;
:code "uk-Latn-t-uk-Cyrl-m0-iso-1995"^^:BCP47 ;
:inLanguage </language/ukr> ;
:inLangScript </i18n/script/Latn> ;
:fromLangScript </i18n/script/Cyrl> ;
:langTransformAccordingTo </i18n/rule/m0/iso-1995> .
:langTransformAccordingTo </i18n/rule/iso-1995/Cyrl-t-Latn> .

</i18n/lang/hi-Latn-t-hi-Deva-m0-alaloc> a :TransformedLanguageForm ;
:code "hi-Latn-t-hi-Deva-m0-alaloc"^^:BCP47 ;
Expand Down
5 changes: 5 additions & 0 deletions source/vocab/concepts.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@
rdfs:label "Språktransformationsregler"@sv, "Language transform rules"@en;
rdfs:subClassOf :ConceptScheme .

:specifiesLanguageForm a owl:ObjectProperty ;
rdfs:label "specificerar språkform"@sv, "specifies language form"@en;
rdfs:domain :LanguageTransformRules ;
rdfs:range :TransformedLanguageForm .

:Nationality a owl:Class ;
rdfs:label "Nationality"@en, "Nationalitet"@sv .

Expand Down