Language
A Directive Information Content Entity that prescribes a canonical format for communication.
Hierarchyβ
Position of Language in the class hierarchy: its ancestors and direct subclasses.
- entity (BFO)
- continuant (BFO)
- generically dependent continuant (BFO)
- Information Content Entity (CCO)
- Prescriptive Information Content Entity (CCO)
- Language (CCO)
- Artificial Language (CCO)
- Natural Language (CCO)
- Language (CCO)
- Prescriptive Information Content Entity (CCO)
- Information Content Entity (CCO)
- generically dependent continuant (BFO)
- continuant (BFO)
Propertiesβ
Declared on this classβ
| Property | Domain β Range | Details |
|---|---|---|
| is language of capabilityobject | Domain β RangeLanguage to Language Capability | |
| ||
| language used inobject | Domain β RangeLanguage to Information Bearing Entity | |
| ||
Inherited propertiesβ
From Prescriptive Information Content Entity (1)
Declared on Prescriptive Information Content Entity.
| Property | Domain β Range | Details |
|---|---|---|
| prescribes | Domain β RangePrescriptive Information Content Entity to entity |
From Information Content Entity (2)
Declared on Information Content Entity.
| Property | Domain β Range | Details |
|---|---|---|
| is about | Domain β RangeInformation Content Entity to entity | |
| represents | Domain β RangeInformation Content Entity to entity |
From Generically dependent continuant (6)
Declared on generically dependent continuant.
| Property | Domain β Range | Details |
|---|---|---|
| asset url | Domain β Rangegenerically dependent continuant to xsd:string | |
| extracted at | Domain β Rangegenerically dependent continuant to xsd:dateTime | |
| generically depends on | Domain β Rangegenerically dependent continuant to independent continuant and not spatial region | |
| inheres in aggregate | Domain β Rangegenerically dependent continuant to object aggregate | |
| is concretized by | Domain β Rangegenerically dependent continuant to process or specifically dependent continuant | |
| participates in | Domain β Rangegenerically dependent continuant to process |
From Continuant (6)
Declared on continuant.
| Property | Domain β Range | Details |
|---|---|---|
| continuant part of | Domain β Rangecontinuant to continuant | |
| has continuant part | Domain β Rangecontinuant to continuant | |
| is affected by | Domain β Rangecontinuant to process | |
| is input of | Domain β Rangecontinuant to process | |
| is object of | Domain β Rangecontinuant to process | |
| is output of | Domain β Rangecontinuant to process |
From Entity (15)
8 of 15 properties declared on entity, where all of them are listed.
| Property | Domain β Range | Details |
|---|---|---|
| condition described by | Domain β Rangeentity to Performance Specification | |
| data property | Domain β Rangeentity to xsd:string | |
| described by | Domain β Rangeentity to Descriptive Information Content Entity | |
| designated by | Domain β Rangeentity to Designative Information Content Entity | |
| exists at | Domain β Rangeentity to temporal region | |
| has backing data source | Domain β Rangeentity to Data Source | |
| has nebari class | Domain β Rangeentity to Nebari Class | |
| is measured by | Domain β Rangeentity to Measurement Information Content Entity |
Used as the range ofβ
Examplesβ
@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
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
Relatedβ
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β
- PeopleOntology (
people): in the axioms of Language Capability; domain of Is language of capability; range of Of language.
In example dataβ
- people (
people): in the axioms of Language Capability; domain of Is language of capability; range of Of language. - personnel (
personnel): in the axioms of Language Capability; domain of Is language of capability; range of Of language.
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)