Abstract
Decentralised linked data gives users rights over their data while being accessible to other domains. The RDF (Resource Description Framework) and SPARQL have been the standard specifications for managing linked data for several years. Recent research and development introduce scalable, centralised and distributed RDF store engines with the SPARQL. However, writing SPARQL federated queries may grow more complex as the number of domain participants increases, presenting challenges such as source discovery, completeness and performance. This paper presents a SPARQL Query Template (SQT) that applies Multiparty Session Types (MPST) to determine the order of federated queries. We also guarantee protocol conformance between MPST and SPARQL relational algebra.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
References
Mendes, P.N., Jakob, M., García-Silva, A., Bizer, C.: DBpedia spotlight: shedding light on the web of documents. In: Proceedings of the 7th International Conference on Semantic Systems, I-Semantics 2011, pp. 1–8. Association for Computing Machinery, New York (2011). https://doi.org/10.1145/2063518.2063519
Bateman, A., et al.: UniProt: the universal protein knowledgebase in 2023. Nucleic Acids Res. 51(D1), D523–D531 (2023)
Bansal, P., et al.: Rhea, the reaction knowledgebase in 2022. Nucleic Acids Res. 50(D1), D693–D700 (2022). https://academic.oup.com/nar/article/50/D1/D693/6424769
Aleksander, S.A., et al.: The Gene Ontology knowledgebase in 2023. GENETICS 224(1) (2023). https://academic.oup.com/genetics/article/doi/10.1093/genetics/iyad031/7068118
Bauer-Mehren, A., Bundschus, M., Rautschka, M., Mayer, M.A., Sanz, F., Furlong, L.I.: Gene-disease network analysis reveals functional modules in mendelian, complex and environmental diseases. PLoS ONE 6(6), e20284 (2011). https://dx.plos.org/10.1371/journal.pone.0020284
Mendez, D., et al.: ChEMBL: towards direct deposition of bioassay data. Nucleic Acids Res. 47(D1), D930–D940 (2019). https://academic.oup.com/nar/article/47/D1/D930/5162468
Potter, A., Motik, B., Nenov, Y., Horrocks, I.: Distributed RDF query answering with dynamic data exchange. In: Groth, P., et al. (eds.) ISWC 2016. LNCS, vol. 9981, pp. 480–497. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46523-4_29
Sidirourgos, L., Goncalves, R., Kersten, M., Nes, N., Manegold, S.: Column-store support for RDF data management. Proc. VLDB Endow. 1(2), 1553–1563 (2008). https://dl.acm.org/doi/10.14778/1454159.1454227
Abadi, D.J., Marcus, A., Madden, S.R., Hollenbach, K.: SW-Store: a vertically partitioned DBMS for Semantic Web data management. VLDB J. 18(2), 385–406 (2009). https://doi.org/10.1007/s00778-008-0125-y
Atre, M., Chaoji, V., Zaki, M.J., Hendler, J.A.: Matrix “Bit” loaded. In: Proceedings of the 19th International Conference on World Wide Web, pp. 41–50. ACM, New York (2010). https://dl.acm.org/doi/10.1145/1772690.1772696
Neumann, T., Weikum, G.: The RDF-3X engine for scalable management of RDF data. VLDB J. 19(1), 91–113 (2010). https://doi.org/10.1007/s00778-009-0165-y
Rohloff, K., Schantz, R.E.: Clause-iteration with MapReduce to scalably query data graphs in the SHARD graph-store. In: Proceedings of the 4th International Workshop on Data-Intensive Distributed Computing, DIDC 2011, pp. 35–44. ACM (2011)
Zhang, X., Chen, L., Tong, Y., Wang, M.: EAGRE: towards scalable I/O efficient SPARQL query evaluation on the cloud. In: Proceedings of the International Conference on Data Engineering, pp. 565–576. IEEE (2013)
Hassan, M., Bansal, S.: S3QLRDF: Distributed SPARQL Query Processing Using Apache Spark–A Comparative Performance Study, vol. 41. Springer, Cham (2023). https://doi.org/10.1007/s10619-023-07422-4
Zeng, K., Yang, J., Wang, H., Shao, B., Wang, Z.: A distributed graph engine for web scale RDF data. Proc. VLDB Endow. 6(4), 265–276 (2013)
Gurajada, S., Seufert, S., Miliaraki, I., Theobald, M.: TriAD: a distributed shared-nothing RDF engine based on asynchronous message passing. In: Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 289–300 (2014)
Daga, E., Asprino, L., Mulholland, P., Gangemi, A.: Facade-X: an opinionated approach to SPARQL anything. In: Alam, M., Groth, P., de Boer, V., Pellegrini, T., Pandit, H.J. (eds.) Further with Knowledge Graphs, vol. 53, pp. 58–73. IOS Press (2021). http://oro.open.ac.uk/78973/
Hernawan, A., Sunarwidhi, A., Prasedya, E., Widyastuti, S.: A generalization SPARQL federated query: an initial step towards machine-readable web of data for halal food products. In: IOP Conference Series: Earth and Environmental Science, vol. 913, no. 1, p. 012040 (2021). https://iopscience.iop.org/article/10.1088/1755-1315/913/1/012040
Quilitz, B., Leser, U.: Querying distributed RDF data sources with SPARQL. In: Bechhofer, S., Hauswirth, M., Hoffmann, J., Koubarakis, M. (eds.) ESWC 2008. LNCS, vol. 5021, pp. 524–538. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-68234-9_39
Schwarte, A., Haase, P., Hose, K., Schenkel, R., Schmidt, M.: FedX: a federation layer for distributed query processing on linked open data. In: Antoniou, G., et al. (eds.) ESWC 2011. LNCS, vol. 6644, pp. 481–486. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-21064-8_39
Khan, Y., et al.: SAFE: SPARQL federation over RDF data cubes with access control. J. Biomed. Semant. 8(1), 5 (2017). http://jbiomedsem.biomedcentral.com/articles/10.1186/s13326-017-0112-6
Görlitz, O., Staab, S.: SPLENDID: SPARQL endpoint federation exploiting VOID descriptions. In: Proceedings of the Second International Conference on Consuming Linked Data, COLD 2011, vol. 782, pp. 13–24. CEUR-WS.org, Aachen (2011)
Troumpoukis, A., et al.: Developing a benchmark suite for semantic web data from existing workflows. In: Fundulaki, I., Krithara, A., Ngomo, A.N., Rentoumi, V. (eds.) Proceedings of the Workshop on Benchmarking Linked Data (BLINK 2016) co-located with the 15th International Semantic Web Conference (ISWC), Kobe, Japan, 18 October 2016. CEUR Workshop Proceedings, vol. 1700. CEUR-WS.org (2016). https://ceur-ws.org/Vol-1700/paper-04.pdf
Honda, K., Yoshida, N., Carbone, M.: Multiparty asynchronous session types. J. ACM 63(1), 1–67 (2016)
Yoshida, N.: Programming language implementations with multiparty session types. In: de Boer, F.S., Damiani, F., Hähnle, R., Johnsen, E.B., Kamburjan, E. (eds.) Active Object Languages: Current Research Trends. Lecture Notes in Computer Science, vol. 14360, pp. 147–165. Springer, Cham (2024). https://doi.org/10.1007/978-3-031-51060-1_6
Coppo, M., Dezani-Ciancaglini, M., Padovani, L., Yoshida, N.: A gentle introduction to multiparty asynchronous session types. In: Bernardo, M., Johnsen, E. (eds.) SFM 2015. LNCS, vol. 9104, pp. 146–178. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-18941-3_4
Yoshida, N., Gheri, L.: A very gentle introduction to multiparty session types. In: Hung, D.V., D’Souza, M. (eds.) ICDCIT 2020. LNCS, vol. 11969, pp. 73–93. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-36987-3_5
Cyganiak, R.: A relational algebra for SPARQL. HP (2005). http://www.hpl.hp.com/techreports/2005/HPL-2005-170.pdf
Salas, J., Hogan, A.: Semantics and canonicalisation of SPARQL 1.1. Semant. Web 13(5), 829–893 (2022)
Acknowledgements
The first author is funded by the LPDP Indonesian Endowment Fund for Education from the Ministry of Finance of the Republic of Indonesia. This research is funded in part by EPSRC EP/T006544/2, EP/K011715/1, EP/K034413/1, EP/L00058X/1, EP/N027833/2, EP/N028201/1, EP/T014709/2, EP/V000462/1, EP/X015955/1, NCSS/EPSRC VeTSS and Horizon EU TaRDIS 101093006.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Hernawan, A., Yoshida, N. (2024). Protocol Conformance of Collaborative SPARQL Using Multiparty Session Types. In: Chin, WN., Xu, Z. (eds) Theoretical Aspects of Software Engineering. TASE 2024. Lecture Notes in Computer Science, vol 14777. Springer, Cham. https://doi.org/10.1007/978-3-031-64626-3_1
Download citation
DOI: https://doi.org/10.1007/978-3-031-64626-3_1
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-64625-6
Online ISBN: 978-3-031-64626-3
eBook Packages: Computer ScienceComputer Science (R0)