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

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