Skip to main content

Tweet Count Result Set

A generically dependent continuant representing the time-bucketed counts returned by a CountRecentTweets process for a given query, granularity and time window, persisted as a JSON envelope in the local datastore. It carries the summed total_tweet_count and one TweetCountBucket per time bucket.

ApplicationsClassAlso known asRecent Tweet Count Result
IRI
http://ontology.naas.ai/x/TweetCountResultSet
Module
x Β· Applications

Hierarchy​

Position of Tweet Count Result Set in the class hierarchy: its ancestors and direct subclasses.

Properties​

Declared on this class​

Properties declared on Tweet Count Result Set
PropertyDomain β†’ RangeDetails
contains count bucketobjectDomain β†’ RangeTweet Count Result Set to Tweet Count Bucket
end timedatatypeDomain β†’ RangeSearch Query, Tweet Count Result Set to xsd:dateTime
file pathdatatypeDomain β†’ RangeSearch Result Set, Tweet Count Result Set to xsd:string
granularitydatatypeDomain β†’ RangeTweet Count Result Set to xsd:string
is count result produced byobjectDomain β†’ RangeTweet Count Result Set to process
query stringdatatypeDomain β†’ RangeSearch Query, Tweet Count Result Set to xsd:string
start timedatatypeDomain β†’ RangeSearch Query, Tweet Count Result Set to xsd:dateTime
total tweet countdatatypeDomain β†’ RangeTweet Count Result Set to xsd:integer

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 Tweet Count Result Set is a subclass of:

Examples​

  • Count result set for query '(openai OR anthropic) lang:en -is:retweet' at hourly granularity over 2026-07-01β†’2026-07-08, totalling 12040 tweets across 168 hourly buckets.
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:tweetCountResultSet1 a <http://ontology.naas.ai/x/TweetCountResultSet> ; # Tweet Count Result Set
rdfs:label "Example Tweet Count Result Set" ;
<http://ontology.naas.ai/x/containsCountBucket> ex:tweetCountBucket1 ; # contains count bucket
<http://ontology.naas.ai/x/end_time> "2026-01-01T00:00:00Z"^^xsd:dateTime . # end time

ex:tweetCountBucket1 a <http://ontology.naas.ai/x/TweetCountBucket> . # Tweet Count Bucket
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

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

Sibling classes​

And 42 more under generically dependent continuant.

Used in ABI​

Tweet Count Result Set 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_post_count_timeseries, find_recent_post_count and list_followed_count_queries.