Thank you! - Erich

On Sun, 23 Oct 2016 15:17:10 +0100
 Andy Seaborne <[email protected]> wrote:
 blankNodePropertyList predicateObjectList?
                                        ^^^^
EBNF: The "?" means "zero or one" - i.e. optional.

IIRC this was added over pre-RDF 1.1 turtle so that Turtle aligned with SPARQL, which has always accepted [ :p "v" ] .

        Andy


On 23/10/16 15:02, Erich Bremer wrote:
But isn't "[ :status "happy"]" just the blankNodePropertyList? I would need a corresponding predicateObjectList to go with that wouldn't I? -
Erich


On 10/19/2016 10:38 AM, Andy Seaborne wrote:
Does it parse? :-)

http://www.sparql.org/data-validator.html

Spec:

[6]     triples     ::=
subject predicateObjectList | blankNodePropertyList predicateObjectList?

It matches

blankNodePropertyList predicateObjectList?

    Andy

On 19/10/16 15:24, Erich Bremer wrote:
Is this a valid RDF Turtle (https://www.w3.org/TR/turtle/#BNodes)
document? - Erich

VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
@prefix :      <http://xmlns.com/foaf/0.1/> .
[ :status "happy"
] .



Reply via email to