W3C home > Mailing lists > Public > public-sparql-dev@w3.org > April to June 2010

Re: SPARQL query error

From: Andy Seaborne <andy.seaborne@talis.com>
Date: Thu, 10 Jun 2010 12:04:02 +0100
Message-ID: <4C10C6A2.9030000@talis.com>
To: Amada Eliseo <amadaeliseo@yahoo.com>
CC: public-sparql-dev@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:50 UTC