country code
- CURIE:
gmeow:countryCode - IRI: https://blackcatinformatics.ca/gmeow/countryCode
- Category: property
- Defined by:
gmeow:slices/contacts - Box roles: RBox role (What is this?)
The country code coordinate value of a postal address, expressed along the gmeow:axisCountryCode axis of the postal reference frame. The intended value is an ISO 3166-1 alpha-2 code (e.g. "CA"), but this is a convention, not an enforced datatype facet. Non-functional: sources vary ("CA" / "Canada" / "CAN").
Structure
Property shape: datatype property; gmeow:PostalAddress -> rdfs:Literal
Practical Pattern
Use gmeow:countryCode from gmeow:PostalAddress to rdfs:Literal 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.
Contact Points
- Source:
slices/core/contacts/examples/contact-points.ttl - Examples catalog: open in catalog#example-slices-core-contacts-examples-contact-points
# --- Reified postal address: components are coordinates in the postal frame (P11).
ex:homeAddress a gmeow:PostalAddress ;
gmeow:contactPointType gmeow:contactPointTypePersonal ;
gmeow:postalAddressFrame gmeow:referenceFramePostalAddress ;
gmeow:streetAddress "742 Evergreen Terrace" ;
gmeow:addressLocality "Springfield" ;
gmeow:addressRegion "Oregon" ;
gmeow:postalCode "97403" ;
gmeow:countryCode "US" .
Common Companion Terms
Projects To
| Profile | External Targets |
|---|---|
schema-org |
rdf, schema |
vcard |
rdf, vcard |
External Equivalences
Equivalent or closely aligned targets: schema, vcard
Linkages
Generated from the canonical mapping DSL. SSSOM files are the generated public interchange form for term equivalences.
Term Equivalences
| Source | Kind | Profile | Predicate/Relation | Target | Evidence |
|---|---|---|---|---|---|
gmeow:countryCode |
equivalence | - |
skos:closeMatch | schema:addressCountry | gmeow-places.sssom.tsv; gmeow:eqPlaces039; confidence 0.8 |
gmeow:countryCode |
equivalence | - |
skos:closeMatch | vcard:country-name | gmeow-places.sssom.tsv; gmeow:eqPlaces040; confidence 0.7 |
Projection Coverage
| Source | Kind | Profile | Predicate/Relation | Target | Evidence |
|---|---|---|---|---|---|
gmeow:countryCode |
projection | schema-org |
projects to / <= | rdf:type, schema:PostalAddress, schema:address, schema:addressCountry, schema:addressLocality, schema:addressRegion, schema:postalCode, schema:streetAddress | gmeow:mapSchemaAddress; lossy: the postal reference frame (axes, topological kind, metric) is dropped; only the flat schema:PostalAddress component values survive |
gmeow:countryCode |
projection | vcard |
projects to / = | rdf:type, vcard:Address, vcard:country-name, vcard:hasAddress, vcard:label, vcard:locality, vcard:postal-code, vcard:region, vcard:street-address | gmeow:mapVcardAddress; lossy: the postal reference frame (axes, topological kind, metric) is dropped; only the flat vcard:Address component values and composed label survive; transform gmeow:fnComposeAddress |
Usage Advice
Use when
- Use for the country line of an address — the coarsest component, low-sensitivity and safe to project broadly.
Avoid when
- Avoid enforcing the ISO 3166-1 alpha-2 convention as a hard facet (it is advisory, non-functional, and source variants coexist) and avoid using it for the resolved country place (reached via
gmeow:addressPlace).
How to use
- Carry the country as written, preferring the ISO alpha-2 code where known; it is coarse enough that public projections normally retain it unconditionally.
Examples
- ex:home
gmeow:countryCode"CA".
Published Alignment Graph
Alignments
| Relation | Target |
|---|---|
closeMatch | schema:addressCountry |
closeMatch | vcard:country-name |