Re: SPARQL query error

Could you explain in what way the queries don't work?

What does the data you are querying look like?

Also, what system are you using?

	Andy


On 08/06/2010 19:42, Amada Eliseo wrote:
> Hi all in this forum,
>
> I have currently written two queries in SPARQL, but they don't work. Can someone
> help me what I am doing wrong?
>
> query 1:
> prefix test:<http://example.com>
> describe *
> WHERE { ?employee test:Position "Manager" .}


Bad choice of URI  <http://example.com>

test:Position
becomes
<http://example.comPosition>

>
> query 2:
> prefix test:<http://example.com>
> SELECT ?g
> WHERE { GRAPH ?g { ?s test:Name "John" . } }
>
>
>

Received on Thursday, 10 June 2010 11:04:42 UTC