language tag
- CURIE:
gmeow:languageTag - IRI: https://blackcatinformatics.ca/gmeow/languageTag
- Category: property
- Defined by:
gmeow:slices/language - Box roles: RBox role (What is this?)
The internal private-use BCP-47 language tag (e.g., 'ja') used for @lang annotations on string literals representing this language.
Structure
Property shape: datatype property; gmeow:Language -> xsd:string; functional
Practical Pattern
Use gmeow:languageTag from gmeow:Language to xsd:string when the relationship itself belongs in the native GMEOW graph.
Example Snippets
These snippets are generated from canonical slice examples and trimmed to the Turtle blocks where this term appears.
Multilingual Document
- Source:
slices/core/language/examples/multilingual-document.ttl - Examples catalog: open in catalog#example-slices-core-language-examples-multilingual-document
# --- Languages: first-class, BCP-47-tagged. English already exists as the core
# seed gmeow:langEnglish — reused, not re-minted. Japanese has no seed, so it
# is minted, declaring its internal private-use tag for @lang annotations.
ex:japanese a gmeow:Language ;
rdfs:label "Japanese"@en ;
gmeow:bcp47Tag "ja" ;
gmeow:languageTag "ja" .
Common Companion Terms
Usage Advice
Use when
- Use to declare the private-use tag (private-use-language-tag) a seed
Languageindividual anchors — GMEOW's own internal literals carry this tag so no natural language is privileged (Principle 9), and the projection layer reconstructs standard BCP-47 from it on export (Principle 4).
Avoid when
- Avoid using it on data-tier languages that never tag GMEOW's own literals (use
gmeow:languageCodefor registry alignment) and avoid emitting the private-use tag to consumers that require standard BCP-47 — project it throughgmeow:bcp47Taginstead.
How to use
- Assign one private-use-language-tag string per anchoring
Languageindividual (functional: a single private-use tag); pair withgmeow:bcp47Tagso the projection layer can swap the internal tag for a standard one when serializing to external vocabularies.