rdf11-testcases/index.html
author Ivan Herman <ivan@ivan-herman.net>
Sat, 29 Nov 2014 09:59:49 +0100
changeset 2035 1fda78347d91
parent 1962 7ca5de051d1a
permissions -rw-r--r--
rdfs:approval has been changed to rift:approval
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
     1
<!DOCTYPE html>
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
     2
<html lang="en">
1962
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
     3
<head>
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
     4
  <meta charset="utf-8"/>
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
     5
  <title>RDF 1.1 Test Cases</title>
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
     6
  <script src="../local-biblio.js" class="remove"></script>
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
     7
  <script src="https://www.w3.org/Tools/respec/respec-w3c-common" class="remove"></script>
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
     8
  <script class='remove'>
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
     9
    var respecConfig = {
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    10
        // extend the bibliography entries
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    11
        localBiblio: localBibliography,
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
    12
1962
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    13
        // specification status (e.g. WD, LC, WG-NOTE, etc.). If in doubt use ED.
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    14
        specStatus:           "WG-NOTE",
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
    15
1962
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    16
        // the specification's short name, as in http://www.w3.org/TR/short-name/
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    17
        shortName:            "rdf11-testcases",
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
    18
1962
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    19
        errata:               "http://www.w3.org/2014/rdf1.1-errata",
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
    20
1962
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    21
        // if you wish the publication date to be other than today, set this
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    22
        publishDate:  "2014-02-25",
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
    23
1962
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    24
        // if the specification's copyright date is a range of years, specify
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    25
        // the start date here:
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    26
        copyrightStart: "2013",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    27
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    28
        // if there is a previously published draft, uncomment this and set its YYYY-MM-DD date
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    29
        // and its maturity status
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    30
        // previousPublishDate:  "2013-07-23",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    31
        // previousMaturity:  "LC",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    32
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    33
        // if there a publicly available Editor's Draft, this is the link
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    34
        // edDraftURI:           "https://dvcs.w3.org/hg/rdf/raw-file/default/rdf11-testcases/index.html",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    35
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    36
        // if there is an earler version of this specification at the Recommendation level,
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    37
        // set this to the shortname of that version. This is optional and not usually
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    38
        // necessary.
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    39
        // prevRecShortname: "rdf11-testcases",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    40
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    41
        // editors, add as many as you like
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    42
        // only "name" is required
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    43
        editors:  [
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    44
            { name: "Gregg Kellogg",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    45
              url: "http://greggkellogg.net/",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    46
              company: "Kellogg Associates" },
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    47
            { name: "Markus Lanthaler",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    48
              url: "http://www.markus-lanthaler.com/",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    49
              company: "Graz University of Technology",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    50
              companyURL: "http://www.tugraz.at/" }
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    51
        ],
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    52
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    53
        // name of the WG
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    54
        wg:           "RDF Working Group",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    55
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    56
        // URI of the public WG page
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    57
        wgURI:        "http://www.w3.org/2011/rdf-wg/",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    58
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    59
        // name (with the @w3c.org) of the public mailing to which comments are due
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    60
        wgPublicList: "public-rdf-comments",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    61
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    62
        // URI of the patent status for this WG, for Rec-track documents
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    63
        // !!!! IMPORTANT !!!!
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    64
        // This is important for Rec-track documents, do not copy a patent URI from a random
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    65
        // document unless you know what you're doing. If in doubt ask your friendly neighbourhood
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    66
        // Team Contact.
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    67
        wgPatentURI:  "http://www.w3.org/2004/01/pp-impl/46168/status",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    68
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    69
        // if this parameter is set to true, ReSpec.js will embed various RDFa attributes
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    70
        // throughout the generated specification. The triples generated use vocabulary items
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    71
        // from the dcterms, foaf, and bibo. The parameter defaults to false.
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    72
        doRDFa: "1.1",
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    73
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    74
        noTOC:  false,
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    75
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    76
        // alternateFormats: [ { uri: "diff-20130723.html", label: "diff to previous version" } ]
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    77
    };
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    78
  </script>
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    79
  <style type="text/css">
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    80
    /* Style Turtle script blocks to be visible */
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    81
    pre.example script {
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    82
        display:block;
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    83
    }
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    84
    .separated { border-collapse:collapse; }
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    85
    .separated thead tr th { border:1px solid black; padding: .2em; }
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    86
    .separated tbody tr td { border:1px solid black; text-align: center; }
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    87
    .separated tbody tr td.r { text-align: right; padding: .5em; }
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    88
    .grammar td { font-family: monospace; vertical-align: top; }
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    89
    .grammar-literal { color: gray;}
1962
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    90
     .grammar_comment { color: #A52A2A; font-style: italic; }
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    91
  </style>
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
    92
</head>
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
    93
<body>
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
    94
  <section id='sotd'></section>
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
    95
  <section id="abstract">
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
    96
    <p>The Resource Description Framework (RDF) is a framework for
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
    97
      representing information in the Web. This document lists
1641
98b4eb5f6331 Add README for N-Triples tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1536
diff changeset
    98
      the test suites and implementation reports
98b4eb5f6331 Add README for N-Triples tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1536
diff changeset
    99
      for RDF 1.1 Semantics as well as the various
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
   100
      serialization formats.</p>
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
   101
  </section>
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
   102
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
   103
  <section>
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   104
    <h2>Test Suites and Implementation Reports</h2>
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   105
    <p>The following are links to the syntax and semantics test suites and
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   106
      implementation reports:</p>
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   107
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   108
    <ul>
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   109
      <li><strong>RDF 1.1 Semantics</strong> [[RDF11-MT]]<br/>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   110
        <ul>
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   111
          <li><a href="http://www.w3.org/2013/rdf-mt-tests/">Test Suite</a></li>
1880
868450e6c316 Edited ReSpec attribute vales
Guus Schreiber <guus.schreiber@vu.nl>
parents: 1877
diff changeset
   112
          <li><a href="http://www.w3.org/2013/rdf-mt-reports/index.html">Implementation Report</a></li>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   113
        </ul>
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   114
      </li>
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   115
      <li><strong>RDF 1.1 Turtle</strong> [[TURTLE]]<br/>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   116
        <ul>
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   117
          <li><a href="http://www.w3.org/2013/TurtleTests/">Test Suite</a></li>
1869
cf8cfbc993ee Update Turtle EARL reports location from mercurial to permanent location.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1867
diff changeset
   118
          <li><a href="http://www.w3.org/2013/TurtleReports/index.html">Implementation Report</a></li>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   119
        </ul>
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   120
      </li>
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   121
      <li><strong>RDF 1.1 TriG</strong> [[TRIG]]<br/>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   122
        <ul>
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   123
          <li><a href="http://www.w3.org/2013/TrigTests/">Test Suite</a></li>
1871
575e2286a2e3 Update TriG EARL reports location from mercurial to permanent location.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1869
diff changeset
   124
          <li><a href="http://www.w3.org/2013/TrigReports/index.html">Implementation Report</a></li>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   125
        </ul>
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   126
      </li>
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   127
      <li><strong>RDF 1.1 N-Triples</strong> [[N-TRIPLES]]<br/>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   128
        <ul>
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   129
          <li><a href="http://www.w3.org/2013/N-TriplesTests/">Test Suite</a></li>
1867
0a6018e1e5e5 Update N-Triples EARL reports location from mercurial to permanent location.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1865
diff changeset
   130
          <li><a href="http://www.w3.org/2013/N-TriplesReports/index.html">Implementation Report</a></li>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   131
        </ul>
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   132
      </li>
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   133
      <li><strong>RDF 1.1 N-Quads</strong> [[N-QUADS]]<br/>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   134
        <ul>
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   135
          <li><a href="http://www.w3.org/2013/N-QuadsTests/">Test Suite</a></li>
1873
2cfbec7594db Update RDF/XML tests to reference 2013-tagged IRI, rather than 2014
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1871
diff changeset
   136
          <li><a href="http://www.w3.org/2013/N-QuadsReports/index.html">Implementation Report</a></li>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   137
        </ul>
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   138
      </li>
1781
15a22504ca65 Updated TestCases doc to include RDF/XML tests
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1779
diff changeset
   139
      <li><strong>RDF 1.1 XML</strong> [[RDF11-XML]]<br/>
15a22504ca65 Updated TestCases doc to include RDF/XML tests
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1779
diff changeset
   140
        <ul>
15a22504ca65 Updated TestCases doc to include RDF/XML tests
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1779
diff changeset
   141
          <li><a href="http://www.w3.org/2013/RDFXMLTests/">Test Suite</a></li>
15a22504ca65 Updated TestCases doc to include RDF/XML tests
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1779
diff changeset
   142
        </ul>
15a22504ca65 Updated TestCases doc to include RDF/XML tests
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1779
diff changeset
   143
      </li>
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   144
      <li><strong>JSON-LD 1.0</strong> [[JSON-LD]]/[[JSON-LD-API]]<br/>
1779
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   145
        <ul>
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   146
          <li><a href="http://www.w3.org/2013/json-ld-tests/">Test Suite</a></li>
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   147
          <li><a href="http://json-ld.org/test-suite/reports/index.html">Implementation Report</a></li>
4f33bfaa6cff Minor reformatting of rdf11-testcases to hide all those ugly URLs :-)
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1757
diff changeset
   148
        </ul>
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   149
      </li>
1962
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
   150
    </ul>
1860
300282c6e916 Add a note to RDF11-TESTCASES that Concepts has no test suite
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1781
diff changeset
   151
1962
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
   152
    <p>RDF 1.1 Concepts [[RDF11-CONCEPTS]] does not have a test suite and is not directly implemented in software;
7ca5de051d1a Minor tweak
Markus Lanthaler <mail@markus-lanthaler.com>
parents: 1914
diff changeset
   153
      instead, it is implemented by the specs which build on it, including the other specs in the set above.</p>
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   154
  </section>
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   155
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   156
  <section>
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   157
    <h2>General instructions for running RDF Test suites</h2>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   158
    <p>All test suites have a common test manifest representation using test vocabularies
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   159
      similar to the SPARQL 1.1 Test case structure [[SPARQL11-TEST-CASE]]. Test manifests
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   160
      are expressed using [[TURTLE]], except for the JSON-LD test manifests, which
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   161
      are represented using [[JSON-LD]]. (Detailed information on the JSON-LD Test Suite
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   162
      is at [[JSON-LD-TESTS]]). The Manifest has a header, and lists one
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   163
      or more test entries such as the following:</p>
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   164
    <pre class="example" title="Manifest header"><script type="text/turtle"><>  rdf:type mf:Manifest ;
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   165
   rdfs:comment "Turtle tests" ;
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   166
   mf:entries
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   167
   (
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   168
   ....
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   169
   ) .</script></pre>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   170
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   171
    <p>In addition to the namespaces described in [[SPARQL11-TEST-CASE]], RDF manifests use
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   172
      the following vocabularies:</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   173
    <dl>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   174
      <dt><code>rdft</code></dt>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   175
      <dd><code>http://www.w3.org/ns/rdftest#</code></dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   176
    </dl>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   177
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   178
    <section>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   179
      <h3>Syntax Tests</h3>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   180
      <p>Concrete RDF syntaxes may have positive- and negative-syntax tests, intended
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   181
        to determine if a processor correctly recognizes valid or invalid serializations.
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   182
        Positive Syntax Tests include a <em>name</em>, optional <em>comment</em>, and <em>action</em> along
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   183
        with a type which identifies them as being a Syntax Test for the appropriate
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   184
        serialization format. An example Turtle Syntax test definition is the following:</p>
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   185
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   186
      <pre class="example" title="Syntax test"><script type="text/turtle"><#turtle-syntax-file-01> rdf:type rdft:TestTurtlePositiveSyntax ;
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   187
   mf:name    "turtle-syntax-file-01" ;
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   188
   rdfs:comment "Empty file" ;
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   189
   mf:action    <turtle-syntax-file-01.ttl> ;
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   190
   .</script></pre>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   191
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   192
     <p>Class names vary by serialization format and include the following:</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   193
     <dl>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   194
       <dt><code>rdft:TestTurtlePositiveSyntax</code></dt><dd>A Positive [[TURTLE]] Syntax Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   195
       <dt><code>rdft:TestTurtleNegativeSyntax</code></dt><dd>A Negative [[TURTLE]] Syntax Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   196
       <dt><code>rdft:TestTriGPositiveSyntax</code></dt><dd>A Positive [[TRIG]] Syntax Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   197
       <dt><code>rdft:TestTriGNegativeSyntax</code></dt><dd>A Negative [[TRIG]] Syntax Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   198
       <dt><code>rdft:TestNTriplesPositiveSyntax</code></dt><dd>A Positive [[N-TRIPLES]] Syntax Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   199
       <dt><code>rdft:TestNTriplesNegativeSyntax</code></dt><dd>A Negative [[N-TRIPLES]] Syntax Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   200
       <dt><code>rdft:TestNQuadsPositiveSyntax</code></dt><dd>A Positive [[N-QUADS]] Syntax Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   201
       <dt><code>rdft:TestNQuadsNegativeSyntax</code></dt><dd>A Negative [[N-QUADS]] Syntax Test.</dd>
1781
15a22504ca65 Updated TestCases doc to include RDF/XML tests
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1779
diff changeset
   202
       <dt><code>rdft:TestXMLNegativeSyntax</code></dt><dd>A Negative [[RDF11-XML]] Syntax Test.</dd>
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   203
     </dl>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   204
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   205
     <p>A positive test is passed if an implementation can parse the content at the URL identified
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   206
       by the object of the <code>mf:action</code> properly using rules for the the appropriate syntax.</p>
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   207
     <p>A negative test is passed if an implementation raises an error when it parses
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   208
        content at the URL identified by the object of the <code>mf:action</code> properly using rules for the appropriate syntax.</p>
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   209
   </section>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   210
   <section>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   211
     <h3>Evaluation Tests</h3>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   212
     <p>Concrete RDF syntaxes may have positive- and negative-evaluation tests, intended
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   213
       to determine if a processor correctly evaluates serializations.
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   214
       Positive Evaluation Tests include a <em>name</em>, optional <em>comment</em>, <em>action</em>, and <em>result</em> along
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   215
       with a type which identifies them as being an Evaluation Test for the appropriate
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   216
       serialization format. An example Turtle Evaluation test definition is the following:</p>
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   217
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   218
     <pre class="example" title="Evaluation test"><script type="text/turtle"><#IRI_subject> rdf:type rdft:TestTurtleEval ;
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   219
   mf:name      "IRI_subject" ;
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   220
   rdfs:comment "IRI subject" ;
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   221
   mf:action    <IRI_subject.ttl> ;
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   222
   mf:result    <IRI_spo.nt> ;
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   223
   .</script></pre>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   224
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   225
     <p>Class names vary by serialization format and include the following:</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   226
     <dl>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   227
       <dt><code>rdft:TestTurtleEval</code></dt><dd>A Positive [[TURTLE]] Evaluation Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   228
       <dt><code>rdft:TestTurtleNegativeEval</code></dt><dd>A Negative [[TURTLE]] Evaluation Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   229
       <dt><code>rdft:TestTrigEval</code></dt><dd>A Positive [[TRIG]] Evaluation Test.</dd>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   230
       <dt><code>rdft:TestTrigNegativeEval</code></dt><dd>A Negative [[TRIG]] Evaluation Test.</dd>
1781
15a22504ca65 Updated TestCases doc to include RDF/XML tests
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1779
diff changeset
   231
       <dt><code>rdft:XMLEval</code></dt><dd>A Positive [[RDF11-XML]] Evaluation Test.</dd>
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   232
     </dl>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   233
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   234
     <p>A positive test is passed if an implementation parses the input
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   235
       (identified by the object of the <code>mf:action</code> property) using the
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   236
       appropriate syntax into a graph
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   237
       or dataset, parses the expected result
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   238
       (identified by the object of the <code>mf:result</code> property)
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   239
       into another graph or dataset, and those two graphs/datasets are
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   240
       <a href="http://www.w3.org/TR/rdf11-concepts/#graph-isomorphism">isomorphic</a> (see [[RDF11-CONCEPTS]]).</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   241
       <p>A negative test is passed if an implementation parses the input
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   242
         (identified by the object of the <code>mf:action</code> property) using the
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   243
         appropriate syntax into a graph
1744
67bc97dd19c2 Incorporate markus' feedback to testcases document.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1699
diff changeset
   244
         or dataset, parses the expected result
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   245
         (identified by the object of the <code>mf:result</code> property)
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   246
         into another graph or dataset, and those two graphs/datasets are _not_
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   247
         <a href="http://www.w3.org/TR/rdf11-concepts/#graph-isomorphism">isomorphic</a> (see [[RDF11-CONCEPTS]]).</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   248
    </section>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   249
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   250
    <section>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   251
      <h3>Sematics Tests</h3>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   252
      <p>These tests test implementations of RDF and RDFS Entailment [[RDF11-MT]].
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   253
        Entailment Tests (<code>mf:PositiveEntailmentTest</code> or <code>mf:NegativeEntailmentTest</code>) include a <em>name</em>, <em>comment</em>, <em>action</em>, <em>result</em>, an <em>entailment</em> regime,
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   254
        a <em>list of recognized datatypes</em> and a <em>list of unrecognized datatypes</em>, and <em>result</em> along
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   255
        with a type which identifies them as being an Entailment Test for the appropriate
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   256
        serialization format.</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   257
      <p>All tests have the following properties:</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   258
      <ul>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   259
        <li>a name (<code>mf:name</code>)</li>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   260
        <li>an input RDF graph url (<code>mf:action</code>)</li>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   261
        <li>an output RDF graph URL or the special marker <code>false</code> (<code>mf:result</code>),</li>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   262
        <li>an entailment regime, which is "simple", "RDF", or "RDFS" (<code>mf:entailmentRegime</code>),</li>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   263
        <li>a list of recognized datatypes (<code>mf:recognizedDatatypes</code>),</li>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   264
        <li>a list of unrecognized datatypes (<code>mf:unrecognizedDatatypes</code>).</li>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   265
      </ul>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   266
      <p>An example Entailment test is the following:</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   267
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   268
     <pre class="example" title="Entailment test"><script type="text/turtle"><#datatypes-non-well-formed-literal-2> a mf:PositiveEntailmentTest;
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   269
  mf:name "datatypes-non-well-formed-literal-2";
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   270
  rdfs:comment """
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   271
    With appropriate datatype knowledge, a 'badly-formed'
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   272
    datatyped literal can be detected.
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   273
  """;
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   274
  rdfs:comment """
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   275
    Ill-formed datatyped literals now are inconsistent.
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   276
    Used to be negative entailment to <datatypes/test002b.nt>
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   277
  """;
2035
1fda78347d91 rdfs:approval has been changed to rift:approval
Ivan Herman <ivan@ivan-herman.net>
parents: 1962
diff changeset
   278
  rdft:approval rdft:Approved;
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   279
  mf:entailmentRegime "RDFS" ;
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   280
  mf:recognizedDatatypes ( xsd:integer ) ;
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   281
  mf:unrecognizedDatatypes ( ) ;
1757
bc53164722de Add missing implementation reports to Test Cases document
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1744
diff changeset
   282
  mf:action <datatypes/test002.nt>;
1699
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   283
  mf:result false.</script></pre>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   284
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   285
    <p>An implementation passes a Positive (Negative) Entailment Test if, when
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   286
    configured to
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   287
     (1) perform entailment under the entailment regime of the test or some entailment regime that is stronger (weaker) than the entailment regime and
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   288
     (2) recognize all the datatypes in the list of <em>recognized datatypes</em> and none of the datatypes in the list of <em>unrecognized datatypes</em>,</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   289
    <ul>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   290
    <li>for tests that have an output graph, determines that the input RDF graph entails (does not entail) the output RDF graph</li>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   291
    <li>for tests that have <code>false</code> as output, either determines that the input RDF graph entails (does not entail) an inconsistent RDF graph or that the input RDF graph is inconsistent (consistent).</li>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   292
  </ul>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   293
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   294
  <p>An implementation also passes a test if when configured differently from a
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   295
    correct configuration as given above nonetheless produces the given result,
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   296
    and the result is correct in the configured entailment regime with the
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   297
    configured recognized datatypes.</p>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   298
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   299
    </section>
af637bccf6ac Added instructions for running tests.
Gregg Kellogg <gregg@kellogg-assoc.com>
parents: 1641
diff changeset
   300
  </section>
1235
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
   301
</body>
b5ce966414dd Add index page for the various test suites and reference it from concepts
Markus Lanthaler <mail@markus-lanthaler.com>
parents:
diff changeset
   302
</html>