W3C home > Mailing lists > Public > public-rdf-wg@w3.org > October 2013

edits made for Turtle CR

From: Eric Prud'hommeaux <eric@w3.org>
Date: Wed, 23 Oct 2013 10:50:09 -0400
To: Gavin Carothers <gavin@carothers.name>
Cc: public-rdf-wg@w3.org
Message-ID: <20131023145008.GC12453@w3.org>
These have to be copied back into th dvcs version. There are some that
appear to be javascript/respec-related as some examples are squashed
and IRIs ommitted.

s/Comments may be given after a '#'' that is not part of another lexical token and continue to the end of the line.
 /Comments may be given after a '#' that is not part of another lexical token and continue to the end of the line.
 /

s[[
2.1 Simple Triples

This section is non-normative.
]]
[[
2.1 Simple Triples
]]

s[[
2.5.1 Quoted Literals

This section is non-normative.
]]
[[
2.5.1 Quoted Literals
]]

s[[
@prefix rdf: . @prefix dc: . @prefix ex: . dc:title "RDF/XML Syntax Specification (Revised)" ; ex:editor [
ex:fullname "Dave Beckett"; ex:homePage ] .
]]
[[
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ex: <http://example.org/stuff/1.0/> .

<http://www.w3.org/TR/rdf-syntax-grammar>
  dc:title "RDF/XML Syntax Specification (Revised)" ;
  ex:editor [
    ex:fullname "Dave Beckett";
    ex:homePage <http://purl.org/net/dajobe/>
  ] .
]]

s[[
@prefix : . @prefix rdf: . :a :b [ rdf:first "apple"; rdf:rest [ rdf:first "banana"; rdf:rest rdf:nil ] ] .
]]
[[
@prefix : <http://example.org/stuff/1.0/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
:a :b
  [ rdf:first "apple";
    rdf:rest [ rdf:first "banana";
               rdf:rest rdf:nil ]
  ] .
]]

s[[
@prefix : . :a :b "The first line\nThe second line\n more" . :a :b """The first line The second line more""" .
]]
[[
@prefix : <http://example.org/stuff/1.0/> .

:a :b "The first line\nThe second line\n  more" .

:a :b """The first line
The second line
  more""" .
]]

s/ 1. SPARQL permits RDF Literals as the subject of RDF triples (per Last Call draft).
 / 1. SPARQL permits RDF Literals as the subject of RDF triples (per Proposed Recommendation).
 /


s/A conforming Turtle document is a Unicode string that conforms to the grammar and additional constraints defined in section 6. Turtle Grammar, starting with the trigDoc production. A TriG document serializes an RDF Dataset.
 /A conforming Turtle document is a Unicode string that conforms to the grammar and additional constraints defined in section 6 Turtle Grammar, starting with the turtleDoc production. A Turtle document serializes an RDF graph.
 /

s/A conforming TriG parser is a system capable of reading TriG documents on behalf of an application. It makes the serialized RDF dataset, as defined in section 7. Parsing, available to the application, usually through some form of API.
 /A conforming Turtle parser is a system capable of reading Turtle documents on behalf of an application. It makes the serialized RDF graph, as defined in section 7 Parsing, available to the application, usually through some form of API.
 /

s/The IRI that identifies the TriG language is: http://www.w3.org/ns/formats/TriG
 /The IRI that identifies the Turtle language is: http://www.w3.org/ns/formats/Turtle
 /

s/This specification does not define how TriG parsers handle non-conforming input documents.
 /This specification does not define how Turtle parsers handle non-conforming input documents.
 /


s/The RDF Working Group proposes to make the following changes to align Turtle with SPARQL.
 /The RDF Working Group has added the following features, but they may be removed due to implementor feedback (this is ISSUE-89):
 /

s/[20]   DECIMAL ::= [+-]? ([0-9]* '.' [0-9]+)
 /[20]   DECIMAL ::= [+-]? [0-9]* '.' [0-9]+
 /


s/[168s] PN_LOCAL ::= (PN_CHARS_U | ':' | [0-9] | PLX) ((PN_CHARS | '.' | ':' | PLX)* PN_CHARS | ':' | PLX)?
 /[168s] PN_LOCAL ::= (PN_CHARS_U | ':' | [0-9] | PLX) ((PN_CHARS | '.' | ':' | PLX)* (PN_CHARS | ':' | PLX))?
 /

CSS smoke that appears only in editor's draft:
  '.' after sections
  "Example n" above examples
  "Note\n" before "Prefixed names are a superset of XML QNames"
  RFC2112 upcased

-- 
-ericP

office: +1.617.599.3509
mobile: +33.6.80.80.35.59

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

There are subtle nuances encoded in font variation and clever layout
which can only be seen by printing this message on high-clay paper.
Received on Wednesday, 23 October 2013 14:50:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:33 UTC