Abstract
The success of Semantic Web technology has boosted the publication of Knowledge Graphs in the Web of Data, and several technologies to access them have become available covering different spots in the spectrum of expressivity: from the highly expressive SPARQL to the controlled access of Linked Data APIs, with GraphQL in between. Many of these technologies have reached industry-grade maturity. Finding the trade-offs between them is often difficult in the daily work of developers, interested in quick API deployment and easy data ingestion. This tutorial covers this in-between technology space, with the main goal of providing strategies and tools for publishing Web APIs that ensure the easy consumption of data coming from SPARQL endpoints. Together with an overview of state-of-the-art technologies, the tutorial focuses on two novel technologies: SPARQL Transformer, which allows to get a more compact JSON structure for SPARQL results, decreasing the effort required by developers in interfacing JavaScript and Python applications; and grlc, an automatic way of building APIs on top of SPARQL endpoints by sharing queries on collaborative platforms. Moreover, recent developments are presented to combine the two, offering a complete resource for developers and researchers. Hands-on sessions are proposed to internalise those concepts with practical exercises.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Bergwinkl, T., Luggen, M., elf Pavlik, Regalia, B., Savastano, P., Verborgh, R.: Interface Specification: RDF Representation, Draft Report. Tech. rep. W3C (2017)
Booth, D., Chute, C.G., Glaser, H., Solbrig, H.: Toward Easier RDF. In: W3C Workshop on Web Standardization for Graph Data, Berlin (2019)
Daga, E., Panziera, L., Pedrinaci, C.: A basilar approach for building web APIS on top of SPARQL endpoints. In: Maleshkova, M., Verborgh, R., Stadtmüller, S. (eds.) Proceedings of the Third Workshop on Services and Applications over Linked APIs and Data, vol. 1359, pp. 22–32 (2015), http://oro.open.ac.uk/44026/, Co-located with the 12th Extended Semantic Web Conference (ESWC 2015)
Dumontier, M., et al.: smartAPI: towards a more intelligent network of Web APIs. In: Proceedings of the 25th conference on Intelligent Systems for Molecular Biology and the 16th European Conference on Computational Biology (2017)
Gandon, F., et al.: Graph data on the web: extend the pivot don’t reinvent the wheel. In: W3C Workshop on Web Standardization for Graph Data, Berlin (2019)
Lisena, P., Meroño-Peñuela, A., Kuhn, T., Troncy, R.: Easy web API development with SPARQL transformer. In: 18th International Semantic Web Conference (ISWC), in-use Track, Auckland, pp. 454–470 (2019). https://doi.org/10.1007/978-3-030-30796-7_28
Lisena, P., Troncy, R.: Transforming the JSON output of SPARQL queries for linked data clients. In: WWW’18 Companion: The 2018 Web Conference Companion. ACM, Lyon (2018). https://doi.org/10.1145/3184558.3188739
Meroño-Peñuela, A., Hoekstra, R.: grlc makes GitHub taste like linked data APIs. In: Sack, H., Rizzo, G., Steinmetz, N., Mladenić, D., Auer, S., Lange, C. (eds.) ESWC 2016. LNCS, vol. 9989, pp. 342–353. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-47602-5_48
Meroñ-Peñuela, A., Lisena, P., MartÃnez-Ortiz, C.: Web data APIS for knowledge graphs: easing access to semantic data for application developers. Synth. Lect. Data Semant. Knowl. 12(1), 1–118 (2021). https://doi.org/10.2200/S01114ED1V01Y202107DSK021
Taelman, R., Vander Sande, M., Verborgh, R.: Bridges between GraphQL and RDF. In: W3C Workshop on Web Standardization for Graph Data, Berlin (2019)
Verborgh, R., Taelman, R.: LDflex: a read/write linked data abstraction for front-end web developers. In: Pan, J.Z., et al. (eds.) ISWC 2020. LNCS, vol. 12507, pp. 193–211. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-62466-8_13
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this paper
Cite this paper
Lisena, P., Meroño-Peñuela, A. (2022). SPARQL Endpoints and Web API (SWApi). In: Di Noia, T., Ko, IY., Schedl, M., Ardito, C. (eds) Web Engineering. ICWE 2022. Lecture Notes in Computer Science, vol 13362. Springer, Cham. https://doi.org/10.1007/978-3-031-09917-5_44
Download citation
DOI: https://doi.org/10.1007/978-3-031-09917-5_44
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-09916-8
Online ISBN: 978-3-031-09917-5
eBook Packages: Computer ScienceComputer Science (R0)