W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2005

Re: evaluating SPARQL w.r.t an RDF query language survey

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Wed, 6 Apr 2005 17:13:14 +0100
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-ID: <20050406161314.GF9626@login.ecs.soton.ac.uk>

On Tue, Apr 05, 2005 at 11:00:53 -0500, Dan Connolly wrote:
> 4 difference
> Return the labels of all topics that are not titles of publications.
> 
> I can imagine some contortion using bound() and OPTIONAL,
> but I can't figure it out, and I wouldn't expect the average
> user to be able to.

I think it depends if the average user is familar with SQL.

	SELECT ?label
	WHERE { ?topic rdfs:label ?label
                ?topic rdf:type foo:topic }
	OPTIONAL { ?pub dc:title ?label
		   ?pub rdf:type foo:publication }
	FILTER !bound(?pub)

- Steve 
Received on Wednesday, 6 April 2005 16:13:17 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:23 GMT