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
Hierarchyβ
Position of Search Query in the class hierarchy: its ancestors and direct subclasses.
- entity (BFO)
- continuant (BFO)
- generically dependent continuant (ABI)
- Search Query (App)
- generically dependent continuant (ABI)
- continuant (BFO)
Propertiesβ
Declared on this classβ
| Property | Domain β Range | Details |
|---|---|---|
| end timedatatype | Domain β RangeSearch Query, Tweet Count Result Set to xsd:dateTime | |
| ||
| expansionsdatatype | Domain β RangeSearch Query to xsd:string | |
| ||
| has search query roleobject | Domain β RangeSearch Query to Search Query Role | |
| ||
| is search query ofobject | Domain β RangeSearch Query to Search Recent Tweets | |
| ||
| max pagesdatatype | Domain β RangeSearch Query to xsd:integer | |
| ||
| max resultsdatatype | Domain β RangeSearch Query to xsd:integer | |
| ||
| media fieldsdatatype | Domain β RangeSearch Query to xsd:string | |
| ||
| place fieldsdatatype | Domain β RangeSearch Query to xsd:string | |
| ||
| poll fieldsdatatype | Domain β RangeSearch Query to xsd:string | |
| ||
| query stringdatatype | Domain β RangeSearch Query, Tweet Count Result Set to xsd:string | |
| ||
| since iddatatype | Domain β RangeSearch Query to xsd:string | |
| ||
| sort orderdatatype | Domain β RangeSearch Query to xsd:string | |
| ||
| start timedatatype | Domain β RangeSearch Query, Tweet Count Result Set to xsd:dateTime | |
| ||
| tweet fieldsdatatype | Domain β RangeSearch Query to xsd:string | |
| ||
| until iddatatype | Domain β RangeSearch Query to xsd:string | |
| ||
| user fieldsdatatype | Domain β RangeSearch Query to xsd:string | |
| ||
Inherited propertiesβ
From Generically dependent continuant (7)
Declared on generically dependent continuant.
| Property | Domain β Range | Details |
|---|---|---|
| has part | Domain β Rangegenerically dependent continuant to generically dependent continuant | |
| is about | Domain β Rangegenerically dependent continuant to any | |
| is created by | Domain β Rangegenerically dependent continuant to process | |
| is deleted by | Domain β Rangegenerically dependent continuant to process | |
| is part of | Domain β Rangegenerically dependent continuant to generically dependent continuant | |
| is sourced from | Domain β Rangegenerically dependent continuant to Profile Document | |
| is updated by | Domain β Rangegenerically dependent continuant to process |
From Continuant (6)
Declared on continuant.
| Property | Domain β Range | Details |
|---|---|---|
| continuant part of | Domain β Rangecontinuant to continuant | |
| has continuant part | Domain β Rangecontinuant to continuant | |
| is affected by | Domain β Rangecontinuant to process | |
| is input of | Domain β Rangecontinuant to process | |
| is object of | Domain β Rangecontinuant to process | |
| is output of | Domain β Rangecontinuant to process |
From Entity (15)
8 of 15 properties declared on entity, where all of them are listed.
| Property | Domain β Range | Details |
|---|---|---|
| condition described by | Domain β Rangeentity to Performance Specification | |
| data property | Domain β Rangeentity to xsd:string | |
| described by | Domain β Rangeentity to Descriptive Information Content Entity | |
| designated by | Domain β Rangeentity to Designative Information Content Entity | |
| exists at | Domain β Rangeentity to temporal region | |
| has backing data source | Domain β Rangeentity to Data Source | |
| has nebari class | Domain β Rangeentity to Nebari Class | |
| is measured by | Domain β 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
Relatedβ
Sibling classesβ
- Academic Degree
- Agent
- Agent Intent
- Agent Tool
- AI Model
- Artifact Category
- Authentication Status
- Certification
- Configuration Setting
- Context Annotation
- Conversation
- Document Content Entity
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 byfind_recent_tweets_for_query,find_tweets_by_search_queryandlist_ingested_search_queries.