W3C home > Mailing lists > Public > public-rdf-comments@w3.org > May 2013

Re: Test turtle-syntax-bad-struct-07 - blank nodes in predicates

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Sat, 18 May 2013 22:11:59 -0700
Message-Id: <0CCBF2C0-343F-4106-A8F9-9B41C3128FC8@greggkellogg.net>
Cc: "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>
To: Alex Milowski <alex@milowski.com>
On May 18, 2013, at 9:49 PM, Alex Milowski <alex@milowski.com> wrote:

> This test has the triple:
> 
>    <http://example/s> _:p <http://example/o> .
> 
> I can't see where in the turtle specification is says that you can't have a blank node as a predicate. 
> 
> It certainly makes sense to have this constraint.

Of course, the Turtle grammar doesn't allow it, but that's not normative. What is is the RDF data model as defined in RDF Concepts, in particular the definition of a triple [1].

Gregg

[1] http://www.w3.org/TR/rdf11-concepts/#section-triples

> -- 
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
> 
> Bertrand Russell in a footnote of Principles of Mathematics
Received on Sunday, 19 May 2013 05:13:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:56 UTC