Skip to main content

Language

A Directive Information Content Entity that prescribes a canonical format for communication.

CCOClass
IRI
https://www.commoncoreontologies.org/ont00001175
Module
InformationEntityOntology Β· CCO

Hierarchy​

Position of Language in the class hierarchy: its ancestors and direct subclasses.

Properties​

Declared on this class​

Properties declared on Language
PropertyDomain β†’ RangeDetails
is language of capabilityobjectDomain β†’ RangeLanguage to Language Capability
language used inobjectDomain β†’ RangeLanguage to Information Bearing Entity

Inherited properties​

From Prescriptive Information Content Entity (1)

Declared on Prescriptive Information Content Entity.

Properties inherited from Prescriptive Information Content Entity
PropertyDomain β†’ RangeDetails
prescribesDomain β†’ RangePrescriptive Information Content Entity to entity
From Information Content Entity (2)

Declared on Information Content Entity.

Properties inherited from Information Content Entity
PropertyDomain β†’ RangeDetails
is aboutDomain β†’ RangeInformation Content Entity to entity
representsDomain β†’ RangeInformation Content Entity to entity
From Generically dependent continuant (6)

Declared on generically dependent continuant.

Properties inherited from generically dependent continuant
PropertyDomain β†’ RangeDetails
asset urlDomain β†’ Rangegenerically dependent continuant to xsd:string
extracted atDomain β†’ Rangegenerically dependent continuant to xsd:dateTime
generically depends onDomain β†’ Rangegenerically dependent continuant to independent continuant and not spatial region
inheres in aggregateDomain β†’ Rangegenerically dependent continuant to object aggregate
is concretized byDomain β†’ Rangegenerically dependent continuant to process or specifically dependent continuant
participates inDomain β†’ Rangegenerically dependent continuant to process
From Continuant (6)

Declared on continuant.

Properties inherited from continuant
PropertyDomain β†’ RangeDetails
continuant part ofDomain β†’ Rangecontinuant to continuant
has continuant partDomain β†’ Rangecontinuant to continuant
is affected byDomain β†’ Rangecontinuant to process
is input ofDomain β†’ Rangecontinuant to process
is object ofDomain β†’ Rangecontinuant to process
is output ofDomain β†’ Rangecontinuant to process
From Entity (15)

8 of 15 properties declared on entity, where all of them are listed.

Properties inherited from entity
PropertyDomain β†’ RangeDetails
condition described byDomain β†’ Rangeentity to Performance Specification
data propertyDomain β†’ Rangeentity to xsd:string
described byDomain β†’ Rangeentity to Descriptive Information Content Entity
designated byDomain β†’ Rangeentity to Designative Information Content Entity
exists atDomain β†’ Rangeentity to temporal region
has backing data sourceDomain β†’ Rangeentity to Data Source
has nebari classDomain β†’ Rangeentity to Nebari Class
is measured byDomain β†’ Rangeentity to Measurement Information Content Entity

Used as the range of​

Examples​

Turtle
@prefix cco: <https://www.commoncoreontologies.org/> .
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:language1 a cco:ont00001175 ; # Language
rdfs:label "Example Language" ;
abi:isLanguageOfCapability ex:languageCapability1 ; # is language of capability
cco:ont00001899 ex:informationBearingEntity1 . # language used in

ex:languageCapability1 a abi:LanguageCapability . # Language Capability
ex:informationBearingEntity1 a cco:ont00000253 . # Information Bearing Entity
SPARQL
PREFIX cco: <https://www.commoncoreontologies.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Instances of Language, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* cco:ont00001175 .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100

Sibling classes​

Used in ABI​

Language is referenced in 3 files of jupyter-naas/abi (revision 56f86c1): 1 ontology module and 2 example datasets, across the people and personnel modules.

In ontology modules​

In example data​

Modeling guide​

In CCO a Language is information that prescribes a canonical format for communication: English, French, Python, SPARQL. It is shared content, not something a person has. abi's people module keeps the two apart: what a person has is a Language Capability, a quality that inheres in them, and the capability points to the CCO language with of language. Acts of working, studying or certification develop language capabilities (develops language capability).

When to use it​

  • One individual per language, shared by every person, document and capability that refers to it.
  • Use Natural Language for human languages and Artificial Language for programming or formal languages.
  • A document's language: uses language from the document's carrier.

Turtle example​

@prefix cco: <https://www.commoncoreontologies.org/> .
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

# Alice speaks French: a capability she bears, about a shared language.
ex:alice a abi:Person ;
rdfs:label "Alice" ;
abi:hasLanguageCapability ex:aliceFrench .
ex:aliceFrench a abi:LanguageCapability ;
rdfs:label "Alice's French (native)" ;
abi:ofLanguage ex:french .
ex:french a cco:ont00000496 ; # Natural Language
rdfs:label "French" .

SPARQL example​

PREFIX abi: <http://ontology.naas.ai/abi/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Number of people per language
SELECT ?languageLabel (COUNT(DISTINCT ?person) AS ?speakers) WHERE {
?person abi:hasLanguageCapability ?capability .
?capability abi:ofLanguage ?language .
?language rdfs:label ?languageLabel .
}
GROUP BY ?languageLabel
ORDER BY DESC(?speakers)