Skip to main content

References tweet

Relates a tweet to another tweet it references (reply, quote or retweet), as exposed by the X v2 `referenced_tweets` field.

ApplicationsObject property
IRI
http://ontology.naas.ai/x/referencesTweet
Module
x ยท Applications

Hierarchyโ€‹

Domain and rangeโ€‹

Domain
Tweet
Range
Tweet

Examplesโ€‹

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

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

ex:tweet1 <http://ontology.naas.ai/x/referencesTweet> ex:tweet2 . # references tweet
SPARQL

# Pairs linked by "references tweet"
SELECT ?subject ?object WHERE {
?subject <http://ontology.naas.ai/x/referencesTweet> ?object .
}
LIMIT 100