Skip to main content

Has attached media

Relates a tweet to a media artifact (photo, video, animated gif) attached to it, resolved through the X v2 `attachments.media_keys` expansion.

ApplicationsObject property
IRI
http://ontology.naas.ai/x/hasAttachedMedia
Parent property
is carrier of
Module
x ยท Applications

Hierarchyโ€‹

Domain and rangeโ€‹

Domain
Tweet
Range
Media

Examplesโ€‹

Turtle
@prefix ex: <https://example.org/> .

ex:tweet1 a <http://ontology.naas.ai/x/Tweet> . # Tweet
ex:media1 a <http://ontology.naas.ai/x/Media> . # Media

ex:tweet1 <http://ontology.naas.ai/x/hasAttachedMedia> ex:media1 . # has attached media
SPARQL

# Pairs linked by "has attached media"
SELECT ?subject ?object WHERE {
?subject <http://ontology.naas.ai/x/hasAttachedMedia> ?object .
}
LIMIT 100

Sibling propertiesโ€‹

And 24 more under is carrier of.