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

SPARQL query error

From: Amada Eliseo <amadaeliseo@yahoo.com>
Date: Tue, 8 Jun 2010 18:42:46 +0000 (UTC)
To: public-sparql-dev@w3.org
Message-ID: <loom.20100608T203808-983@post.gmane.org>
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" .}

query 2:
prefix test: <http://example.com>
SELECT ?g
WHERE { GRAPH ?g { ?s test:Name "John" . } }
Received on Thursday, 10 June 2010 06:41:36 UTC

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