ldpatch.html
author Andrei Sambra <andrei@w3.org>
Wed, 19 Nov 2014 20:08:44 -0500
branchldpatch
changeset 887 998408515484
parent 886 53e7f5b2f6f5
child 888 220214a92171
permissions -rw-r--r--
Added Media Type (mostly from Turtle) section and acknowledgements.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
     1
<!DOCTYPE html>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
     2
<html>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
     3
  <head>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
     4
    <title>Linked Data Patch Format</title>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
     5
    <meta charset='utf-8'>
725
f3c7fa4881b7 [ldpatch] adds text re: relation w/ SPARQL Update
Alexandre Bertails <alexandre@bertails.org>
parents: 724
diff changeset
     6
    <script src='//www.w3.org/Tools/respec/respec-w3c-common'
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
     7
            async class='remove'></script>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
     8
    <script class='remove'>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
     9
      var preProc = {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    10
        apply: function(c) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    11
                  // terms definitions
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    12
                  refs = document.querySelectorAll('tdef') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    13
                  for (var i = 0; i < refs.length; i++) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    14
                      var item = refs[i];
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    15
                      if (!item) continue ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    16
                      var p = item.parentNode ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    17
                      var con = item.innerHTML ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    18
                      var ref = item.getAttribute('title') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    19
                      if (!ref) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    20
                          ref = item.textContent ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    21
                      }
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    22
                      if (ref) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    23
                          ref = ref.replace(/\n/g, '_') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    24
                          ref = ref.replace(/\s+/g, '_') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    25
                      }
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    26
                      var sp = document.createElement( 'dfn' ) ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    27
                      sp.title = ref ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    28
                      sp.innerHTML = con ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    29
                      p.replaceChild(sp, item) ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    30
                  }
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    31
                  // term references
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    32
                  refs = document.querySelectorAll('tref') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    33
                  for (var i = 0; i < refs.length; i++) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    34
                      var item = refs[i];
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    35
                      if (!item) continue ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    36
                      var p = item.parentNode ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    37
                      var con = item.innerHTML ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    38
                      var ref = item.getAttribute('title') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    39
                      if (!ref) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    40
                          ref = item.textContent ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    41
                      }
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    42
                      if (ref) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    43
                          ref = ref.replace(/\n/g, '_') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    44
                          ref = ref.replace(/\s+/g, '_') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    45
                      }
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    46
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    47
                      var sp = document.createElement( 'a' ) ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    48
                      var id = item.textContent ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    49
                      sp.className = 'tref' ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    50
                      sp.title = ref ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    51
                      sp.innerHTML = con ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    52
                      p.replaceChild(sp, item) ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    53
                  }
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    54
              }
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    55
      };
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    56
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    57
      function updateExample(doc, content) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    58
        // perform transformations to make it render and prettier
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    59
        content = content.replace(/<!--/, '');
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    60
        content = content.replace(/-->/, '');
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    61
        content = doc._esc(content);
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    62
        content = content.replace(/\*\*\*\*([^*]*)\*\*\*\*/g, '<span class="hilite">$1</span>') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    63
        return content ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    64
      };
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    65
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    66
      function updateDTD(doc, content) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    67
        // perform transformations to
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    68
        // make it render and prettier
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    69
        content = '<pre class="dtd">' + doc._esc(content) + '</pre>';
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    70
        content = content.replace(/!ENTITY % ([^ \t\r\n]*)/g, '!ENTITY <span class="entity">% $1</span>');
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    71
        content = content.replace(/!ELEMENT ([^ \t$]*)/mg, '!ELEMENT <span class="element">$1</span>');
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    72
        return content;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    73
      };
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    74
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    75
      function updateSchema(doc, content) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    76
        // perform transformations to
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    77
        // make it render and prettier
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    78
        content = '<pre class="dtd">' + doc._esc(content) + '</pre>';
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    79
        content = content.replace(/&lt;xs:element\s+name=&quot;([^&]*)&quot;/g, '&lt;xs:element name="<span class="element" id="schema_element_$1">$1</span>"') ;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    80
        return content;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    81
      };
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    82
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    83
      function updateTTL(doc, content) {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    84
        // perform transformations to
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    85
        // make it render and prettier
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    86
        content = '<pre class="sh_sourceCode">' + doc._esc(content) + '</pre>';
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    87
        content = content.replace(/@prefix/g, '<span class="sh_keyword">@prefix</span>');
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    88
        return content;
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    89
      };
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    90
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    91
      var respecConfig = {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    92
          // specification status (e.g. WD, LCWD, WG-NOTE, etc.). If in doubt use ED.
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    93
          specStatus:           "ED",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    94
          
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    95
          // the specification's short name, as in http://www.w3.org/TR/short-name/
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
    96
          shortName:            "ldpatch",
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    97
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    98
          // if your specification has a subtitle that goes below the main
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
    99
          // formal title, define it here
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   100
          // subtitle   :  "an excellent document",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   101
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   102
          // if you wish the publication date to be other than the last modification, set this
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   103
          // publishDate:  "2009-08-06",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   104
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   105
          // if the specification's copyright date is a range of years, specify
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   106
          // the start date here:
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   107
          // copyrightStart: "2005"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   108
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   109
          // if there is a previously published draft, uncomment this and set its YYYY-MM-DD date
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   110
          // and its maturity status
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   111
          // previousPublishDate:  "1977-03-15",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   112
          // previousMaturity:  "WD",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   113
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   114
          // if there a publicly available Editor's Draft, this is the link
703
d272f5f55195 [ldpatch] update draft URL
Alexandre Bertails <bertails@gmail.com>
parents: 702
diff changeset
   115
          edDraftURI:           "https://dvcs.w3.org/hg/ldpwg/raw-file/ldpatch/ldpatch.html",
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   116
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   117
          // if this is a LCWD, uncomment and set the end of its review period
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   118
          // lcEnd: "2009-08-05",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   119
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   120
          // editors, add as many as you like
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   121
          // only "name" is required
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   122
          editors:  [
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   123
              {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   124
                  name:       "Alexandre Bertails"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   125
              ,   url:        "http://bertails.org/"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   126
              ,   mailto:     "alexandre@bertails.org"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   127
              ,   company:    "Pellucid Analytics"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   128
              ,   companyURL: "http://www.pellucid.com"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   129
              },
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   130
              {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   131
                  name:       "Pierre-Antoine Champin"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   132
              ,   url:        "http://liris.cnrs.fr/~pchampin/en/"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   133
              ,   mailto:     "pchampin@liris.cnrs.fr"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   134
              ,   company:    "Université de Lyon"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   135
              ,   companyURL: "http://www.universite-lyon.fr/"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   136
              },
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   137
              {
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   138
                  name:       "Andrei Sambra"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   139
              ,   url:        "https://deiu.rww.io/profile/card#me"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   140
              ,   mailto:     "asambra@mit.edu"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   141
              ,   company:    "MIT"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   142
              ,   companyURL: "http://web.mit.edu"
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   143
              },
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   144
          ],
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   145
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   146
          // name of the WG
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   147
          wg:           "Linked Data Platform Working Group",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   148
          
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   149
          // URI of the public WG page
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   150
          wgURI:        "http://www.w3.org/2012/ldp",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   151
          
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   152
          // name (without the @w3c.org) of the public mailing to which comments are due
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   153
          wgPublicList: "public-ldp-comments",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   154
          
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   155
          // URI of the patent status for this WG, for Rec-track documents
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   156
          // !!!! IMPORTANT !!!!
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   157
          // This is important for Rec-track documents, do not copy a patent URI from a random
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   158
          // document unless you know what you're doing. If in doubt ask your friendly neighbourhood
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   159
          // Team Contact.
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   160
          wgPatentURI:  "http://www.w3.org/Consortium/Patent-Policy-20040205/",
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   161
          // !!!! IMPORTANT !!!! MAKE THE ABOVE BLINK IN YOUR HEAD
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   162
          preProcess: [ preProc ]
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   163
      };
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   164
    </script>
745
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   165
    <style type="text/css">
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   166
.atrisk {
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   167
  padding:    1em;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   168
  margin: 1em 0em 0em;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   169
  border: 1px solid #f00;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   170
  background: #ffc;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   171
}
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   172
.atrisktext {
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   173
  /* content:    "Feature At Risk"; */
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   174
  display:    block;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   175
  width:  150px;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   176
  margin: -1.5em 0 0.5em 0;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   177
  font-weight:    bold;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   178
  border: 1px solid #f00;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   179
  background: #fff;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   180
  padding:    3px 1em;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   181
}
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   182
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   183
div.rule {padding-top: 1em;}
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   184
div.ldp-issue {
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   185
  border-color: #E05252;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   186
  background: #FBE9E9;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   187
  padding: 0.5em;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   188
  margin: 1em 0;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   189
  position: relative;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   190
  clear: both;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   191
  border-left-width: .5em;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   192
  border-left-style: solid;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   193
}
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   194
div.ldp-issue-title {
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   195
  color: #E05252;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   196
  padding-right: 1em;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   197
  min-width: 7.5em;
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   198
}
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   199
    </style>
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   200
  </head>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   201
  <body>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   202
    <section id='abstract'>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   203
      <p>
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   204
Linked Data Patch Format (LD Patch) defines a language for expressing a sequence of operations to apply to Linked Data resources; it is suitable for use with the HTTP PATCH method. <!-- The "text/ldpatch" media type is used to identify such Patch documents.-->
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   205
      </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   206
    </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   207
    
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   208
    <section id='sotd'>
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   209
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   210
      <p id="alternative-designs">
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   211
 	Although the Linked Data Platform (LDP) Working Group is currently favoring LD Patch, it seeks more input in deciding which format to promote for use in <a href="http://www.w3.org/TR/ldp/#h4_ldpr-HTTP_PATCH">LDP PATCH</a> [[!LDP]] operations on <a href="http://www.w3.org/TR/ldp/#ldprs">RDF Sources</a>.  Other viable candidates include:</p>
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   212
      
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   213
      <ul>
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   214
	<li><a href="http://www.w3.org/TR/sparql11-http-rdf-update/#http-patch">SPARQL 1.1 Update</a> &mdash; already standardized, but quite complex for LDP scenarios</li>
794
8cda216327b8 Fixed link to SparqlPatch. See http://lists.w3.org/Archives/Public/public-ldp-wg/2014Sep/0000.html
Alexandre Bertails <alexandre@bertails.org>
parents: 776
diff changeset
   215
	<li><a href="http://www.w3.org/2001/sw/wiki/SparqlPatch">SparqlPatch</a> &mdash; restricted to a simple subset of SPARQL 1.1 Update</li>
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   216
	<li><a href="http://www.w3.org/2001/sw/wiki/TurtlePatch">TurtlePatch</a> &mdash; uses an even simpler subset, but requires unusual handling of blank nodes</li>
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   217
	<li><a href="http://afs.github.io/rdf-patch/">RDF Patch</a> &mdash; simple, but also requires unusual handling of blank nodes</li>
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   218
      </ul>
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   219
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   220
      <p>
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   221
	At this point, the advantage leans towards LD Patch in terms of simplicity, ease of implementation, and run-time performance on anticipated data.  We welcome data relevant to this decision.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   222
      </p>
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   223
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   224
    </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   225
    
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   226
    <section class='informative' id='introduction'>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   227
      <h1>Introduction</h1>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   228
      <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   229
Linked Data “describes a method of publishing structured data so that it can be interlinked and become more useful. It builds upon standard Web technologies such as HTTP, RDF and URIs, but rather than using them to serve web pages for human readers, it extends them to share information in a way that can be read automatically by computers. This enables data from different sources to be connected and queried.” (source Wikipedia).
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   230
      </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   231
      <p>
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   232
This document defines the Linked Data Patch Format (LD Patch), a format for describing changes to apply to Linked Data. It is suitable for use with <a href="http://tools.ietf.org/html/rfc5789">HTTP PATCH</a> [[!rfc5789]], a method to perform partial modifications to Web resources. <!-- The "text/ldpatch" media type is prospectively used to identify such LD Patch documents.-->
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   233
      </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   234
      <p>
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
   235
An instance of the LD Patch language (or LD Patch document) defines a list of operations to be performed against a Linked Data resource, namely the addition or removal of RDF [[!rdf11-concepts]] triples in this graph.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   236
      </p>
725
f3c7fa4881b7 [ldpatch] adds text re: relation w/ SPARQL Update
Alexandre Bertails <alexandre@bertails.org>
parents: 724
diff changeset
   237
f3c7fa4881b7 [ldpatch] adds text re: relation w/ SPARQL Update
Alexandre Bertails <alexandre@bertails.org>
parents: 724
diff changeset
   238
      <p id="relation-sparql-update">
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   239
        The LD Patch format described in this document should be seen as an “assembly language” for updating <a href="http://www.w3.org/TR/rdf11-concepts/#section-rdf-graph">RDF Graphs</a> in a resource-centric fashion. It is the intention to confine its expressive power to an RDF diff with <a class="internalDFN" href="#pathological-graph">partial support for blank nodes</a> and <code>rdf:List</code> manipulations. For more powerful operations on RDF Graphs and Quad Stores, the LDP WG recommends the reader to consider <a href="http://www.w3.org/TR/sparql11-update/">SPARQL Update</a> [[sparql11-update]].
745
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   240
      </p>
727
8b261730c022 [ldpatch] added section on pathological graphs
Alexandre Bertails <alexandre@bertails.org>
parents: 726
diff changeset
   241
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   242
    </section>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   243
      
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   244
    <section class='normative' id='language-features'>
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   245
      <h1>LD Patch Semantics</h1>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   246
      <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   247
An LD Patch document is applied to a Linked Data resource identified by an URI (the <dfn>target URI</dfn>) and represented by an RDF graph (the <dfn>target graph</dfn>). It is made of a prologue and a list of statements, where the order is relevant. The prologue declares a number of <a>prefixes</a> used to abbreviate URIs. Then each statement either binds a variable to a matching node from the <a>target graph</a>, or specified a modification on the <a>target graph</a>.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   248
      </p>
745
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   249
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   250
727
8b261730c022 [ldpatch] added section on pathological graphs
Alexandre Bertails <alexandre@bertails.org>
parents: 726
diff changeset
   251
      <section id="prefixes">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   252
        <h2><dfn>Prefixes</dfn></h2>
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   253
        <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   254
LD Patch offers the possibility to abbreviate URIs by using <a href="http://www.w3.org/TR/turtle/">Turtle</a>'s <code>@prefix</code> directive that allows declaring a short prefix name for a long prefix of repeated URIs. This is useful for many RDF vocabularies that are all defined in nearby namespace URIs [[!rdf11-concepts]], possibly using XML's namespace mechanism [[!xml-names11]] that works in a similar fashion.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   255
        </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   256
        <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   257
Once a prefix such as <code>@prefix foo: &lt;http://example.org/ns#&gt;</code> is defined, any mention of a URI later in the document may use a <a class="internalDFN" href="#grammar-production-PrefixedName">PrefixedName</a> that starts with <code>foo:</code> to stand for the longer URI. So for example, the <a class="internalDFN" href="#grammar-production-PrefixedName">PrefixedName</a> <code>foo:bar</code> is a shorthand for the URI <code>&lt;http://example.org/ns#bar&gt;</code>.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   258
        </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   259
      </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   260
727
8b261730c022 [ldpatch] added section on pathological graphs
Alexandre Bertails <alexandre@bertails.org>
parents: 726
diff changeset
   261
      <section id="node-matching-semantics">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   262
        <h2><dfn>Node Matching Semantics</dfn></h2>
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   263
        <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   264
            LD Patch borrows much of its syntax and semantics from <a href="http://www.w3.org/TR/turtle/">Turtle</a> [[turtle]] and <a href="http://www.w3.org/TR/sparql11-query/">SPARQL</a> [[sparql11-query]] for describing nodes. <a class="internalDFN" href="#grammar-production-iri">IRI</a>s (either abbreviated or not) and <a class="internalDFN" href="#grammar-production-literal">literals</a> represent the corresponding node in the <a>target graph</a>. 
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   265
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   266
<a class="internalDFN" href="#grammar-production-BlankNode">Blank nodes</a>, on the other hand, pose a problem, as they have no global identifier. Indeed, blank node identifiers have a limited scope, which in the case of LD Patch is the LD Patch document in which they appear. As a consequence, <dfn id="blank-node-scoping">any blank node identifier appearing in an LD Patch document is understood to denote a <em>fresh</em> blank node</dfn>, that needs to be created in the <a>target graph</a>. Therefore blank node identifiers in LD Patch cannot interfere with existing blank nodes in the <a>target graph</a>.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   267
        </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   268
        <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   269
In order to be able to address blank nodes already present in the graph, LD Patch has two mechanisms: <a>Bind</a>ing a variable to a blank node reachable with a <a>path expression</a>, and <a>UpdateList</a> to deal with those blank nodes that constitute RDF collections. There are cases where those mechanisms will not be able to unambiuously address a given blank node, but those cases are deemed <a href="#pathological-graph">pathological</a>, and are out of the scope of this specification.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   270
        </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   271
      </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   272
727
8b261730c022 [ldpatch] added section on pathological graphs
Alexandre Bertails <alexandre@bertails.org>
parents: 726
diff changeset
   273
      <section id="path-expression">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   274
        <h2><dfn>Path Expression</dfn></h2>
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   275
        <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   276
LD Patch uses path expressions to describe possible routes through the <a>target graph</a> between two graph nodes. The main goal is to allow addressing a blank node by “walking” the arcs of the graph from an already identified node. A path is a sequence of <dfn>Step</dfn>s and <dfn>Constraint</dfn>s, which are applied in order to a set of nodes <var>ns</var>. <a>Step</a>s can be of three kinds:
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   277
        </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   278
        <ul>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   279
          <li>A <dfn>StepForward</dfn> is defined by a URI <var>p</var>, and consists in following the corresponding outgoing arcs: <var>ns</var> is replaced by the set of the objects of all triples from the <a>target graph</a> with predicate <var>p</a> and their subject in <var>ns</var>.</li>
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   280
          <li>A <dfn>StepBackward</dfn> is defined by a URI <var>p</var> preceded with the caret ("<code>^</code>") sign, and consists in following the corresponding incoming arcs: <var>ns</var> is replaced by the set of the subjects of all triples from the <a>target graph</a> with predicate <var>p</var> and their object in <var>ns</var>.</li>
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   281
          <li>A <dfn>StepAt</dfn> is defined by an integer <i>n</i>, and consists in following <var>n</var> <code>rdf:rest</code> arcs and one <code>rdf:first</code> arc in order to reach the corresponding member of an RDF collection. It is equivalent to a sequence of <var>n</var>+1 <a>StepForward</a>s wit the the corresponding URIs.</li>
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   282
        </ul>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   283
        <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   284
<a>Constraint</a>s can be of two kinds:
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   285
        </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   286
        <ul>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   287
          <li>A <dfn>Unicity constraint</dfn>, described by the <em>bang</em> ("<code>!</code>") character, checks that <var>ns</var> contains exactly one node. If this is not the case, <var>ns</var> is replaced by the empty set (which amounts for the Path Expression to fail).</li>
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   288
          <li>A <dfn>Filter</dfn>, consisting of a path <var>p</var> in square brackets ("<code>[</code>", "<code>]</code>"), keeps only nodes that “satisfy” the enclosed path, i.e. those from which the enclosed path reaches at least one node: <var>ns</var> is replaced by the subset of its elements <var>n</var> such that applying <var>p</var> to {<var>n</var>} results in a non-empty set. </li>
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   289
          <li>Additionally, the path in a <a>filter</a> can be followed by the equal ("<code>=</code>") sign and a <tref>Value</tref> <var>v</var>. In that case, only the node for which that particular value is reached through the enclosed path are kept: <var>ns</var> is replaced by the subset of its elements <var>n</var> such that applying <var>p</var> to {<var>n</var>} results in a set containing <var>v</var>.</li>
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   290
        </ul>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   291
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   292
        <p>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   293
The following path expression (taken from the <a href="#examples">Examples section</a>) will look for all the events matching the predicate <code>schema:performerIn</code>, keeping only the one matching the URL <code>&lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt;</code>.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   294
        <pre class='example'>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   295
/schema:performerIn[/schema:url = &lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt;]
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   296
        </pre>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   297
        </p>
745
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   298
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   299
	<div class="ldp-issue">
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   300
	    <div class="ldp-issue-title"><a href="http://www.w3.org/2012/ldp/track/issues/100">ISSUE-100</a></div>
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   301
	    Should ld-patch use a slash like sparql does, instead of as it currently does?
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   302
	</div>
4c0cabfd1189 * new section on alternatives
Alexandre Bertails <bertails@gmail.com>
parents: 728
diff changeset
   303
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   304
      </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   305
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   306
      <section id="patch-operations">
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   307
        <h2>Patch Operations</h2>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   308
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   309
        <section id="bind-statement">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   310
          <h2><dfn>Bind</dfn></h2>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   311
          <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   312
              The <a>Bind</a> operation is used to create a new variable by binding or assigning an RDF Term to the variable. The process results in a variable being bound to exactly one node. The scope of the bound variable is the entire LD Patch document: use of a given variable name anywhere in an LD Patch document identifies the same variable, although variables can be overriden in subsequent <a>Bind</a> statements. Following the example above, the <a>Bind</a> operation creates a new variable called <code>event</code>, starting from the RDF Term <code>&lt;#&gt;</code> and following the path expression <code>/schema:performerIn[/schema:url = &lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt;]</code> in order to identify the RDF Term to which this variable will be bound to – i.e. <code>_:b2</code>.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   313
          <pre class='example'>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   314
Bind ?event &lt;#&gt; /schema:performerIn[/schema:url = &lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt;] .
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   315
          </pre>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   316
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   317
          <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   318
              The <a>Bind</a> operation is defined by three components: <a>Var</a>, <a>Value</a> and <a">Path</a>, the last component being optional.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   319
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   320
          <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   321
              <dfn>Var</dfn> contains a unique name for the new variable. Variables are prefixed by the "<code>?</code>" character, which is not part of the variable name.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   322
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   323
          <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   324
              <dfn>Value</dfn> is the RDF Term that will be used as starting point when following the path expression.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   325
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   326
          <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   327
              <dfn>Path</dfn> is the expression that is used to identify the RDF Term to which the Variable will be bound. It is comprised of <a>Step</a>(s) and/or <a>Constraint</a>(s).
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   328
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   329
        </section>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   330
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   331
        <section id="add-statement">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   332
          <h2><dfn>Add</dfn></h2>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   333
          <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   334
The <a>Add</a> operation is used to append new RDF triples to the <a>target graph</a>. To add new RDF triples, the operation requires valid <a href="http://www.w3.org/TR/turtle/#sec-grammar-grammar">Turtle syntax</a> between curly braces – i.e. <code>{</code> and <code>}</code>. <a>Var</a>iables can also be used, provided they have been previously defined.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   335
          <pre class='example'>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   336
Add { 
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   337
    &lt;#&gt; profile:first_name "Timothy" ;
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   338
        profile:image &lt;https://example.org/timbl.jpg&gt; .
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   339
} .
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   340
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   341
Add { ?event rdf:type schema:Event } .
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   342
          </pre>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   343
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   344
        </section>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   345
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   346
        <section id="delete-statement">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   347
          <h2><dfn>Delete</dfn></h2>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   348
          <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   349
              The <a>Delete</a> operation is used to remove one or more RDF triples from the <a>target graph</a>. The syntax for the <a>Delete</a> operation requires valid <a href="http://www.w3.org/TR/turtle/#sec-grammar-grammar">Turtle syntax</a> between curly braces – i.e. <code>{</code> and <code>}</code>. Similar to the <a>Add</a> operation, variables can also be used within the <a>Delete</a> operation. Blank nodes identifiers are allowed in <a>Delete</a> statements but <a href="#blank-node-scoping">they remain scoped to the LD Patch document</a>, so they can only match a blank node previously added by the same LD Patch document.
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   350
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   351
          <pre class='example'>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   352
Delete { &lt;#&gt; profile:first_name "Tim" } .
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   353
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   354
Delete { ?ted schema:startDate "2009-02-04" } .
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   355
          </pre>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   356
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   357
        </section>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   358
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   359
        <section id="cut-statement">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   360
          <h2><dfn>Cut</dfn></h2>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   361
          <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   362
              The <a>Cut</a> operation is used to remove one or more triples from the <a>target graph</a>, having a matching <a class="internalDFN" href="#grammar-production-subject">subject</a> that corresponds to either an IRI or a previously bound varible.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   363
          <pre class='example'>
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   364
Bind ?workLocation &lt;#&gt; /schema:workLocation .
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   365
Cut ?workLocation.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   366
          </pre>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   367
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   368
        </section>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   369
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   370
        <section id="update-list-statement">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   371
          <h2><dfn>UpdateList</dfn></h2>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   372
          <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   373
  The UpdateList operation is used to update the members of an <a href="http://www.w3.org/TR/rdf-schema/#ch_collectionvocab">RDF collection</a>. That collection is supposed to be the object of a triple, specified by its <a class="internalDFN" href="#grammar-production-subject">subject</a> and <a class="internalDFN" href="#grammar-production-predicate">predicate</a>. A <tref>Slice</tref> specification then describes which members (if any) of the collections are affected by the operation, and then a <a class="internalDFN" href="#grammar-production-collection">collection</a> of new members is provided. In the example below, UpdateList is used to replace the second member of a collection by the literal "fr-CH".
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   374
          <pre class='example'>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   375
UpdateList &lt;#&gt; ex:preferredLanguages 1..2 ( "fr-CH" ) .
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   376
          </pre>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   377
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   378
          <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   379
              <a>UpdateList</a> works in a similar way than <a href="https://docs.python.org/3/reference/expressions.html#slicings">slicing in Python</a> or similar languages. In general, it replaces a <dfn>slice</dfn> of a list by another list. To remove members, one can replace them by an empty list. To insert new values between two members, one can set a non empty list to the empty slice comprised between those two members.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   380
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   381
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   382
          <p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   383
  In LD Patch, a slice is described by two positive integers separated by "<code>..</code>". The second integer can be omitted, in that case it denotes the end of the list. If both integers are omitted (i.e. "<code>..</code>" alone), this denotes by convention the empty slice at the end of the list. Indexes start at 0.
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   384
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   385
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   386
          <p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   387
            The following example shows the syntax for appending elements to a list:
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   388
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   389
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   390
          <pre class='example'>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   391
UpdateList &lt;#&gt; ex:preferredLanguages .. ( "fr-CH" ) .
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   392
          </pre>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   393
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   394
          <p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   395
            In this final example, we replace all the elements after index 2 with the provided list:
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   396
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   397
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   398
          <pre class='example'>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   399
UpdateList &lt;#&gt; ex:preferredLanguages 2.. ( "fr-CH" ) .
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   400
          </pre>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   401
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   402
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   403
        </section>
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   404
      </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   405
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   406
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   407
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   408
      <section id="error-handling">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   409
        <h2><dfn>Error Handling</dfn></h2>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   410
        <p>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   411
LD Patch abides to the semantics of the <a href="http://tools.ietf.org/html/rfc5789">HTTP PATCH method</a> [[!rfc5789]], in that the server <cite>MUST apply the entire set of changes atomically and never provide (e.g., in response to a GET during this operation) a partially modified representation. If the entire patch document cannot be successfully applied (e.g., one of the instructions has failed), then the server MUST NOT apply any of the changes</cite>. In the case LD Patch operations fail to be applied, "Error Handling" in <a href="http://tools.ietf.org/html/rfc5789#section-2.2">[RFC5789], Section 2</a> specifies the error codes to be used.
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   412
        </p>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   413
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   414
	<p>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   415
            Here are some additional error conditions more specific to LD Patch:
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   416
        </p>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   417
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   418
        <ul>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   419
            <li id="bind-unique-match">If a <code>Bind</code> statement fails to match exactly one node, then a 422 (Unprocessable Entity) status MUST be returned.</li>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   420
            <li id="unicity-constraint-violated">If a <a>Unicity constraint</a> is violated, then a 422 (Unprocessable Entity) status MUST be returned.</li>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   421
            <li id="cut-nothing">If a <a>Cut</a> operation fail to remove any triple, then a 422 (Unprocessable Entity) status MUST be returned.</li>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   422
            <li id="delete-non-existing-triple">If a <a>Delete</a> attempts to remove a non-existing triple, then a 422 (Unprocessable Entity) status MUST be returned.</li>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   423
            <li id="updatelist-non-list-argument">If the <a class="internalDFN" href="#grammar-production-subject">subject</a> and <a class="internalDFN" href="#grammar-production-predicate">predicate</a> provided to a <a>UpdateList</a> operation fail to match a collection, then a 422 (Unprocessable Entity) status MUST be returned.</li>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   424
        </ul>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   425
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   426
        <p>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   427
            Note: 422 (Unprocessable Entity) is defined in section <a href="http://tools.ietf.org/html/rfc4918#section-11.2">"11.2. 422 Unprocessable Entity"</a> of [[!rfc4918]].
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   428
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   429
        </p>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   430
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   431
      </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   432
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   433
      <section id="pathological-graph">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   434
        <h2><dfn>Pathological Graph</dfn></h2>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   435
          <p>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   436
            There exists a particular case which LD Patch is not able to address. Given an RDF graph <var>G</var>, a blank node <var>b</var> is said to be unambiguous in <var>G</var> if there exists a couple <var>(n, p)</var> where
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   437
          <ul>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   438
            <li><var>n</var> is a URI or a literal</li>
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   439
            <li><var>p</var> is an LD <a>Path Expression</a></li>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   440
          </ul>
886
53e7f5b2f6f5 a few improvements on LD Patch Intro and Semantics
Pierre-Antoine <pchampin@liris.cnrs.fr>
parents: 885
diff changeset
   441
          such that applying <var>p</var> to {<var>n</var>} results in the singleton set {<var>b</var>}.
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   442
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   443
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   444
          <p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   445
  It is easy to see that only the unambiguous blank nodes of a graph can be handled in LD Patch.
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   446
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   447
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   448
          <p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   449
  Consider for example the following graph:
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   450
          </p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   451
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   452
        <pre class='example'>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   453
&lt;#&gt; foaf:name "Alice" ; foaf:knows _:b1, _:b2 .
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   454
_:b1 a foaf:Person .
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   455
_:b2 a foaf:Person ; schema:workLocation _:b3 .
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   456
_:b3 schema:name "W3C/MIT" .
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   457
        </pre>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   458
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   459
        <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   460
          The blank nodes <code>_:b2</code> and <code>_:b3</code> are unambiguous as they can be reached unambiguoulsy from the literal <code>"W3C/MIT"</code>). The blank node <code>_:b1</code>, on the other hand, is ambigious as all path expressions that can can match it would also match <code>_:b2</code>.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   461
        </p>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   462
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   463
        <!-- p>
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   464
          This kind of node is not particularly interesting in RDF, as its presence does not change the semantics of the graph. Indeed, if we remove <code>_:b2</code> and all its triples from the graph above, the resulting graph would be semantically equivalent to the original graph.
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   465
        </p-->
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   466
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   467
        <p>
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   468
          Another example is a graph containing only blank nodes. All its nodes are therefore ambiguous as they can not be reached from a URI or a literal. Such a graph is not interesting in the context of Linked Data as it contains no URI to link to or from it.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   469
        </p>
728
b59441421b0f [ldpatch] some cleaning
Alexandre Bertails <alexandre@bertails.org>
parents: 727
diff changeset
   470
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   471
        <p>
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   472
          Therefore, ambiguous blank nodes are considered a pathological case in the context of Linked Data, and so the fact that they cannot be coped with in LD Patch is deemed acceptable. Furthermore, their presence in a graph does not prevent the other nodes of that graph to be handled by LD Patch. In fact, all <a href="http://www.w3.org/TR/rdf11-mt/#dfn-lean">non-lean graphs</a> [[!rdf11-mt]] can be considered to be pathological.
728
b59441421b0f [ldpatch] some cleaning
Alexandre Bertails <alexandre@bertails.org>
parents: 727
diff changeset
   473
        </p>
b59441421b0f [ldpatch] some cleaning
Alexandre Bertails <alexandre@bertails.org>
parents: 727
diff changeset
   474
882
1f0c234f4bce Made editorial changes as suggested from comments. Restructured the spec. Updated the Add/Delete operation and added a placeholder for Cut. Fixed typos.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 880
diff changeset
   475
        </section>
728
b59441421b0f [ldpatch] some cleaning
Alexandre Bertails <alexandre@bertails.org>
parents: 727
diff changeset
   476
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   477
      </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   478
    </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   479
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   480
    <section id="examples" class="informative">
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   481
      <h2>Examples</h2>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   482
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   483
      <p>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   484
        The following RDF Graph will be used as an example through this specification. It describes the relation between a person named Tim Berners-Lee (denoted by <code>&lt;http://example.org/timbl#&gt;</code>) and two events he attended.
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   485
      </p>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   486
      <pre class='example'>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   487
@prefix schema: &lt;http://schema.org/&gt; .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   488
@prefix profile: &lt;http://ogp.me/ns/profile#&gt; .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   489
@prefix ex: &lt;http://example.org/vocab#&gt; .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   490
@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   491
&lt;#&gt; a schema:Person ;
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   492
  schema:alternateName "TimBL" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   493
  profile:first_name "Tim" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   494
  profile:last_name "Berners-Lee" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   495
  schema:workLocation [ schema:name "W3C/MIT" ] ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   496
  schema:performerIn _:b1, _:b2 ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   497
  ex:preferredLanguages ( "en" "fr" ).
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   498
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   499
_:b1 schema:name "F2F5 - Linked Data Platform" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   500
  schema:url &lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt; .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   501
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   502
_:b2 a schema:Event ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   503
  schema:name "TED 2009" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   504
  schema:startDate "2009-02-04" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   505
  schema:url &lt;http://conferences.ted.com/TED2009/&gt; .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   506
      </pre>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   507
      <p>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   508
The following is an example HTTP Patch request, conveying an LD Patch document:
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   509
      </p>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   510
      <pre class='example'>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   511
PATCH /timbl HTTP/1.1
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   512
Host: example.org
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   513
Content-Length: 478
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   514
Content-Type: text/ldpatch
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   515
If-Match: "abc123"
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   516
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   517
@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   518
@prefix schema: &lt;http://schema.org/&gt; .
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   519
@prefix profile: &lt;http://ogp.me/ns/profile#&gt; .
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   520
@prefix ex: &lt;http://example.org/vocab#&gt; .
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   521
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   522
Delete { &lt;#&gt; profile:first_name "Tim" } .
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   523
Add {
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   524
  &lt;#&gt; profile:first_name "Timothy" ;
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   525
    profile:image &lt;https://example.org/timbl.jpg&gt; .
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   526
} .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   527
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   528
Bind ?workLocation &lt;#&gt; /schema:workLocation .
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   529
Cut ?workLocation.
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   530
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   531
UpdateList &lt;#&gt; ex:preferredLanguages 1..2 ( "fr-CH" ) .
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   532
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   533
Bind ?event &lt;#&gt; /schema:attendee[/schema:url = &lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt;]  .
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   534
Add { ?event rdf:type schema:Event } .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   535
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   536
Bind ?ted &lt;http://conferences.ted.com/TED2009/&gt; /^schema:url! .
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   537
Delete { ?ted schema:startDate "2009-02-04" } .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   538
Add {
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   539
  ?ted schema:location [
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   540
    schema:name "Long Beach, California" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   541
    schema:geo [
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   542
      schema:latitude "33.7817" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   543
      schema:longitude "-118.2054"
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   544
    ]
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   545
  ]
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   546
} .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   547
      </pre>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   548
      <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   549
          This example introduces most features of the LD Patch format: <code>@prefix</code> and prefixed names, the <a>Add</a>, <a>Delete</a>, <a>Cut</a>, and <a>UpdateList</a> operations, the <a>Bind</a>-ing mechanism and blank node creation. The "text/ldpatch" media type is <a href="#media-registration">prospectively</a> used to identify such LD Patch documents.
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   550
      </p>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   551
      <p>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   552
The following is the resulting (patched) document.
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   553
      </p>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   554
      <pre class='example'>
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   555
@prefix schema: &lt;http://schema.org/&gt; .
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   556
@prefix profile: &lt;http://ogp.me/ns/profile#&gt; .
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   557
@prefix ex: &lt;http://example.org/vocab#&gt; .
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   558
@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   559
&lt;#&gt; a schema:Person ;
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   560
  schema:alternateName "TimBL" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   561
  profile:first_name "Timothy" ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   562
  profile:last_name "Berners-Lee" ;
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   563
  profile:image &lt;https://example.org/timbl.jpg&gt; ;
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   564
  schema:attendee _:b1, _:b2 ;
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   565
  ex:preferredLanguages ( "en" "fr-CH" ).
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   566
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   567
_:b1 a schema:Event ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   568
  schema:name "F2F5 - Linked Data Platform" ;
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   569
  schema:url &lt;https://www.w3.org/2012/ldp/wiki/F2F5&gt; .
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   570
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   571
_:b2 a schema:Event ;
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   572
  schema:name "TED 2009" ;
885
91b421e26b16 Added a note about non-lean pathological graphs. Added Cut example. Fixed the URIs in examples.
Andrei Sambra <andrei@w3.org>
parents: 884
diff changeset
   573
  schema:url &lt;http://conferences.ted.com/TED2009/&gt; ;
883
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   574
  schema:location [
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   575
    schema:name "Long Beach, California";
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   576
    schema:geo [ schema:latitude "33.7817" ; schema:longitude "-118.2054" ]
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   577
  ] .
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   578
      </pre>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   579
    </section>
465e21e46365 Moved the examples before the Concrete Syntax. Fixed typo for LD Patch Syntax->Semantics.
Andrei Sambra <andrei.sambra@gmail.com>
parents: 882
diff changeset
   580
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   581
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   582
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   583
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   584
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   585
    <section id='concrete-syntax'>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   586
      <h1>Concrete Syntax</h1>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   587
      <p>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   588
          The LD Patch grammar shares most of its production rules with [[!turtle]], which are extended to allow variables in the <a class="internalDFN" href="#grammar-production-subject">subject</a> and <a class="internalDFN" href="#grammar-production-object">object</a> position.
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   589
      </p>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   590
      <!-- do not edit manually, this is automatically generated -->
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   591
<table class="grammar">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   592
  <tbody class="grammar-productions">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   593
<tr id="grammar-production-ldpatch">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   594
    <td>[1]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   595
    <td><a href="#grammar-production-ldpatch">ldpatch</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   596
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   597
    <td><a href="#grammar-production-prologue">prologue</a> <a href="#grammar-production-statement">statement</a>*</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   598
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   599
<tr id="grammar-production-prologue">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   600
    <td>[2]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   601
    <td><a href="#grammar-production-prologue">prologue</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   602
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   603
    <td><a href="#grammar-production-prefixID">prefixID</a>*</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   604
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   605
<tr id="grammar-production-statement">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   606
    <td>[3]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   607
    <td><a href="#grammar-production-statement">statement</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   608
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   609
    <td><a href="#grammar-production-bind">bind</a> | <a href="#grammar-production-add">add</a> | <a href="#grammar-production-delete">delete</a> | <a href="#grammar-production-updateList">updateList</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   610
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   611
<tr id="grammar-production-bind">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   612
    <td>[4]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   613
    <td><a href="#grammar-production-bind">bind</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   614
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   615
    <td>("<code class="grammar-literal">Bind</code>" | "<code class="grammar-literal">B</code>") <a href="#grammar-production-Var">Var</a> <a href="#grammar-production-value">value</a> <a href="#grammar-production-path">path</a>? "<code class="grammar-literal">.</code>"</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   616
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   617
<tr id="grammar-production-add">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   618
    <td>[5]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   619
    <td><a href="#grammar-production-add">add</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   620
    <td>::=</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   621
    <td>("<code class="grammar-literal">Add</code>" | "<code class="grammar-literal">A</code>") "<code class="grammar-literal">{</code>" <a href="#grammar-production-graph">graph</a> "<code class="grammar-literal">}</code>" "<code class="grammar-literal">.</code>"</td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   622
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   623
<tr id="grammar-production-delete">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   624
    <td>[6]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   625
    <td><a href="#grammar-production-delete">delete</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   626
    <td>::=</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   627
    <td>("<code class="grammar-literal">Delete</code>" | "<code class="grammar-literal">D</code>") "<code class="grammar-literal">{</code>" <a href="#grammar-production-graph">graph</a> "<code class="grammar-literal">}</code>" "<code class="grammar-literal">.</code>"</td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   628
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   629
<tr id="grammar-production-cut">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   630
    <td>[7]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   631
    <td><a href="#grammar-production-cut">cut</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   632
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   633
    <td>("<code class="grammar-literal">Cut</code>" | "<code class="grammar-literal">C</code>") (<a href="#grammar-production-iri">iri</a> | <a href="#grammar-production-Var">Var</a>) "<code class="grammar-literal">.</code>"</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   634
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   635
<tr id="grammar-production-updateList">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   636
    <td>[8]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   637
    <td><a href="#grammar-production-updateList">updateList</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   638
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   639
    <td>("<code class="grammar-literal">UpdateList</code>" | "<code class="grammar-literal">UL</code>") <a href="#grammar-production-subject">subject</a> <a href="#grammar-production-predicate">predicate</a> <a href="#grammar-production-slice">slice</a> <a href="#grammar-production-collection">collection</a> "<code class="grammar-literal">.</code>"</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   640
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   641
<tr id="grammar-production-value">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   642
    <td>[9]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   643
    <td><a href="#grammar-production-value">value</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   644
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   645
    <td><a href="#grammar-production-iri">iri</a> | <a href="#grammar-production-literal">literal</a> | <a href="#grammar-production-Var">Var</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   646
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   647
<tr id="grammar-production-path">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   648
    <td>[10]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   649
    <td><a href="#grammar-production-path">path</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   650
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   651
    <td>( <a href="#grammar-production-step">step</a> | <a href="#grammar-production-constraint">constraint</a> )*</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   652
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   653
<tr id="grammar-production-step">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   654
    <td>[11]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   655
    <td><a href="#grammar-production-step">step</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   656
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   657
    <td>'<code class="grammar-literal">/</code>' ( '<code class="grammar-literal">^</code>' <a href="#grammar-production-iri">iri</a> | <a href="#grammar-production-iri">iri</a> | <a href="#grammar-production-INDEX">INDEX</a> )</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   658
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   659
<tr id="grammar-production-constraint">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   660
    <td>[12]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   661
    <td><a href="#grammar-production-constraint">constraint</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   662
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   663
    <td>'<code class="grammar-literal">[</code>' <a href="#grammar-production-path">path</a> ( '<code class="grammar-literal">=</code>' <a href="#grammar-production-value">value</a> )? '<code class="grammar-literal">]</code>' | '<code class="grammar-literal">!</code>'</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   664
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   665
<tr id="grammar-production-slice">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   666
    <td>[13]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   667
    <td><a href="#grammar-production-slice">slice</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   668
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   669
    <td><a href="#grammar-production-INDEX">INDEX</a>? '<code class="grammar-literal">..</code>' <a href="#grammar-production-INDEX">INDEX</a>?</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   670
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   671
<tr id="grammar-production-INDEX">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   672
    <td>[14]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   673
    <td><a href="#grammar-production-INDEX">INDEX</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   674
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   675
    <td>[0-9]+</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   676
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   677
<tr id="grammar-production-Var">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   678
    <td>[15]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   679
    <td><a href="#grammar-production-Var">Var</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   680
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   681
    <td>'<code class="grammar-literal">?</code>' <a href="#grammar-production-VARNAME">VARNAME</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   682
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   683
<tr id="grammar-production-VARNAME">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   684
    <td>[16]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   685
    <td><a href="#grammar-production-VARNAME">VARNAME</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   686
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   687
    <td>( <a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a> | [0-9] ) ( <a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a> | [0-9] | #x00B7 | [#x0300-#x036F] | [#x203F-#x2040] )*</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   688
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   689
<tr id="grammar-production-prefixID">
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   690
    <td>[17]</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   691
    <td><a href="#grammar-production-prefixID">prefixID</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   692
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   693
    <td>"<code class="grammar-literal">@prefix</code>" <a href="#grammar-production-PNAME_NS">PNAME_NS</a> <a href="#grammar-production-IRIREF">IRIREF</a> "<code class="grammar-literal">.</code>"</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   694
</tr>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   695
<tr id="grammar-production-graph">
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   696
    <td>[18]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   697
    <td><a href="#grammar-production-graph">graph</a></td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   698
    <td>::=</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   699
    <td><a href="#grammar-production-triples">triples</a> ( '<code class="grammar-literal">.</code>' <a href="#grammar-production-triples">triples</a> )* '<code class="grammar-literal">.</code>'?</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   700
</tr>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   701
<tr id="grammar-production-triples">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   702
    <td>[19]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   703
    <td><a href="#grammar-production-triples">triples</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   704
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   705
    <td><a href="#grammar-production-subject">subject</a> <a href="#grammar-production-predicateObjectList">predicateObjectList</a> | <a href="#grammar-production-blankNodePropertyList">blankNodePropertyList</a> <a href="#grammar-production-predicateObjectList">predicateObjectList</a>?</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   706
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   707
<tr id="grammar-production-predicateObjectList">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   708
    <td>[20]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   709
    <td><a href="#grammar-production-predicateObjectList">predicateObjectList</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   710
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   711
    <td><a href="#grammar-production-verb">verb</a> <a href="#grammar-production-objectList">objectList</a> ('<code class="grammar-literal">;</code>' (<a href="#grammar-production-verb">verb</a> <a href="#grammar-production-objectList">objectList</a>)?)*</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   712
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   713
<tr id="grammar-production-objectList">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   714
    <td>[21]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   715
    <td><a href="#grammar-production-objectList">objectList</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   716
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   717
    <td><a href="#grammar-production-object">object</a> ('<code class="grammar-literal">,</code>' <a href="#grammar-production-object">object</a>)*</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   718
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   719
<tr id="grammar-production-verb">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   720
    <td>[22]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   721
    <td><a href="#grammar-production-verb">verb</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   722
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   723
    <td><a href="#grammar-production-predicate">predicate</a> | '<code class="grammar-literal">a</code>'</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   724
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   725
<tr id="grammar-production-subject">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   726
    <td>[23]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   727
    <td><a href="#grammar-production-subject">subject</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   728
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   729
    <td><a href="#grammar-production-iri">iri</a> | <a href="#grammar-production-BlankNode">BlankNode</a> | <a href="#grammar-production-collection">collection</a> | <a href="#grammar-production-Var">Var</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   730
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   731
<tr id="grammar-production-predicate">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   732
    <td>[24]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   733
    <td><a href="#grammar-production-predicate">predicate</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   734
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   735
    <td><a href="#grammar-production-iri">iri</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   736
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   737
<tr id="grammar-production-object">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   738
    <td>[25]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   739
    <td><a href="#grammar-production-object">object</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   740
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   741
    <td><a href="#grammar-production-iri">iri</a> | <a href="#grammar-production-BlankNode">BlankNode</a> | <a href="#grammar-production-collection">collection</a> | <a href="#grammar-production-blankNodePropertyList">blankNodePropertyList</a> | <a href="#grammar-production-literal">literal</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   742
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   743
<tr id="grammar-production-literal">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   744
    <td>[26]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   745
    <td><a href="#grammar-production-literal">literal</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   746
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   747
    <td><a href="#grammar-production-RDFLiteral">RDFLiteral</a> | <a href="#grammar-production-NumericLiteral">NumericLiteral</a> | <a href="#grammar-production-BooleanLiteral">BooleanLiteral</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   748
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   749
<tr id="grammar-production-blankNodePropertyList">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   750
    <td>[27]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   751
    <td><a href="#grammar-production-blankNodePropertyList">blankNodePropertyList</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   752
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   753
    <td>'<code class="grammar-literal">[</code>' <a href="#grammar-production-predicateObjectList">predicateObjectList</a> '<code class="grammar-literal">]</code>'</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   754
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   755
<tr id="grammar-production-collection">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   756
    <td>[28]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   757
    <td><a href="#grammar-production-collection">collection</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   758
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   759
    <td>'<code class="grammar-literal">(</code>' <a href="#grammar-production-object">object</a>* '<code class="grammar-literal">)</code>'</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   760
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   761
<tr id="grammar-production-NumericLiteral">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   762
    <td>[29]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   763
    <td><a href="#grammar-production-NumericLiteral">NumericLiteral</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   764
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   765
    <td><a href="#grammar-production-INTEGER">INTEGER</a> | <a href="#grammar-production-DECIMAL">DECIMAL</a> | <a href="#grammar-production-DOUBLE">DOUBLE</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   766
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   767
<tr id="grammar-production-RDFLiteral">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   768
    <td>[30]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   769
    <td><a href="#grammar-production-RDFLiteral">RDFLiteral</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   770
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   771
    <td><a href="#grammar-production-String">String</a> (<a href="#grammar-production-LANGTAG">LANGTAG</a> | '<code class="grammar-literal">^^</code>' <a href="#grammar-production-iri">iri</a>)?</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   772
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   773
<tr id="grammar-production-BooleanLiteral">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   774
    <td>[31]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   775
    <td><a href="#grammar-production-BooleanLiteral">BooleanLiteral</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   776
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   777
    <td>'<code class="grammar-literal">true</code>' | '<code class="grammar-literal">false</code>'</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   778
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   779
<tr id="grammar-production-String">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   780
    <td>[32]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   781
    <td><a href="#grammar-production-String">String</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   782
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   783
    <td><a href="#grammar-production-STRING_LITERAL_QUOTE">STRING_LITERAL_QUOTE</a> | <a href="#grammar-production-STRING_LITERAL_SINGLE_QUOTE">STRING_LITERAL_SINGLE_QUOTE</a> | <a href="#grammar-production-STRING_LITERAL_LONG_SINGLE_QUOTE">STRING_LITERAL_LONG_SINGLE_QUOTE</a> | <a href="#grammar-production-STRING_LITERAL_LONG_QUOTE">STRING_LITERAL_LONG_QUOTE</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   784
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   785
<tr id="grammar-production-iri">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   786
    <td>[33]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   787
    <td><a href="#grammar-production-iri">iri</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   788
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   789
    <td><a href="#grammar-production-IRIREF">IRIREF</a> | <a href="#grammar-production-PrefixedName">PrefixedName</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   790
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   791
<tr id="grammar-production-PrefixedName">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   792
    <td>[34]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   793
    <td><a href="#grammar-production-PrefixedName">PrefixedName</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   794
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   795
    <td><a href="#grammar-production-PNAME_LN">PNAME_LN</a> | <a href="#grammar-production-PNAME_NS">PNAME_NS</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   796
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   797
<tr id="grammar-production-BlankNode">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   798
    <td>[35]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   799
    <td><a href="#grammar-production-BlankNode">BlankNode</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   800
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   801
    <td><a href="#grammar-production-BLANK_NODE_LABEL">BLANK_NODE_LABEL</a> | <a href="#grammar-production-ANON">ANON</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   802
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   803
<tr id="grammar-production-IRIREF">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   804
    <td>[36]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   805
    <td><a href="#grammar-production-IRIREF">IRIREF</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   806
    <td>::=</td>
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   807
    <td>'<code class="grammar-literal"><</code>' ([^#x00-#x20<>"{}|^`\] | <a href="#grammar-production-UCHAR">UCHAR</a>)* '<code class="grammar-literal">></code>' /* #x00=NULL #01-#x1F=control codes #x20=space */</td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   808
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   809
<tr id="grammar-production-PNAME_NS">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   810
    <td>[37]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   811
    <td><a href="#grammar-production-PNAME_NS">PNAME_NS</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   812
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   813
    <td><a href="#grammar-production-PN_PREFIX">PN_PREFIX</a>? '<code class="grammar-literal">:</code>'</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   814
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   815
<tr id="grammar-production-PNAME_LN">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   816
    <td>[38]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   817
    <td><a href="#grammar-production-PNAME_LN">PNAME_LN</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   818
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   819
    <td><a href="#grammar-production-PNAME_NS">PNAME_NS</a> <a href="#grammar-production-PN_LOCAL">PN_LOCAL</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   820
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   821
<tr id="grammar-production-BLANK_NODE_LABEL">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   822
    <td>[39]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   823
    <td><a href="#grammar-production-BLANK_NODE_LABEL">BLANK_NODE_LABEL</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   824
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   825
    <td>'<code class="grammar-literal">_:</code>' (<a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a> | [0-9]) ((<a href="#grammar-production-PN_CHARS">PN_CHARS</a> | '<code class="grammar-literal">.</code>')* <a href="#grammar-production-PN_CHARS">PN_CHARS</a>)?</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   826
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   827
<tr id="grammar-production-LANGTAG">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   828
    <td>[40]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   829
    <td><a href="#grammar-production-LANGTAG">LANGTAG</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   830
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   831
    <td>'<code class="grammar-literal">@</code>' [a-zA-Z]+ ('<code class="grammar-literal">-</code>' [a-zA-Z0-9]+)*</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   832
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   833
<tr id="grammar-production-INTEGER">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   834
    <td>[41]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   835
    <td><a href="#grammar-production-INTEGER">INTEGER</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   836
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   837
    <td>[+-]? [0-9]+</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   838
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   839
<tr id="grammar-production-DECIMAL">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   840
    <td>[42]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   841
    <td><a href="#grammar-production-DECIMAL">DECIMAL</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   842
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   843
    <td>[+-]? [0-9]* '<code class="grammar-literal">.</code>' [0-9]+</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   844
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   845
<tr id="grammar-production-DOUBLE">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   846
    <td>[43]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   847
    <td><a href="#grammar-production-DOUBLE">DOUBLE</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   848
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   849
    <td>[+-]? ([0-9]+ '<code class="grammar-literal">.</code>' [0-9]* <a href="#grammar-production-EXPONENT">EXPONENT</a> | '<code class="grammar-literal">.</code>' [0-9]+ <a href="#grammar-production-EXPONENT">EXPONENT</a> | [0-9]+ <a href="#grammar-production-EXPONENT">EXPONENT</a>)</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   850
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   851
<tr id="grammar-production-EXPONENT">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   852
    <td>[44]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   853
    <td><a href="#grammar-production-EXPONENT">EXPONENT</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   854
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   855
    <td>[eE] [+-]? [0-9]+</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   856
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   857
<tr id="grammar-production-STRING_LITERAL_QUOTE">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   858
    <td>[45]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   859
    <td><a href="#grammar-production-STRING_LITERAL_QUOTE">STRING_LITERAL_QUOTE</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   860
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   861
    <td>'<code class="grammar-literal">"</code>' ([^#x22#x5C#xA#xD] | <a href="#grammar-production-ECHAR">ECHAR</a> | <a href="#grammar-production-UCHAR">UCHAR</a>)* '<code class="grammar-literal">"</code>'      /* #x22=" #x5C=\ #xA=new line #xD=carriage return */</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   862
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   863
<tr id="grammar-production-STRING_LITERAL_SINGLE_QUOTE">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   864
    <td>[46]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   865
    <td><a href="#grammar-production-STRING_LITERAL_SINGLE_QUOTE">STRING_LITERAL_SINGLE_QUOTE</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   866
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   867
    <td>"<code class="grammar-literal">'</code>" ([^#x27#x5C#xA#xD] | <a href="#grammar-production-ECHAR">ECHAR</a> | <a href="#grammar-production-UCHAR">UCHAR</a>)* "<code class="grammar-literal">'</code>"      /* #x27=' #x5C=\ #xA=new line #xD=carriage return */</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   868
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   869
<tr id="grammar-production-STRING_LITERAL_LONG_SINGLE_QUOTE">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   870
    <td>[47]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   871
    <td><a href="#grammar-production-STRING_LITERAL_LONG_SINGLE_QUOTE">STRING_LITERAL_LONG_SINGLE_QUOTE</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   872
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   873
    <td>"<code class="grammar-literal">'''</code>" (("<code class="grammar-literal">'</code>" | "<code class="grammar-literal">''</code>")? ([^'\] | <a href="#grammar-production-ECHAR">ECHAR</a> | <a href="#grammar-production-UCHAR">UCHAR</a>))* "<code class="grammar-literal">'''</code>"</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   874
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   875
<tr id="grammar-production-STRING_LITERAL_LONG_QUOTE">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   876
    <td>[48]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   877
    <td><a href="#grammar-production-STRING_LITERAL_LONG_QUOTE">STRING_LITERAL_LONG_QUOTE</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   878
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   879
    <td>'<code class="grammar-literal">"""</code>' (('<code class="grammar-literal">"</code>' | '<code class="grammar-literal">""</code>')? ([^"\] | <a href="#grammar-production-ECHAR">ECHAR</a> | <a href="#grammar-production-UCHAR">UCHAR</a>))* '<code class="grammar-literal">"""</code>'</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   880
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   881
<tr id="grammar-production-UCHAR">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   882
    <td>[49]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   883
    <td><a href="#grammar-production-UCHAR">UCHAR</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   884
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   885
    <td>'<code class="grammar-literal">\\u</code>' <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a> | '<code class="grammar-literal">\\U</code>' <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   886
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   887
<tr id="grammar-production-ECHAR">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   888
    <td>[50]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   889
    <td><a href="#grammar-production-ECHAR">ECHAR</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   890
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   891
    <td>'<code class="grammar-literal">\</code>' [tbnrf"'\]</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   892
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   893
<tr id="grammar-production-WS">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   894
    <td>[51]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   895
    <td><a href="#grammar-production-WS">WS</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   896
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   897
    <td>#x20 | #x9 | #xD | #xA</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   898
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   899
<tr id="grammar-production-ANON">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   900
    <td>[52]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   901
    <td><a href="#grammar-production-ANON">ANON</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   902
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   903
    <td>'<code class="grammar-literal">[</code>' <a href="#grammar-production-WS">WS</a>* '<code class="grammar-literal">]</code>'</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   904
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   905
<tr id="grammar-production-PN_CHARS_BASE">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   906
    <td>[53]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   907
    <td><a href="#grammar-production-PN_CHARS_BASE">PN_CHARS_BASE</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   908
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   909
    <td>[A-Z] | [a-z] | [#x00C0-#x00D6] | [#x00D8-#x00F6] | [#x00F8-#x02FF] | [#x0370-#x037D] | [#x037F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   910
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   911
<tr id="grammar-production-PN_CHARS_U">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   912
    <td>[54]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   913
    <td><a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   914
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   915
    <td><a href="#grammar-production-PN_CHARS_BASE">PN_CHARS_BASE</a> | '<code class="grammar-literal">_</code>'</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   916
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   917
<tr id="grammar-production-PN_CHARS">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   918
    <td>[55]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   919
    <td><a href="#grammar-production-PN_CHARS">PN_CHARS</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   920
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   921
    <td><a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a> | '<code class="grammar-literal">-</code>' | [0-9] | #x00B7 | [#x0300-#x036F] | [#x203F-#x2040]</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   922
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   923
<tr id="grammar-production-PN_PREFIX">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   924
    <td>[56]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   925
    <td><a href="#grammar-production-PN_PREFIX">PN_PREFIX</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   926
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   927
    <td><a href="#grammar-production-PN_CHARS_BASE">PN_CHARS_BASE</a> ((<a href="#grammar-production-PN_CHARS">PN_CHARS</a> | '<code class="grammar-literal">.</code>')* <a href="#grammar-production-PN_CHARS">PN_CHARS</a>)?</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   928
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   929
<tr id="grammar-production-PN_LOCAL">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   930
    <td>[57]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   931
    <td><a href="#grammar-production-PN_LOCAL">PN_LOCAL</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   932
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   933
    <td>(<a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a> | '<code class="grammar-literal">:</code>' | [0-9] | <a href="#grammar-production-PLX">PLX</a>) ((<a href="#grammar-production-PN_CHARS">PN_CHARS</a> | '<code class="grammar-literal">.</code>' | '<code class="grammar-literal">:</code>' | <a href="#grammar-production-PLX">PLX</a>)* (<a href="#grammar-production-PN_CHARS">PN_CHARS</a> | '<code class="grammar-literal">:</code>' | <a href="#grammar-production-PLX">PLX</a>))?</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   934
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   935
<tr id="grammar-production-PLX">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   936
    <td>[58]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   937
    <td><a href="#grammar-production-PLX">PLX</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   938
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   939
    <td><a href="#grammar-production-PERCENT">PERCENT</a> | <a href="#grammar-production-PN_LOCAL_ESC">PN_LOCAL_ESC</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   940
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   941
<tr id="grammar-production-PERCENT">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   942
    <td>[59]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   943
    <td><a href="#grammar-production-PERCENT">PERCENT</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   944
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   945
    <td>'<code class="grammar-literal">%</code>' <a href="#grammar-production-HEX">HEX</a> <a href="#grammar-production-HEX">HEX</a></td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   946
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   947
<tr id="grammar-production-HEX">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   948
    <td>[60]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   949
    <td><a href="#grammar-production-HEX">HEX</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   950
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   951
    <td>[0-9] | [A-F] | [a-f]</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   952
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   953
<tr id="grammar-production-PN_LOCAL_ESC">
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   954
    <td>[61]</td>
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   955
    <td><a href="#grammar-production-PN_LOCAL_ESC">PN_LOCAL_ESC</a></td>
880
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   956
    <td>::=</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   957
    <td>'<code class="grammar-literal">\</code>' ('<code class="grammar-literal">_</code>' | '<code class="grammar-literal">~</code>' | '<code class="grammar-literal">.</code>' | '<code class="grammar-literal">-</code>' | '<code class="grammar-literal">!</code>' | '<code class="grammar-literal">$</code>' | '<code class="grammar-literal">&</code>' | "<code class="grammar-literal">'</code>" | '<code class="grammar-literal">(</code>' | '<code class="grammar-literal">)</code>' | '<code class="grammar-literal">*</code>' | '<code class="grammar-literal">+</code>' | '<code class="grammar-literal">,</code>' | '<code class="grammar-literal">;</code>' | '<code class="grammar-literal">=</code>' | '<code class="grammar-literal">/</code>' | '<code class="grammar-literal">?</code>' | '<code class="grammar-literal">#</code>' | '<code class="grammar-literal">@</code>' | '<code class="grammar-literal">%</code>')</td>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   958
</tr>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   959
  </tbody>
c1500cd2bb5d Updated grammar with Add { triples }
Alexandre Bertails <alexandre@bertails.org>
parents: 794
diff changeset
   960
</table>
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   961
884
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   962
7a8d123386ee * added graph rule
Alexandre Bertails <bertails@gmail.com>
parents: 883
diff changeset
   963
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   964
    </section>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
   965
887
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   966
    <section class="appendix" id="media-registration">
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   967
      <h2>Internet Media Type, File Extension and Macintosh File Type</h2>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   968
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   969
	    <dl>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   970
	      <dt>Contact:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   971
	      <dd>Andrei Vlad Sambra</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   972
	      <dt>see also:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   973
        <dd><a href="http://www.w3.org/2002/06/registering-mediatype">How to Register a Media Type for a <abbr title="World Wide Web Consortium">W3C</abbr> Specification</a></dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   974
        <dd><a href="http://www.w3.org/2001/tag/2002/0129-mime">Internet Media Type registration, consistency of use</a><br>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   975
            TAG Finding 3 June 2002 (Revised 4 September 2002)</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   976
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   977
        <p>The Internet Media Type / MIME Type for LD Patch is "text/ldpatch".</p>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   978
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   979
        <p>It is recommended that LD Patch files have the extension ".ldp" (all lowercase) on all platforms.</p>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   980
        <div class="ldp-issue">
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   981
          Possible namespace conflict for .ldp!
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   982
	      </div>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   983
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   984
        <p>It is recommended that LD Patch files stored on Macintosh HFS file systems be given a file type of "TEXT".</p>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   985
      </dl>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   986
  
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   987
      <dl>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   988
        <dt>Type name:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   989
          <dd>text</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   990
        <dt>Subtype name:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   991
          <dd>ldpatch</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   992
        <dt>Required parameters:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   993
          <dd>None</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   994
        <dt>Optional parameters:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   995
          <dd>charset — this parameter is required when transferring non-ASCII data. If present, the value of charset is always UTF-8 [[!UTF-8]].</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   996
        <dt>Encoding considerations:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   997
          <dd>The syntax of LD Patch is expressed over code points in Unicode [[!UNICODE]]. The encoding is always UTF-8. Unicode code points may also be expressed using an <code>\uXXXX</code> (U+0000 to U+FFFF) or <code>\UXXXXXXXX</code> syntax (for U+10000 onwards) where <code>X</code> is a hexadecimal digit <code>[0-9A-Fa-f]</code>.</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   998
        <dt>Security considerations:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
   999
          <dd>Because of it's relation with Turtle, the same security considerations can be applied here. Applications may evaluate given data to infer more assertions or to dereference IRIs, invoking the security considerations of the scheme for that IRI. Note in particular, the privacy issues in [[!RFC3023]] section 10 for HTTP IRIs. Data obtained from an inaccurate or malicious data source may lead to inaccurate or misleading conclusions, as well as the dereferencing of unintended IRIs. Care must be taken to align the trust in consulted resources with the sensitivity of the intended use of the data; inferences of potential medical treatments would likely require different trust than inferences for trip planning.
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1000
            <!-- Turtle is used to express arbitrary application data; security considerations will vary by domain of use. Security tools and protocols applicable to text (e.g. PGP encryption, MD5 sum validation, password-protected compression) may also be used on Turtle documents. Security/privacy protocols must be imposed which reflect the sensitivity of the embedded information. -->
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1001
            Application rendering strings retrieved from untrusted LD Patch sources must ensure that malignant strings may not be used to mislead the reader. The security considerations in the media type registration for XML ([[!RFC3023]] section 10) provide additional guidance around the expression of arbitrary data and markup.
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1002
            LD Patch uses IRIs as term identifiers. Applications interpreting data expressed in LD Patch should address the security issues of Internationalized Resource Identifiers (IRIs) [[!RFC3987]] Section 8, as well as Uniform Resource Identifier (URI): Generic Syntax [[!RFC3986]] Section 7.
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1003
            Multiple IRIs may have the same appearance. Characters in different scripts may look similar (a Cyrillic "о" may appear similar to a Latin "o"). A character followed by combining characters may have the same visual representation as another character (LATIN SMALL LETTER E followed by COMBINING ACUTE ACCENT has the same visual representation as LATIN SMALL LETTER E WITH ACUTE). Any person or application that is writing or interpreting LD Patch data must take care to use the IRI that matches the intended semantics, and avoid IRIs that may look similar. Further information about matching of similar characters can be found in Unicode Security Considerations [[!UNICODE-SECURITY]] and Internationalized Resource Identifiers (IRIs) [[!RFC3987]] Section 8.</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1004
        <dt>Interoperability considerations:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1005
          <dd>There are no known interoperability issues.</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1006
        <dt>Published specification:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1007
          <dd>This specification.</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1008
        <dt>Applications which use this media type:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1009
          <dd>No widely deployed applications are known to use this media type. It may be used by some web services and clients consuming their data.</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1010
        <br>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1011
        <dt>Additional information:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1012
        <dt>Magic number(s):</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1013
          <dd>LD Patch documents may have the string '@prefix' (case sensitive) near the beginning of the document.</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1014
        <dt>File extension(s):</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1015
          <dd>".ldp"</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1016
        <dt>Macintosh file type code(s):</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1017
          <dd>"TEXT"</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1018
        <dt>Person & email address to contact for further information:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1019
          <dd>Andrei Vlad Sambra &lt;andrei@w3.org&gt;</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1020
        <dt>Intended usage:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1021
          <dd>COMMON</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1022
        <dt>Restrictions on usage:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1023
          <dd>None</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1024
        <dt>Author/Change controller:</dt>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1025
          <dd>The LD Patch specification is the product of the LDP WG. The W3C reserves change control over this specifications.</dd>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1026
      </dl>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1027
    </section>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1028
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
  1029
    <section id="acknowledgements" class="appendix informative">
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
  1030
      <h2>Acknowledgements</h2>
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
  1031
     
887
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1032
      <p>The following people (in alphabetic order) have been instrumental in providing thoughts, feedback, reviews, content, criticism and input in the creation of this specification:</p>
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1033
      
998408515484 Added Media Type (mostly from Turtle) section and acknowledgements.
Andrei Sambra <andrei@w3.org>
parents: 886
diff changeset
  1034
      <p style="margin-left: 3em;">Andy Seaborne, Arnaud Le Hors, Henry Story, John Arwe, Eric Prud'hommeaux, Sandro Hawke, Steve Speicher, Tim Berners-Lee</p>
776
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
  1035
503808034312 reflected changes proposed by Sandro in http://lists.w3.org/Archives/Public/public-ldp-wg/2014Aug/0070.html
Alexandre Bertails <bertails@gmail.com>
parents: 746
diff changeset
  1036
    </section>
702
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
  1037
  </body>
73a7b38f2dc6 initial LD Patch WD
Alexandre Bertails <bertails@gmail.com>
parents:
diff changeset
  1038
</html>