I was just looking over the 5.2 release notes and was wondering what a service variable was.
Up until now Stardog allowed only constant IRIs in SERVICE
queries but with Stardog 5.2 we support variables with the service keyword. This features lets you dynamically select which endpoint(s) to use in federated queries as in:
{
?service a MyService .
SERVICE ?service {
...
}
}
You can use VALUES
or whatever SPARQL pattern you want to bind the service variable and the query inside the SERVICE
block will be executed against each matching endpoint.
Best,
Evren
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.