[Paper Review] Geographica: A Benchmark for Geospatial RDF Stores
This paper introduces Geographica, a comprehensive benchmark for geospatial RDF stores that evaluates systems supporting GeoSPARQL and stSPARQL. It combines real-world Linked Open Data and synthetic workloads to test spatial query performance, revealing Strabon's superior efficiency due to optimized PostGIS integration, while Parliament and uSeekM suffer from suboptimal query planning strategies.
Geospatial extensions of SPARQL like GeoSPARQL and stSPARQL have recently been defined and corresponding geospatial RDF stores have been implemented. However, there is no widely used benchmark for evaluating geospatial RDF stores which takes into account recent advances to the state of the art in this area. In this paper, we develop a benchmark, called Geographica, which uses both real-world and synthetic data to test the offered functionality and the performance of some prominent geospatial RDF stores.
Motivation & Objective
- To address the lack of standardized benchmarks for evaluating geospatial RDF stores supporting modern standards like GeoSPARQL and stSPARQL.
- To design a reproducible benchmark that tests both primitive spatial functions and real-world application scenarios.
- To evaluate the performance of leading geospatial RDF stores—Strabon, Parliament, and uSeekM—under controlled and realistic workloads.
- To identify performance bottlenecks in query optimization strategies across different systems.
- To provide a publicly available benchmark suite to enable future reproducible evaluation of geospatial RDF systems.
Proposed method
- Developed a dual-workload benchmark: a real-world workload using public Linked Open Data and a synthetic workload with configurable selectivity.
- Designed micro-benchmarks to test non-topological functions, spatial selections, joins, and aggregates; macro-benchmarks for use cases like reverse geocoding and Earth observation.
- Used a query template generator to produce SPARQL queries with varying thematic and spatial selectivity, parameterized by dataset size and feature thresholds.
- Implemented the benchmark using real systems: Strabon (PostGIS-backed), Parliament, and uSeekM, enabling cross-system comparison.
- Executed queries under controlled conditions with a one-hour timeout and measured response times across different data sizes and selectivity levels.
- Analyzed query execution plans and system behaviors to explain performance differences, particularly regarding index usage and join strategies.
Experimental results
Research questions
- RQ1How do geospatial RDF stores perform under real-world geospatial workloads drawn from the LOD cloud?
- RQ2To what extent does thematic and spatial selectivity affect query response times in different geospatial RDF systems?
- RQ3How do query optimization strategies—particularly index usage and join planning—affect performance in systems like Strabon, Parliament, and uSeekM?
- RQ4Can synthetic workloads effectively simulate real-world performance characteristics for benchmarking geospatial RDF stores?
- RQ5Why do some systems fail to complete complex spatial joins within a reasonable time, and what architectural choices lead to such inefficiencies?
Key findings
- Strabon outperformed both Parliament and uSeekM in nearly all query types due to effective use of PostGIS spatial indexes and optimized query planning.
- When spatial selectivity was high (e.g., all geometries satisfied the predicate), Strabon’s Postgres optimizer switched from index scans to sequential scans, maintaining good performance.
- For low thematic selectivity (e.g., 1 feature out of 512), Strabon achieved fast response times by applying thematic filters early and leveraging selective index usage.
- Parliament’s strategy of evaluating non-spatial conditions first led to consistent but poor performance, especially in spatial joins, where it failed to complete most queries within the one-hour timeout.
- uSeekM’s performance was insensitive to thematic selectivity but degraded significantly with increasing spatial result sets, as it evaluated spatial predicates after materializing intermediate results.
- In one case (spatial join with THEMA=1), uSeekM outperformed Strabon due to a design flaw in Strabon’s spatial join execution, which processed irrelevant geometries (e.g., touching land ownerships) before filtering.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.