Country code
x country code y =Def x is a country & y is the ISO 3166-1 alpha-2 code of x
ABIDatatype property
Domain and range​
- Domain
- country
- Range
- xsd:string
Examples​
- US; FR; JP
Turtle
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix ex: <https://example.org/> .
ex:country1 a abi:Country . # country
ex:country1 abi:country_code "Example" . # country code
SPARQL
PREFIX abi: <http://ontology.naas.ai/abi/>
# Pairs linked by "country code"
SELECT ?subject ?object WHERE {
?subject abi:country_code ?object .
}
LIMIT 100