W3C home > Mailing lists > Public > semantic-web@w3.org > November 2006

Re: Sparql Question -- re D2R Server publishing the DBLP Bibliography

From: Richard Newman <r.newman@reading.ac.uk>
Date: Sat, 11 Nov 2006 11:00:58 -0800
Message-Id: <12732743-85CB-4053-B2A0-2CDE6EB9C552@reading.ac.uk>
Cc: chris@bizer.de, SW-forum list <semantic-web@w3.org>
To: "Adrian Walker" <adriandwalker@gmail.com>

> However, I believe that sparql lacks this kind of negation.

Can you not use this idiom:

optional { ?x :p ?v } . filter (!bound(?v))


> So I'm wondering please whether it is possible to write in sparql  
> queries equivalent to
>      Q1  show me the name of a person who is missing from the list  
> of authors of a publication from fu-berlin
>      Q2  show me the names of people who are on the list of authors  
> of every publication from fu-berlin
> Thanks for your thoughts about this, in particular, actual sparql  
> queries.
>                                                                --  
> Adrian

I'll allow Chris to provide some real queries, as I'm unfamiliar with  
the details of the ontology.

Received on Saturday, 11 November 2006 19:01:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:41:54 UTC