This invention discloses a method for constructing, querying, and maintaining a time-bucket-based dual-temporal
RDF block
list index, belonging to the field of
semantic web temporal
data management technology. The invention first performs dictionary encoding,
timestamp standardization conversion, and differential encoding compression on the dual-temporal
RDF quintuples; then, it dynamically determines the time bucket
granularity through a sliding window to achieve balanced partitioning of temporal data and eliminate empty buckets; it constructs a two-layer auxiliary index of existing bitmaps and changing bitmaps to achieve fast query
pruning and block acceleration; based on the
bitmap, it constructs a three-layer temporal block
list core index adapted to SPO / POS / OSP
modes; it uses a localization strategy to complete index addition, deletion, modification, and maintenance, and during queries, it achieves precise retrieval through time bucket
pruning,
bitmap filtering, and block
list. This invention supports queries in all scenarios including no temporality, single temporality, and dual temporality, with dual-temporal path query time consistently below 5ms. It has advantages such as efficient index construction, low maintenance cost, strong data adaptability, and standardized temporal expression, making it suitable for efficient storage and query management of large-scale dual-temporal
RDF data.