ABSTRACT
In recent years, knowledge graphs have become widely adopted for storing and managing vast amounts of data, powering various applications. However, SPARQL as the query language for accessing those knowledge graphs has a steep learning curve and is too complex for many use cases. This paper presents GraphSPARQL, a middleware that allows accessing arbitrary SPARQL endpoints by using GraphQL, supporting the GraphQL operations query and mutation. GraphSPARQL abstracts the complexity of SPARQL without losing the ability to address classes and properties of distinct ontologies. Additionally, GraphSPARQL's extension to GraphQL allows using SPARQL filter operations to filter the data in queries. The evaluation showed that GraphSPARQL can compete with existing GraphQL to SPARQL solutions and outperforms them for deeply nested queries.
- Sören Auer, Christian Bizer, Georgi Kobilarov, Jens Lehmann, Richard Cyganiak, and Zachary Ives. 2007. Dbpedia: A nucleus for a web of open data. In The semantic web. Springer, 722--735.Google ScholarDigital Library
- Dan Brickley, R.V. Guha, and Brian McBride. 2014. RDF Schema 1.1. World Wide Web Consortium (W3C). https://www.w3.org/TR/rdf-schema/Google Scholar
- Enrico Daga, Luca Panziera, and Carlos Pedrinaci. 2015. Basil: A cloud platform for sharing and reusing SPARQL queries as Web APIs. In CEUR Workshop Proceedings, Vol. 1486.Google Scholar
- Marilena Daquino, Ivan Heibi, Silvio Peroni, and David Shotton. 2021. Creating RESTful APIs over SPARQL endpoints using RAMOSE. Semantic Web 1 (2021), 1--19. arXiv:2007.16079 Google ScholarCross Ref
- Dieter Fensel, Umutcan Şimşek, Kevin Angele, Elwin Huaman, Elias Kärle, Oleksandra Panasiuk, Ioan Toma, Jürgen Umbrich, and Alexander Wahler. 2020. Knowledge Graphs: Methodology, Tools and Selected Use Cases. Springer Nature.Google ScholarCross Ref
- Daniel Garijo and Maximiliano Osorio. 2020. OBA: An Ontology-Based Framework for Creating REST APIs for Knowledge Graphs. In International Semantic Web Conference. Springer, 48--64.Google Scholar
- Paul Groth, Antonis Loizou, Alasdair JG Gray, Carole Goble, Lee Harland, and Steve Pettifer. 2014. API-centric linked data integration: The open PHACTS discovery platform case study. Journal of web semantics 29 (2014), 12--18.Google ScholarDigital Library
- Yuanbo Guo, Zhengxiang Pan, and Jeff Heflin. 2005. LUBM: A benchmark for OWL knowledge base systems. Journal of Web Semantics 3, 2--3 (2005), 158--182.Google ScholarDigital Library
- Gregg Kellogg. 2020. JSON-LD 1.1. W3C Recommendation. W3C. https://www.w3.org/TR/json-ld11/Google Scholar
- Holger Knublauch and Dimitris Kontokostas. 2017. Shapes Constraint Language (SHACL). World Wide Web Consortium (W3C). https://www.w3.org/TR/shacl/Google Scholar
- Pasquale Lisena, Albert Meroño-Peñuela, Tobias Kuhn, and Raphaël Troncy. 2019. Easy web API development with SPARQL transformer. In International Semantic Web Conference. Springer, 454--470.Google ScholarDigital Library
- Robert Schaffenrath, Daniel Proksch, Markus Kopp, Iacopo Albasini, Oleksandra Panasiuk, and Anna Fensel. 2020. Benchmark for Performance Evaluation of SHACL Implementations in Graph Databases. In International Joint Conference on Rules and Reasoning. Springer, 82--96.Google Scholar
- Amit Singhal. 2012. Introducing the Knowledge Graph: things, not strings. https://blog.google/products/search/introducing-knowledge-graph-things-not/Google Scholar
- Ruben Taelman, Miel Vander Sande, and Ruben Verborgh. 2018. GraphQL-LD: linked data querying with GraphQL. In International Semantic Web Conference. 1--4.Google Scholar
- Ruben Taelman, Miel Vander Sandier, and Ruben Verborgh. 2019. Bridges between GraphQL and RDF. In W3C Workshop on Web Standardization for Graph Data. W3C.Google Scholar
- Ruben Verborgh and Ruben Taelman. 2020. LDflex: A Read/Write Linked Data Abstraction for Front-End Web Developers. In International Semantic Web Conference. Springer, 193--211.Google Scholar
- Denny Vrandečić and Markus Krötzsch. 2014. Wikidata: a free collaborative knowledgebase. Commun. ACM 57, 10 (2014), 78--85.Google ScholarDigital Library
- World Wide Web Consortium et al. 2012. OWL 2 web ontology language document overview. (2012). https://www.w3.org/TR/2012/REC-owl2-overview-20121211/Google Scholar
Index Terms
- GraphSPARQL: a GraphQL interface for linked data
Recommendations
Using the relation ontology Metarel for modelling Linked Data as multi-digraphs
Linked Data for Health Care and the Life SciencesThe Semantic Web standards OWL and RDF are often used to represent biomedical information as Linked Data; however, the OWL/RDF syntax, which combines both, was never optimised for querying. By combining two formal paradigms for modelling Linked Data, ...
Using SPARQL to query bioportal ontologies and metadata
ISWC'12: Proceedings of the 11th international conference on The Semantic Web - Volume Part IIBioPortal is a repository of biomedical ontologies--the largest such repository, with more than 300 ontologies to date. This set includes ontologies that were developed in OWL, OBO and other languages, as well as a large number of medical terminologies ...
Comments