Re: RDF querying question

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 UTC