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

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 UTC