Sorry, now i understand your question. Do you want to acess any data in a
virtuoso graph? If yes, you can try this query:
SELECT *
WHERE
{
SERVICE <http://example.org:8890/sparql>
{
SELECT ?s ?id
from <http://ex.com/base>
WHERE {
GRAPH ?g{?s a <http://ex.com/resource/Batch> .
?s <http://ex.com/resource/id> ?id .}
}
}
}
> 2012/8/12 Holger Knublauch <[email protected]>
>>
>>> The following query is not valid (verified with Jena 2.7.3):
>>>
>>> SELECT *
>>> WHERE
>>> {
>>> SERVICE <http://example.org:8890/sparql>
>>> { SELECT *
>>> FROM <http://ex.com/base>
>>> WHERE
>>> { ?s a <http://ex.com/resource/Batch> .
>>> ?s <http://ex.com/resource/id> ?id .
>>> }
>>> }
>>> }
>>>
>>> The parser complains about the FROM. Is this supposed to work, or are we
>>> limited to using GRAPH instead?
>>>
>>> Thanks
>>> Holger
>>>
>>>
>>
>>
>> --
>> *Macedo Sousa Maia*
>> *Bacharel em Computação
>> Mestrando em Computação
>> ARIDA(Advanced Research in Database)
>> *
>> *Universidade Federal do Ceará(UFC)*
>>
>>
>
>
> --
> *Macedo Sousa Maia*
> *Bacharel em Computação
> Mestrando em Computação
> ARIDA(Advanced Research in Database)
> *
> *Universidade Federal do Ceará(UFC)*
>
>
--
*Macedo Sousa Maia*
*Bacharel em Computação
Mestrando em Computação
ARIDA(Advanced Research in Database)
*
*Universidade Federal do Ceará(UFC)*