[Paper Review] OBDA for the Web: Creating Virtual RDF Graphs On Top of Web Data Sources
This paper introduces Ontop4theWeb, an OBDA-based system that enables on-the-fly SPARQL querying of heterogeneous Web data sources—such as HTML tables and REST APIs—by creating virtual RDF graphs without materializing data. It leverages virtual table operators in R2RML mappings and microservices architecture to achieve high performance and accuracy, outperforming existing systems by up to three times in response time while fully exploiting caching and supporting seamless integration with third-party services.
Due to Variety, Web data come in many different structures and formats, with HTML tables and REST APIs (e.g., social media APIs) being among the most popular ones. A big subset of Web data is also characterised by Velocity, as data gets frequently updated so that consumers can obtain the most up-to-date version of the respective datasets. At the moment, though, these data sources are not effectively supported by Semantic Web tools. To address variety and velocity, we propose Ontop4theWeb, a system that maps Web data of various formats into virtual RDF triples, thus allowing for querying them on-the-fly without materializing them as RDF. We demonstrate how Ontop4theWeb can use SPARQL to uniformly query popular, but heterogeneous Web data sources, like HTML tables and Web APIs. We showcase our approach in a number of use cases, such as Twitter, Foursquare, Yelp and HTML tables. We carried out a thorough experimental evaluation which verifies the high efficiency of our framework, which goes beyond the current state-of-the-art in this area, in terms of both functionality and performance.
Motivation & Objective
- To address the challenges of variety and velocity in Web data by enabling uniform SPARQL querying of heterogeneous sources like HTML tables and REST APIs without prior data materialization.
- To overcome limitations of existing systems that rely on custom SPARQL extensions, lack support for HTML tables, or inefficiently handle caching and data integration.
- To provide a scalable, standards-compliant solution using standard SPARQL and R2RML, enabling seamless integration with third-party services such as sentiment analysis.
- To demonstrate the feasibility and performance of virtual RDF graph creation on real-world, high-velocity Web data sources like Twitter, Foursquare, Yelp, and Wikipedia.
- To validate the system's superiority in performance, accuracy, and caching utilization compared to existing approaches like SERVICE-to-API.
Proposed method
- Extends SQL with virtual table operators embedded in R2RML mappings to dynamically fetch and map Web data (e.g., from HTML tables or REST APIs) into virtual RDF triples at query time.
- Uses a microservices architecture to enable modular, composable data retrieval and integration with external services, such as sentiment analysis or data enrichment.
- Employs a configurable caching mechanism that stores entire virtual tables per API call, maximizing cache hit rates and reducing redundant calls.
- Leverages ontology-based data access (OBDA) to map virtual relational data to RDF terms, enabling full SPARQL query processing over virtual graphs.
- Supports both cold and warm cache scenarios, with performance evaluated under varying data update frequencies and query workloads.
- Integrates standard R2RML and SPARQL to ensure compatibility with existing Semantic Web tools and avoid proprietary extensions.
Experimental results
Research questions
- RQ1Can a system enable uniform SPARQL querying over diverse, high-velocity Web data sources such as HTML tables and REST APIs without prior data materialization?
- RQ2How does the performance of Ontop4theWeb compare to existing systems like SERVICE-to-API in terms of response time and caching efficiency?
- RQ3To what extent does the system maintain result accuracy when querying complex, heterogeneous data sources with high update rates?
- RQ4Can the system effectively exploit caching mechanisms to reduce the number of API calls and improve scalability?
- RQ5How does the integration of third-party services (e.g., sentiment analysis) perform within the virtualized, on-demand data access model?
Key findings
- Ontop4theWeb processes SPARQL queries on WebTables of up to 100,000 rows within minutes, demonstrating high scalability and real-time feasibility.
- The system is up to three times faster than SERVICE-to-API, primarily because it retrieves entire result sets per API call rather than one tuple at a time.
- Ontop4theWeb fully exploits caching by storing entire virtual tables per call, while SERVICE-to-API caches only one tuple per call, leading to significantly lower cache effectiveness.
- Both systems achieve 100% recall, but Ontop4theWeb maintains 100% precision and F1-score across all six queries, while SERVICE-to-API suffers from false positives due to cartesian product behavior.
- The results confirm that Ontop4theWeb produces accurate results without requiring partial data storage, unlike SERVICE-to-API, which needs additional data caching to avoid incorrect results.
- The experimental evaluation confirms that Ontop4theWeb outperforms the state of the art in both functionality and performance, especially in high-velocity, heterogeneous data environments.
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.