Skip to main content

Has url entity

Relates a tweet to a URL entity contained in its text, as exposed by the X v2 `entities.urls` field.

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

Hierarchyโ€‹

Domain and rangeโ€‹

Domain
Tweet
Range
Tweet URL

Examplesโ€‹

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

ex:tweet1 a <http://ontology.naas.ai/x/Tweet> . # Tweet
ex:tweetUrl1 a <http://ontology.naas.ai/x/TweetUrl> . # Tweet URL

ex:tweet1 <http://ontology.naas.ai/x/hasUrlEntity> ex:tweetUrl1 . # has url entity
SPARQL

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

Sibling propertiesโ€‹

And 24 more under is carrier of.