Skip to main content

SPARQ\(\lambda \): SPARQL as a Function

  • Conference paper
  • First Online:
Advances in Information and Communication (FICC 2019)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 69))

Included in the following conference series:

  • 1297 Accesses

Abstract

With more and more applications providing semantic data to improve interoperability, the amount of available RDF datasets is constantly increasing. The SPARQL query language is a W3C recommendation to provide query capabilities on such RDF datasets. Yet as the coverage of RDF datasets with efficient and available SPARQL endpoints is still limited, integration of data from different RDF sources is a bottleneck that has mostly to be done in RDF consuming clients. We tackle this bottleneck by introducing SPARQ\(\lambda \), an extension to the SPARQL 1.1 query language. SPARQ\(\lambda \) enables dynamic injection of RDF datasets during evaluation of the query, and by this lifts SPARQL to a tool to write templates for RDF producing functions in functional programming style. This is an important step to reduce the effort to write SPARQL queries that work on data from various sources. SPARQ\(\lambda \) is moreover suitable to directly translate to an RDF described Web service interface, which allows to lift integration of data and re-provisioning of integrated results from clients to cloud environments.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

Institutional subscriptions

Notes

  1. 1.

    https://www.w3.org/DesignIssues/LinkedData.html.

  2. 2.

    https://www.w3.org/TR/ldp/.

  3. 3.

    https://wiki.dbpedia.org/.

  4. 4.

    https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#construct.

  5. 5.

    https://www.w3.org/TR/sparql11-update/.

  6. 6.

    https://www.w3.org/TR/sparql11-protocol/#query-operation.

  7. 7.

    https://github.com/apache/jena/.

  8. 8.

    https://github.com/openfaas/faas.

  9. 9.

    https://github.com/apache/jena/tree/master/jena-arq.

References

  1. RDF 1.1 Primer. https://www.w3.org/TR/rdf11-primer/

  2. Shape Expressions Language 2.0. https://www.w3.org/TR/shex-semantics/

  3. Shapes Constraint Language (SHACL). https://www.w3.org/TR/shacl/

  4. SPARQL 1.1 Protocol. https://www.w3.org/TR/sparql11-protocol/

  5. SPARQL 1.1 Update. https://www.w3.org/TR/sparql11-update/

  6. Abdelaziz, I., Harbi, R., Khayyat, Z., Kalnis, P.: A survey and experimental comparison of distributed SPARQL engines for very large RDF data. Proc. VLDB Endow. 10(13), 2049–2060 (2017)

    Article  Google Scholar 

  7. Baldini, I., Castro, P., Chang, K., Cheng, P., Fink, S., Ishakian, V., Mitchell, N., Muthusamy, V., Rabbah, R., Slominski, A., et al.: Serverless computing: current trends and open problems. In: Research Advances in Cloud Computing, pp. 1–20. Springer (2017)

    Google Scholar 

  8. Barbieri, D.F., Braga, D., Ceri, S., Valle, E.D., Grossniklaus, M.: C-SPARQL: a continuous query language for RDF data streams. Int. J. Semant. Comput. 4(01), 3–25 (2010)

    Article  Google Scholar 

  9. Buil-Aranda, C., Arenas, M., Corcho, O., Polleres, A.: Federating queries in SPARQL 1.1: syntax, semantics and evaluation. Web Semant. Sci. Serv. Agents World Wide Web 18(1), 1–17 (2013). Special Section on the Semantic and Social Web

    Article  Google Scholar 

  10. Buil-Aranda, C., Hogan, A., Umbrich, J., Vandenbussche, P.Y.: SPARQL web-querying infrastructure: ready for action? In: International Semantic Web Conference, pp. 277–293. Springer (2013)

    Google Scholar 

  11. Daga, E., Panziera, L., Pedrinaci, C.: A BASILar approach for building web APIs on top of SPARQL endpoints. In: CEUR Workshop Proceedings, vol. 1359, pp. 22–32 (2015)

    Google Scholar 

  12. Dia, A.F., Kazi-Aoul, Z., Boly, A., Chabchoub, Y.: C-SPARQL extension for sampling RDF graphs streams. In: Advances in Knowledge Discovery and Management, pp. 23–40. Springer (2018)

    Google Scholar 

  13. Fafalios, P., Tzitzikas, Y.: SPARQL-LD: a SPARQL extension for fetching and querying linked data. In: International Semantic Web Conference (Posters and Demos) (2015)

    Google Scholar 

  14. Fafalios, P., Yannakis, T., Tzitzikas, Y.: Querying the web of data with SPARQL-LD. In: International Conference on Theory and Practice of Digital Libraries, pp. 175–187. Springer (2016)

    Google Scholar 

  15. Fox, G.C., Ishakian, V., Muthusamy, V., Slominski, A.: Status of serverless computing and function-as-a-service (FaaS) in industry and research. arXiv preprint arXiv:1708.08028 (2017)

  16. Jones, N.D., Gomard, C.K., Sestoft, P.: Partial Evaluation and Automatic Program Generation. Prentice-Hall International Series in Computer Science. Prentice-Hall, New York (1993)

    MATH  Google Scholar 

  17. Leng, Y., Zhikui, C., Zhong, F., Li, X., Hu, Y., Yang, C.: BRGP: a balanced RDF graph partitioning algorithm for cloud storage. Concurr. Comput. Pract. Exp. 29(14), e3896 (2017)

    Article  Google Scholar 

  18. Michel, F., Faron-Zucker, C., Gandon, F.: Bridging web APIs and linked data with SPARQL micro-services. In: Extended Semantic Web Conference (ESWC) (2018)

    Google Scholar 

  19. Michel, F., Zucker, C.F., Gandon, F.: SPARQL micro-services: lightweight integration of web APIs and linked data. In: LDOW 2018-Linked Data on the Web, pp. 1–10 (2018)

    Google Scholar 

  20. Millard, I., Glaser, H., Salvadores, M., Shadbolt, N.: Consuming multiple linked data sources: challenges and experiences (2010)

    Google Scholar 

  21. Rakhmawati, N.A., Umbrich, J., Karnstedt, M., Hasnain, A., Hausenblas, M.: A comparison of federation over SPARQL endpoints frameworks. In: International Conference on Knowledge Engineering and the Semantic Web, pp. 132–146. Springer (2013)

    Google Scholar 

  22. Rietveld, L., Verborgh, R., Beek, W., Vander Sande, M., Schlobach, S.: Linked data-as-a-service: the semantic web redeployed. In: European Semantic Web Conference, pp. 471–487. Springer (2015)

    Google Scholar 

  23. Stadtmüller, S., Speiser, S., Harth, A.: Future challenges for linked APIs. In: SALAD@ ESWC, pp. 20–27 (2013)

    Google Scholar 

  24. Verborgh, R., Vander Sande, M., Colpaert, P., Coppens, S., Mannens, E., Van de Walle, R.: Web-scale querying through linked data fragments. In: LDOW. Citeseer (2014)

    Google Scholar 

Download references

Acknowledgment

This work is supported by the Federal Ministry of Education and Research of Germany in the project Hybr-iT (Förderkennzeichen 01IS16026A).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Torsten Spieldenner .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Vogelgesang, C., Spieldenner, T., Schubotz, R. (2020). SPARQ\(\lambda \): SPARQL as a Function. In: Arai, K., Bhatia, R. (eds) Advances in Information and Communication. FICC 2019. Lecture Notes in Networks and Systems, vol 69. Springer, Cham. https://doi.org/10.1007/978-3-030-12388-8_57

Download citation

Publish with us

Policies and ethics