chaining federated (service) calls

18 views
Skip to first unread message

Matthew Nguyen

unread,
Jun 22, 2021, 3:15:42 PM6/22/21
to ontop4obda
Hey all, am playing with ontop to virtualize a number of our dbs at work.  So far it's been great.  We have a large engineering staff with thousands of data silos at work and so I'm investigating how we can federate out queries that may hit multiple endpoints in one query possibly using data from one endpoint to optimize queries on another.

I've done some poking around and it doesn't seem like you can pass along bounded values from one service call to another in sparql 1.1 w/o subqueries, is that the case?

In which case, that would require SERVICE support from ontop?

Are my assumptions/conclusions correct or is there another reasonable way?

Benjamin Cogrel

unread,
Jul 28, 2021, 1:55:13 PM7/28/21
to Matthew Nguyen, ontop4obda

Hi Matthew,

I am happy to hear that you had a positive experience at work with Ontop. I am sorry for the late reply.

The federation can be approached in 2 ways:

  - At the SPARQL level. For that, you need to use a SPARQL federator above Ontop (like for instance FedX: https://rdf4j.org/documentation/programming/federation/), as Ontop does not support the SERVICE clause (https://ontop-vkg.org/guide/compliance.html#sparql-1-1). There have been some interest in bringing some basic support for the SERVICE clause (see  https://github.com/ontop/ontop/pull/365), but it is still in a very early stage.

  - At the SQL level. This is the level we are the most familiar with. In this setting, Ontop delegates the federation concerns to a system like Dremio or Denodo (see for instance our tutorial: https://ontop-vkg.org/tutorial/federation/).


Best,

Benjamin

Are my assumptions/conclusions correct or is there another reasonable way? --
Please follow our guidelines on how to report a bug https://ontop-vkg.org/community/contributing/bug-report
---
You received this message because you are subscribed to the Google Groups "ontop4obda" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontop4obda+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontop4obda/2405f011-0c26-422f-b8dc-0c52626dd976n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages