Skip to main content

Tweet Language

A quality of a tweet representing the natural language detected for its text content, expressed as an IETF BCP 47 language tag.

ApplicationsClass
IRI
http://ontology.naas.ai/x/TweetLanguage
Parent class
quality
Module
x ยท Applications

Hierarchyโ€‹

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

Propertiesโ€‹

Declared on this classโ€‹

Properties declared on Tweet Language
PropertyDomain โ†’ RangeDetails
language codedatatypeDomain โ†’ RangeTweet Language to xsd:string

Inherited propertiesโ€‹

From Specifically dependent continuant (6)

Declared on specifically dependent continuant.

Properties inherited from specifically dependent continuant
PropertyDomain โ†’ RangeDetails
concretizesDomain โ†’ Rangespecifically dependent continuant to generically dependent continuant
inheres inDomain โ†’ Rangespecifically dependent continuant to independent continuant and not spatial region
inheres in aggregateDomain โ†’ Rangespecifically dependent continuant to object aggregate
participates inDomain โ†’ Rangespecifically dependent continuant to process
specifically depended on byDomain โ†’ Rangespecifically dependent continuant to specifically dependent continuant
specifically depends onDomain โ†’ Rangespecifically dependent continuant to specifically dependent continuant or independent continuant and not spatial region
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โ€‹

Logical axiomsโ€‹

Restrictionsโ€‹

Every Tweet Language is a subclass of:

Examplesโ€‹

  • en
  • es
  • fr
Turtle
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:tweetLanguage1 a <http://ontology.naas.ai/x/TweetLanguage> ; # Tweet Language
rdfs:label "Example Tweet Language" ;
<http://ontology.naas.ai/x/lang> "Example" . # language code
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Instances of Tweet Language, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* <http://ontology.naas.ai/x/TweetLanguage> .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100

Sibling classesโ€‹

Used in ABIโ€‹

Tweet Language is referenced in 1 file of jupyter-naas/abi (revision 56f86c1): 1 query file, across the x module.

In SPARQL queriesโ€‹

  • XSparqlQueries (x): queried by find_language_distribution and find_tweets_in_language.