Research Article
[Retracted] Location-Dependent Query Processing: Semantic Cache for Real-Time Smart City Analytics
Algorithm 1
Query processing using semantic cache.
| Algorithm: | | begin. | | while (get next query) | | loop. | | match the query with cache contents | | case | | if matched | | collect the output | | send request to server to pre-fetch next data | | else –if not matched | | submit the query to DB server | | store the pre-fetch data to cache | | store query as dscriptor in cache | | collect the output | | end-if | | end case | | end loop | | exit | | end |
|