...
The Figure 1 shows the Spatio-Temporal composite context that supports spatio-temporal queries. The composite context will analyze the query and store temporal data and temporal data to database tables that supports temporal index and spatial index.
Figure 1. Spatio-temporal Composite Context
Here are how the spatio-temporal query is treated and handled:
...
doPerform(TripleWriter tw)
If there is "ogc“ogc:hasWKT" hasWKT” predicate, then write WKT geometry to the PostGIS table
...
doPerform(TripleMatcher tm)
If the predicate is "ogc“ogc:within"within”, then do geospatial query. Otherwise, perform regular triple-matching
...