For example
SELECT ?g ?p ?o
WHERE
{
SERVICE <http://DBpedia.org/sparql>
{ SELECT ?g ?p ?o
FROM <http://dbpedia.org>
WHERE { GRAPH ?g {<http://dbpedia.org/resource/Joseph_Hocking> ?p ?o . }
}}
}
fails, with a
Encountered " "from" "FROM "" at line 27, column 1.
Was expecting one of:
whilst
SELECT ?g ?p ?o
WHERE
{
SERVICE <http://DBpedia.org/sparql>
{ SELECT ?g ?p ?o
WHERE { GRAPH ?g {<http://dbpedia.org/resource/Joseph_Hocking> ?p ?o . }
}}
}
succeeds
cheers
mark
On Wed, 10 Feb 2016 16:25:27 +0000
mark <[email protected]> wrote:
> Hello Jena/Fuseki people
>
> I am trying to run a query remotly on a SPARQL end point as a sub part
> of an orchestration query I am running locally
>
> I can run my inner query just fine, but when I wrap it within a
> service call, Fuseki complains about my use of FROM
>
> this also occurs if I use FROM NAMED
>
> both of these are important parts of my query
>
> Is it the case that fuseki will not allow a
> FROM
> call within a
> SERVICE
> call
>
> If so, why might this be?
>
> is there an alternative
>
> many thanks
> mark