W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > July 2006

SPARQL: Exclude nodes which match a certain criteria

From: stefan99 (sent by Nabble.com) <lists@nabble.com>
Date: Sat, 1 Jul 2006 10:08:13 -0700 (PDT)
Message-ID: <5134009.post@talk.nabble.com>
To: public-rdf-dawg-comments@w3.org


Hello,

is it possible to remove all nodes from a SPARQL-result which match a
certain criteria?

Example:

@prefix dc:   <http://purl.org/dc/elements/1.1/> .
@prefix :     <http://example.org/book/> .
@prefix ns:   <http://example.org/ns#> .

:book1  dc:title  "SPARQL Tutorial" .
:book1  ns:price  42 .
:book1  ns:price  22 .
:book2  dc:title  "The Semantic Web" .
:book2  ns:price  23 .

I want to get all books which do not have a price higher then 30.
-- 
View this message in context: http://www.nabble.com/SPARQL%3A-Exclude-nodes-which-match-a-certain-criteria-tf1877878.html#a5134009
Sent from the w3.org - public-rdf-dawg-comments forum at Nabble.com.
Received on Saturday, 1 July 2006 17:08:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:50 GMT