Thanks for the info, Zachary!
I'll take a look at that possibility, but I have 2 concerns in that matter:
- authentication: the query is sent by an authenticated user, which should be the same for the remote query (the one in the SERVICE clause). Does this SERVICE clause support authentication or only public endpoints?
- scalability: let's assume that the end result is not big, but the result of the inner query is large (e.g. the number of instances of type <TYPE> is huge, but modifications are rare). In this case, the query plan will be very inefficient, since lots of information will have to be loaded via HTTP and then merged with the result in the stardog server. If there was a way of querying information over different databases (sort of an SQL bridge mechanism), at least between a database and its associated versioning database, the query plan would most likely be much more efficient (since the information merge would occur at internal level).
What do you think?
Cheers!
Ruben