W3C home > Mailing lists > Public > public-sparql-dev@w3.org > July to September 2008

Re: blank nodes search

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Wed, 30 Jul 2008 09:46:57 +0100
Message-ID: <48902A81.9040804@hp.com>
To: Richard Newman <rnewman@franz.com>
Cc: "saraujo@inf.puc-rio.br" <saraujo@inf.puc-rio.br>, "public-sparql-dev@w3.org" <public-sparql-dev@w3.org>

Richard Newman wrote:
> No.

... officially ... :-)

> You have to search by reference, or use some implementation-specific
> technique.
> On Jul 29, 2008, at 12:17, saraujo@inf.puc-rio.br wrote:
>> Hi everbody, Is It possible search for a blank node with sparql?
>> Ex:
>> select distinct ?p ?o where {_:node13aj7sbgpx251 ?p ?o .}
>> Regards
>> Samur Araujo

Direct acces to a Blank node (accessing the graph at a more syntactic 
level e.g. editors and RDF lists) came up a couple of times during the 
WG discussions and several things emerged:

1/ Several systems "allow" <_:label> to access a blanknode by label.

2/ Externally, you might associate ?bnode with _:node13aj7sbgpx251 (sort 
of named parameters to a query)

select distinct ?p ?o where {?bnode ?p ?o .}

3/ List access can be done in a manner like rdfs:member although the 
property name is not standard hence different in different systems.

These are defintitely in the "implementation-specific technique" category.


Hewlett-Packard Limited
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England
Received on Wednesday, 30 July 2008 08:47:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:50 UTC