Skip to main content

Protected

Whether the X user account's tweets are protected (private); corresponds to the `protected` field of the X v2 User object.

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

Domain and range​

Domain
X User
Range
xsd:boolean

Examples​

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

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

ex:xUser1 <http://ontology.naas.ai/x/protected> true . # protected
SPARQL

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