Skip to main content

Media

A generically dependent continuant representing a media artifact (photo, video or animated gif) attached to a tweet, identified by a media key and resolved through the X v2 `attachments.media_keys` expansion.

ApplicationsClassAlso known asTweet Media
IRI
http://ontology.naas.ai/x/Media
Module
x Β· Applications

Hierarchy​

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

Properties​

Declared on this class​

Properties declared on Media
PropertyDomain β†’ RangeDetails
duration msdatatypeDomain β†’ RangeMedia to xsd:integer
is attached media ofobjectDomain β†’ RangeMedia to Tweet
media heightdatatypeDomain β†’ RangeMedia to xsd:integer
media keydatatypeDomain β†’ RangeMedia to xsd:string
media typedatatypeDomain β†’ RangeMedia to xsd:string
media urldatatypeDomain β†’ RangeMedia to xsd:string
media widthdatatypeDomain β†’ RangeMedia to xsd:integer
preview image urldatatypeDomain β†’ RangeMedia to xsd:string

Inherited properties​

From Generically dependent continuant (7)

Declared on generically dependent continuant.

Properties inherited from generically dependent continuant
PropertyDomain β†’ RangeDetails
has partDomain β†’ Rangegenerically dependent continuant to generically dependent continuant
is aboutDomain β†’ Rangegenerically dependent continuant to any
is created byDomain β†’ Rangegenerically dependent continuant to process
is deleted byDomain β†’ Rangegenerically dependent continuant to process
is part ofDomain β†’ Rangegenerically dependent continuant to generically dependent continuant
is sourced fromDomain β†’ Rangegenerically dependent continuant to Profile Document
is updated byDomain β†’ 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​

Logical axioms​

Restrictions​

Every Media is a subclass of:

Examples​

  • media_key 13_2063731151118766080, a 1920x1080 video of 69149 ms
Turtle
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:media1 a <http://ontology.naas.ai/x/Media> ; # Media
rdfs:label "Example Media" ;
<http://ontology.naas.ai/x/duration_ms> 1 ; # duration ms
<http://ontology.naas.ai/x/isAttachedMediaOf> ex:tweet1 . # is attached media of

ex:tweet1 a <http://ontology.naas.ai/x/Tweet> . # Tweet
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

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

Sibling classes​

And 42 more under generically dependent continuant.

Used in ABI​

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

In processes​