W3C home > Mailing lists > Public > semantic-web@w3.org > June 2005

Re: RDF querying question

From: Jan Algermissen <jalgermissen@topicmapping.com>
Date: Wed, 22 Jun 2005 00:39:05 +0200
Message-Id: <159A6338-12CF-4D56-B4BB-CEDA5CE8BC52@topicmapping.com>
To: semantic-web@w3.org

Thanks very much to both of you. Unfortunately, the queries don't do  
the expected.
This might be due to redlands SPARQL implementation? Not sure.

Jan


On Jun 21, 2005, at 11:15 PM, Richard Newman wrote:

> SELECT ?x WHERE {
>   ?x ?p ?y .
>   FILTER ( ?p != rdf:type ) .
> }
>
> Should work, I think (with prefix if necessary).
>
> (I'm knee-deep in spec, so I haven't tested this.)
>
> -R
>
> On 21 Jun 2005, at 21:54, Jan Algermissen wrote:
>
>
>>
>> Hi,
>>
>> is it possible (in RDQL or  SPARQL) to query for all nodes that do  
>> not have
>> a certain property at all?
>>
>> For example: "Retrieve all nodes that do not have an rdf:type"
>>
>> Thanks in advance.
>>
>> Jan
>

________________________________________________________________________ 
____________________
Jan Algermissen, Consultant & Programmer                              
http://jalgermissen.com
Tugboat Consulting, 'Applying Web technology to enterprise IT'        
http://www.tugboat.de
Received on Tuesday, 21 June 2005 22:58:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:44:44 GMT