W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2005

Re: bNodes and properties (was: Re: evaluating SPARQL w.r.t an RDF query language survey)

From: Dan Connolly <connolly@w3.org>
Date: Tue, 12 Apr 2005 07:34:16 -0500
To: andy.seaborne@hp.com
Cc: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-Id: <1113309256.4891.115.camel@localhost>

On Tue, 2005-04-12 at 12:08 +0100, Seaborne, Andy wrote:
> Dan Connolly wrote:
> ...
> > 
> > hmm... why is [] no good? sparqler complains about...
> > select ?R where
> >  { ?R [] [].
> >  }
> > 
> > I have only matched things that occur in the subject position.
> ....
> 
> bNodes are not currently allowed in the property position beause RDF doesn't 
> allow them there.  Maybe in queries (as variables) they should be.

Ah yes. I think I realized that after I sent the question.

It's a bit odd that

 { ?R ?dummy [] }

is allowed, and means the same thing, but { ?R [] [] } is
not allowed.

> Turtle does not allow bNodes in the property slot.  Comments?

I don't really have strong feelings either way. I'm happy for
the editors to flip a coin (or leave the coin flipped).

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Tuesday, 12 April 2005 12:34:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:23 GMT