Virtuoso is a high-performance and scalable Multi-Model RDBMS, Data Integration Middleware, Linked Data Deployment, and HTTP Application Server Platform
I run a SPARQL query in a local GraphDB triplestore that contains a SERVICE clause that goes to DBPedia Virtuoso. The query basically fetches labels of some DBPedia URIs directly from DBPedia (note the subquery executes first to fetch local results, before passing in these results to the SERVICE clause):
SELECT DISTINCT ?uri (STR(?theLabel) AS ?label)
WHERE {
{
SELECT DISTINCT ?uri
WHERE {
?domain a <http://xmlns.com/foaf/0.1/Person> .
?domain <http://virtual-assembly.org/pair#hasKeyword> ?uri .
}
}
SERVICE <http://dbpedia.org/sparql> {
?uri <http://www.w3.org/2000/01/rdf-schema#label> ?theLabel .
FILTER(lang(?theLabel) = 'fr')
}
}
ORDER BY ?label
I get the following error from Virtuoso while evaluating the service clause Virtuoso S0022 Error SQ200 :
The query received by Virtuoso is valid SPARQL, with a VALUES clause after the WHERE clause. As mentioned in the StackOverflow question, putting the VALUES clause inside the WHERE would work, but I don't have my hand on how GraphDB generates that SPARQL.
This is blocking any attempt to have federated query from GraphDB to Virtuoso.
See answer to
SERVICE
against Virtuoso DBPedia Gives “Virtuoso S0022 Error SQ200 : No Column” on StackOveflow.I run a SPARQL query in a local GraphDB triplestore that contains a
SERVICE
clause that goes to DBPedia Virtuoso. The query basically fetches labels of some DBPedia URIs directly from DBPedia (note the subquery executes first to fetch local results, before passing in these results to the SERVICE clause):I get the following error from Virtuoso while evaluating the service clause
Virtuoso S0022 Error SQ200
:The query received by Virtuoso is valid SPARQL, with a
VALUES
clause after theWHERE
clause. As mentioned in the StackOverflow question, putting theVALUES
clause inside theWHERE
would work, but I don't have my hand on how GraphDB generates that SPARQL.This is blocking any attempt to have federated query from GraphDB to Virtuoso.