Skip to main content

Search Query

A generically dependent continuant representing an X v2 recent-tweet search query expression and its parameters, used as input to a SearchRecentTweets process.

ApplicationsClassAlso known asRecent Tweet Search Query
IRI
http://ontology.naas.ai/x/SearchQuery
Module
x Β· Applications

Hierarchy​

Position of Search Query in the class hierarchy: its ancestors and direct subclasses.

Properties​

Declared on this class​

Properties declared on Search Query
PropertyDomain β†’ RangeDetails
end timedatatypeDomain β†’ RangeSearch Query, Tweet Count Result Set to xsd:dateTime
expansionsdatatypeDomain β†’ RangeSearch Query to xsd:string
has search query roleobjectDomain β†’ RangeSearch Query to Search Query Role
is search query ofobjectDomain β†’ RangeSearch Query to Search Recent Tweets
max pagesdatatypeDomain β†’ RangeSearch Query to xsd:integer
max resultsdatatypeDomain β†’ RangeSearch Query to xsd:integer
media fieldsdatatypeDomain β†’ RangeSearch Query to xsd:string
place fieldsdatatypeDomain β†’ RangeSearch Query to xsd:string
poll fieldsdatatypeDomain β†’ RangeSearch Query to xsd:string
query stringdatatypeDomain β†’ RangeSearch Query, Tweet Count Result Set to xsd:string
since iddatatypeDomain β†’ RangeSearch Query to xsd:string
sort orderdatatypeDomain β†’ RangeSearch Query to xsd:string
start timedatatypeDomain β†’ RangeSearch Query, Tweet Count Result Set to xsd:dateTime
tweet fieldsdatatypeDomain β†’ RangeSearch Query to xsd:string
until iddatatypeDomain β†’ RangeSearch Query to xsd:string
user fieldsdatatypeDomain β†’ RangeSearch Query to xsd:string

Inherited properties​

From Generically dependent continuant (7)

Declared on generically dependent continuant.

Properties inherited from generically dependent continuant
PropertyDomain β†’ RangeDetails
has partDomain β†’ Rangegenerically dependent continuant to generically dependent continuant
is aboutDomain β†’ Rangegenerically dependent continuant to any
is created byDomain β†’ Rangegenerically dependent continuant to process
is deleted byDomain β†’ Rangegenerically dependent continuant to process
is part ofDomain β†’ Rangegenerically dependent continuant to generically dependent continuant
is sourced fromDomain β†’ Rangegenerically dependent continuant to Profile Document
is updated byDomain β†’ Rangegenerically dependent continuant to process
From Continuant (6)

Declared on continuant.

Properties inherited from continuant
PropertyDomain β†’ RangeDetails
continuant part ofDomain β†’ Rangecontinuant to continuant
has continuant partDomain β†’ Rangecontinuant to continuant
is affected byDomain β†’ Rangecontinuant to process
is input ofDomain β†’ Rangecontinuant to process
is object ofDomain β†’ Rangecontinuant to process
is output ofDomain β†’ Rangecontinuant to process
From Entity (15)

8 of 15 properties declared on entity, where all of them are listed.

Properties inherited from entity
PropertyDomain β†’ RangeDetails
condition described byDomain β†’ Rangeentity to Performance Specification
data propertyDomain β†’ Rangeentity to xsd:string
described byDomain β†’ Rangeentity to Descriptive Information Content Entity
designated byDomain β†’ Rangeentity to Designative Information Content Entity
exists atDomain β†’ Rangeentity to temporal region
has backing data sourceDomain β†’ Rangeentity to Data Source
has nebari classDomain β†’ Rangeentity to Nebari Class
is measured byDomain β†’ Rangeentity to Measurement Information Content Entity

Used as the range of​

Logical axioms​

Restrictions​

Every Search Query is a subclass of:

Examples​

  • query='(from:TwitterDev OR from:TwitterAPI) has:media -is:retweet', max_results=100, sort_order='recency'
Turtle
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:searchQuery1 a <http://ontology.naas.ai/x/SearchQuery> ; # Search Query
rdfs:label "Example Search Query" ;
<http://ontology.naas.ai/x/end_time> "2026-01-01T00:00:00Z"^^xsd:dateTime ; # end time
<http://ontology.naas.ai/x/expansions> "Example" . # expansions
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Instances of Search Query, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* <http://ontology.naas.ai/x/SearchQuery> .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100

Sibling classes​

And 42 more under generically dependent continuant.

Used in ABI​

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

In SPARQL queries​

  • XSparqlQueries (x): queried by find_recent_tweets_for_query, find_tweets_by_search_query and list_ingested_search_queries.