Skip to main content

SPARQL Endpoints and Web API (SWApi)

  • Conference paper
  • First Online:
  • 1231 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13362))

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Bergwinkl, T., Luggen, M., elf Pavlik, Regalia, B., Savastano, P., Verborgh, R.: Interface Specification: RDF Representation, Draft Report. Tech. rep. W3C (2017)

    Google Scholar 

  2. Booth, D., Chute, C.G., Glaser, H., Solbrig, H.: Toward Easier RDF. In: W3C Workshop on Web Standardization for Graph Data, Berlin (2019)

    Google Scholar 

  3. 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)

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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

  7. 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

  8. 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

  9. 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

  10. Taelman, R., Vander Sande, M., Verborgh, R.: Bridges between GraphQL and RDF. In: W3C Workshop on Web Standardization for Graph Data, Berlin (2019)

    Google Scholar 

  11. 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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pasquale Lisena .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics