Skip to main content

Count Recent Tweets

A process by which the X v2 GET /2/tweets/counts/recent endpoint is queried to retrieve the time-bucketed number of tweets posted in the last seven days that match a given query, at minute, hour or day granularity. Unlike SearchRecentTweets it returns only counts (no tweet content) and so does not consume the tweet-retrieval budget; it produces a TweetCountResultSet carrying one TweetCountBucket per time bucket.

ApplicationsClassAlso known asRecent Tweet Count
IRI
http://ontology.naas.ai/x/CountRecentTweets
Parent class
process
Module
x ยท Applications

Hierarchyโ€‹

Position of Count Recent Tweets in the class hierarchy: its ancestors and direct subclasses.

Propertiesโ€‹

Inherited propertiesโ€‹

From Process (13)

8 of 13 properties declared on process, where all of them are listed.

Properties inherited from process
PropertyDomain โ†’ RangeDetails
created atDomain โ†’ Rangeprocess to temporal instant
created byDomain โ†’ Rangeprocess to any
created forDomain โ†’ Rangeprocess to Person
createsDomain โ†’ Rangeprocess to generically dependent continuant
deletesDomain โ†’ Rangeprocess to generically dependent continuant
has search intervalDomain โ†’ Rangeprocess to Search Interval
is preceded byDomain โ†’ Rangeprocess to process
occurs inDomain โ†’ Rangeprocess to User Site
From Occurrent (8)

Declared on occurrent.

Properties inherited from occurrent
PropertyDomain โ†’ RangeDetails
caused byDomain โ†’ Rangeoccurrent to occurrent
has occurrent partDomain โ†’ Rangeoccurrent to occurrent
has temporal partDomain โ†’ Rangeoccurrent to occurrent
is cause ofDomain โ†’ Rangeoccurrent to occurrent
occurrent part ofDomain โ†’ Rangeoccurrent to occurrent
preceded byDomain โ†’ Rangeoccurrent to occurrent
precedesDomain โ†’ Rangeoccurrent to occurrent
temporal part ofDomain โ†’ Rangeoccurrent to occurrent
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

Logical axiomsโ€‹

Restrictionsโ€‹

Every Count Recent Tweets is a subclass of:

Examplesโ€‹

  • An hourly count for query '(openai OR anthropic) lang:en -is:retweet' executed on 2026-07-08 producing a result set of 168 hourly buckets.
Turtle
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:countRecentTweets1 a <http://ontology.naas.ai/x/CountRecentTweets> ; # Count Recent Tweets
rdfs:label "Example Count Recent Tweets" .
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

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

Sibling classesโ€‹