Skip to main content

More Power to SPARQL: From Paths to Trees

  • Conference paper
  • First Online:
The Semantic Web: ESWC 2023 Satellite Events (ESWC 2023)

Abstract

Exploring Knowledge Graphs (KGs, in short) to discover facts and links is tedious even for experts with knowledge of SPARQL due to their unfamiliarity with the structure and labels of entities, classes and relations. Some KG applications require finding the connections between groups of nodes, even if users ignore the shape of these connections. However, SPARQL only allows checking if paths exist, not returning them. A recent property graph query language, GPML, allows also returning connecting paths, but not connections between three or more nodes.

We propose to demonstrate RelSearch, a system supporting extended SPARQL queries, featuring standard Basic Graph Patterns (BGPs) as well as novel Connecting Tree Patterns (CTPs); each CTP requests the connections (paths, or trees) between nodes bound to variables. RelSearch evaluates such extended queries using novel algorithms [2] which, unlike prior keyword search methods, return connections regardless of the edge directions and are independent of how we measure the quality (score) of each connection. We will demonstrate RelSearch ’s expressivity and efficiency using a variety of RDF graphs, user-selected score functions, and search exploration orders.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
eBook
USD 59.99
Price excludes VAT (USA)
Softcover Book
USD 74.99
Price excludes VAT (USA)

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Aebeloe, C., Setty, V., Montoya, G., Hose, K.: Top-K diversification for path queries in knowledge graphs. In: ISWC (2018)

    Google Scholar 

  2. Anadiotis, A., Manolescu, I., Mohanty, M.: Integrating connection search in graph queries. In: ICDE (2023)

    Google Scholar 

  3. Chanial, C., Dziri, R., Galhardas, H., et al.: ConnectionLens: finding connections across heterogeneous data sources (demonstration). PVLDB 11(12), 4 (2018)

    Google Scholar 

  4. Coffman, J., Weaver, A.C.: An empirical performance evaluation of relational keyword search techniques. IEEE TKDE 26(1), 30–42 (2014)

    Google Scholar 

  5. Deutsch, A., Francis, N., Green, A., Hare, K., Li, B., Libkin, L., et al.: Graph pattern matching in GQL and SQL/PGQ. In: SIGMOD (2022)

    Google Scholar 

  6. Dey, S.C., Cuevas-Vicenttín, V., Köhler, S., et al.: On implementing provenance-aware regular path queries with relational query engines. In: EDBT (2013)

    Google Scholar 

  7. Lissandrini, M., Mottin, D., Hose, K., Pedersen, T.B.: Knowledge graph exploration systems: are we lost? In: CIDR (2022)

    Google Scholar 

  8. Wang, H., Aggarwal, C.C.: A survey of algorithms for keyword search on graph data. In: Aggarwal, C., Wang, H. (eds.) Managing and Mining Graph Data, vol. 40. Springer, Cham (2010). https://doi.org/10.1007/978-1-4419-6045-0_8

  9. Yang, J., Yao, W., Zhang, W.: Keyword search on large graphs: a survey. Data Sci. Eng. 6(2), 142–162 (2021)

    Article  Google Scholar 

Download references

Acknowledgments

This work has been funded by the AI Chair SourcesSay (ANR-20-CHIA-0015-01) project.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Madhulika Mohanty .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Anadiotis, A.C., Manolescu, I., Mohanty, M. (2023). More Power to SPARQL: From Paths to Trees. In: Pesquita, C., et al. The Semantic Web: ESWC 2023 Satellite Events. ESWC 2023. Lecture Notes in Computer Science, vol 13998. Springer, Cham. https://doi.org/10.1007/978-3-031-43458-7_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-43458-7_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-43457-0

  • Online ISBN: 978-3-031-43458-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics