Skip to main content

Url

A URL associated with the subject. On a Tweet URL entity, the shortened t.co URL as it appears in the tweet text (`entities.urls[].url` in the X v2 API). On a Tweet, the canonical permalink to the tweet, reconstructed as `https://x.com/<author_id>/status/<id>` since the X v2 API does not return it directly.

ApplicationsDatatype property
IRI
http://ontology.naas.ai/x/url
Module
x · Applications

Domain and range​

Domain
Tweet, Tweet URL
Range
xsd:string

Examples​

  • https://t.co/EzUWbYROqa
  • https://x.com/1752407607820607488/status/2061859064825446876
Turtle
@prefix ex: <https://example.org/> .

ex:subject1 <http://ontology.naas.ai/x/url> "Example" . # url
SPARQL

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

Used in ABI​

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

In SPARQL queries​