Skip to main content

In reply to user

Relates a reply tweet to the X user account whose tweet it replies to, as exposed by the X v2 `in_reply_to_user_id` field.

ApplicationsObject property
IRI
http://ontology.naas.ai/x/inReplyToUser
Module
x · Applications

Domain and range​

Domain
Tweet
Range
X User

Examples​

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

ex:tweet1 a <http://ontology.naas.ai/x/Tweet> . # Tweet
ex:xUser1 a <http://ontology.naas.ai/x/XUser> . # X User

ex:tweet1 <http://ontology.naas.ai/x/inReplyToUser> ex:xUser1 . # in reply to user
SPARQL

# Pairs linked by "in reply to user"
SELECT ?subject ?object WHERE {
?subject <http://ontology.naas.ai/x/inReplyToUser> ?object .
}
LIMIT 100