You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@any23.apache.org by si...@apache.org on 2012/01/13 16:07:50 UTC

svn commit: r1231119 - /incubator/any23/trunk/src/site/apt/supported-formats.apt

Author: simonetripodi
Date: Fri Jan 13 15:07:50 2012
New Revision: 1231119

URL: http://svn.apache.org/viewvc?rev=1231119&view=rev
Log:
minor format

Modified:
    incubator/any23/trunk/src/site/apt/supported-formats.apt

Modified: incubator/any23/trunk/src/site/apt/supported-formats.apt
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/src/site/apt/supported-formats.apt?rev=1231119&r1=1231118&r2=1231119&view=diff
==============================================================================
--- incubator/any23/trunk/src/site/apt/supported-formats.apt (original)
+++ incubator/any23/trunk/src/site/apt/supported-formats.apt Fri Jan 13 15:07:50 2012
@@ -47,15 +47,15 @@ Supported Formats in Apache Any23
      Given the following example statements (expressed in N-Quads format):
 
 +-------------------------------------------------------------------------------
-   _:bn1          <http://pred/1> <http://value/1>         <http://graph/1> .
-   <http://sub/2> <http://pred/2> "language literal"@en    <http://graph/2> .
-   <http://sub/3> <http://pred/3> "123"^^<http://datatype> <http://graph/3> .
+_:bn1          <http://pred/1> <http://value/1>         <http://graph/1> .
+<http://sub/2> <http://pred/2> "language literal"@en    <http://graph/2> .
+<http://sub/3> <http://pred/3> "123"^^<http://datatype> <http://graph/3> .
 +-------------------------------------------------------------------------------
 
      these will be represented as:
 
 +-------------------------------------------------------------------------------
- {
+{
     "quads" : [
         [
             {
@@ -98,24 +98,24 @@ Supported Formats in Apache Any23
             "http://graph/3"
         ]
     ]
- }
+}
 +-------------------------------------------------------------------------------
 
     The <<JSON object>> structure is described by the following <<BNF>> rules,
     where quotes are omitted to improve readability:
 
 +-------------------------------------------------------------------------------
- <json-response> ::= { "quads" : <statements> }
- <statements>    ::= [ <statement>+ ]
- <statement>     ::= [ <subject> , <predicate> , <object> , <graph> ]
- <subject>       ::= { "type" : <subject-type> , "value" : <value> }
- <predicate>     ::= <uri>
- <object>        ::= { "type" : <object-type> , "value" : <value> , "lang" : <lang> , "datatype" : <datatype> }
- <graph>         ::= <uri> | null
- <subject-type>  ::= "uri" | "bnode"
- <object-type>   ::= "uri" | "bnode"| "literal"
- <value>         ::= String
- <lang>          ::= String | null
- <datatype>      ::= <uri>  | null
- <uri>           ::= String
+<json-response> ::= { "quads" : <statements> }
+<statements>    ::= [ <statement>+ ]
+<statement>     ::= [ <subject> , <predicate> , <object> , <graph> ]
+<subject>       ::= { "type" : <subject-type> , "value" : <value> }
+<predicate>     ::= <uri>
+<object>        ::= { "type" : <object-type> , "value" : <value> , "lang" : <lang> , "datatype" : <datatype> }
+<graph>         ::= <uri> | null
+<subject-type>  ::= "uri" | "bnode"
+<object-type>   ::= "uri" | "bnode"| "literal"
+<value>         ::= String
+<lang>          ::= String | null
+<datatype>      ::= <uri>  | null
+<uri>           ::= String
 +-------------------------------------------------------------------------------