Update Turtle part of TriG grammar
authorGavin Carothers <gavin@carothers.name>
Tue, 18 Oct 2011 14:12:10 -0700
changeset 159 1c9eead4429e
parent 158 ec587b0bd3bc
child 160 7e8c8a4f3800
Update Turtle part of TriG grammar
trig/index.html
trig/trig.bnf
--- a/trig/index.html	Sat Oct 15 11:00:59 2011 -0700
+++ b/trig/index.html	Tue Oct 18 14:12:10 2011 -0700
@@ -184,7 +184,7 @@
               ex:homepage <http://www.monicamurphy.org> ;
               ex:email <mailto:[email protected]> ;
               ex:hasSkill ex:Management ,
-                          ex:Programming . } .
+                          ex:Programming . } 
 					</script>
 				</pre>
 				<p>A RDF Dataset may contain a default graph, and named graphs.</p>
--- a/trig/trig.bnf	Sat Oct 15 11:00:59 2011 -0700
+++ b/trig/trig.bnf	Tue Oct 18 14:12:10 2011 -0700
@@ -17,7 +17,7 @@
  
 [6] triples ::= subject predicateObjectList 
  
-[7] predicateObjectList ::= verb objectList ( ';' ( verb objectList )? )*
+[7] predicateObjectList ::= verb objectList ( ";" verb objectList )* (";")? 
  
 [8] objectList ::= object ( "," object )* 
  
@@ -73,7 +73,7 @@
  
 [18] PREFIX ::= "@prefix" 
  
-[70s] IRI_REF ::= "<" ( [^<>\"{}|^`\\] - [#0000- ] | UCHAR )* ">" 
+[70s] IRI_REF ::= "<" ( [^<>\"{}|^`\\] - [#x00-#x20] | UCHAR )* ">"
  
 [71s] PNAME_NS ::= (PN_PREFIX)? ":" 
  
@@ -154,4 +154,4 @@
 [100s] PN_LOCAL ::= ( PN_CHARS_U | [0-9] ) ( ( PN_CHARS | "." )* PN_CHARS )? 
  
 @pass ::= [ \t\r\n]+ 
- | "#" [^\r\n]* 
\ No newline at end of file
+ | "#" [^\r\n]*