Skip to content

Commit

Permalink
spec: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVanAssche committed May 9, 2023
1 parent 96dc9d6 commit bfe8d84
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 45 deletions.
9 changes: 2 additions & 7 deletions spec/dev.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Source &amp; Target</title>
<title>RML-IO</title>
<meta charset='utf-8'>
<link rel="stylesheet" type="text/css" href="./resources/css/extras.css"/>
<script src="https://www.w3.org/Tools/respec/respec-w3c" class="remove" defer></script>
Expand Down Expand Up @@ -303,12 +303,7 @@
<body>
<section id='abstract' data-include="section/abstract.md" data-include-format="markdown"></section>

<section id='sotd'>
<p data-format="markdown">
This is an early draft,
yet efforts are made to keep things stable.
</p>
</section>
<section id='sotd'></section>

<section id="conformance"></section>

Expand Down
20 changes: 8 additions & 12 deletions spec/docs/20230509/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.dfn-panel.docked{position:fixed;left:.5em;top:unset;bottom:2em;margin:0 auto;max-width:calc(100vw - .75em * 2 - .5em - .2em * 2);max-height:30vh;overflow:auto}
</style>

<title>Source &amp; Target</title>
<title>RML-IO</title>


<link rel="stylesheet" type="text/css" href="./20230509/resources/css/extras.css">
Expand Down Expand Up @@ -391,7 +391,7 @@
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/cg-draft"></head>
<body class="h-entry"><div class="head">

<h1 id="title" class="title">Source &amp; Target</h1>
<h1 id="title" class="title">RML-IO</h1>
<p id="w3c-state">
<a href="https://www.w3.org/standards/types#reports">Draft Community Group Report</a>
<time class="dt-published" datetime="2023-05-09">09 May 2023</time>
Expand Down Expand Up @@ -421,7 +421,7 @@ <h1 id="title" class="title">Source &amp; Target</h1>
©
2021-2023

the Contributors to the Source &amp; Target
the Contributors to the RML-IO
Specification, published by the
<a href="https://www.w3.org/groups/cg/kg-construct">Knowledge Graph Construction Community Group</a> under the
<a href="https://www.w3.org/community/about/agreements/cla/">W3C Community Contributor License Agreement (CLA)</a>. A human-readable
Expand Down Expand Up @@ -456,11 +456,7 @@ <h1 id="title" class="title">Source &amp; Target</h1>

Learn more about
<a href="https://www.w3.org/community/">W3C Community and Business Groups</a>.
</p>
<p data-format="markdown"><p>This is an early draft,
yet efforts are made to keep things stable.</p>
</p>
</section><nav id="toc"><h2 class="introductory" id="table-of-contents">Table of Contents</h2><ol class="toc"><li class="tocline"><a class="tocxref" href="#abstract">Abstract</a></li><li class="tocline"><a class="tocxref" href="#sotd">Status of This Document</a></li><li class="tocline"><a class="tocxref" href="#conformance"><bdi class="secno">1. </bdi>Conformance</a></li><li class="tocline"><a class="tocxref" href="#overview"><bdi class="secno">2. </bdi>Overview</a></li><li class="tocline"><a class="tocxref" href="#source-vocabulary"><bdi class="secno">3. </bdi>Logical Source vocabulary</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#defining-logical-sources"><bdi class="secno">3.1 </bdi>Defining Logical Sources</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#reference-formulations"><bdi class="secno">3.1.1 </bdi>Reference formulations</a></li></ol></li><li class="tocline"><a class="tocxref" href="#source"><bdi class="secno">3.2 </bdi>Source</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#null-values"><bdi class="secno">3.2.1 </bdi>NULL values</a></li><li class="tocline"><a class="tocxref" href="#query"><bdi class="secno">3.2.2 </bdi>Query</a></li><li class="tocline"><a class="tocxref" href="#compression-formats"><bdi class="secno">3.2.3 </bdi>Compression formats</a></li><li class="tocline"><a class="tocxref" href="#encoding-formats"><bdi class="secno">3.2.4 </bdi>Encoding formats</a></li><li class="tocline"><a class="tocxref" href="#source-examples"><bdi class="secno">3.2.5 </bdi>Examples</a></li></ol></li></ol></li><li class="tocline"><a class="tocxref" href="#target-vocabulary"><bdi class="secno">4. </bdi>Logical Target vocabulary</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#defining-targets"><bdi class="secno">4.1 </bdi>Defining Logical Targets</a></li><li class="tocline"><a class="tocxref" href="#target"><bdi class="secno">4.2 </bdi>Target</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#serialization-formats"><bdi class="secno">4.2.1 </bdi>Serialization formats</a></li><li class="tocline"><a class="tocxref" href="#compression-formats-0"><bdi class="secno">4.2.2 </bdi>Compression formats</a></li><li class="tocline"><a class="tocxref" href="#encoding-formats-0"><bdi class="secno">4.2.3 </bdi>Encoding formats</a></li><li class="tocline"><a class="tocxref" href="#target-examples"><bdi class="secno">4.2.4 </bdi>Examples</a></li></ol></li></ol></li><li class="tocline"><a class="tocxref" href="#logical-source-in-rml"><bdi class="secno">5. </bdi>Logical Source in RML</a></li><li class="tocline"><a class="tocxref" href="#logical-target-in-rml"><bdi class="secno">6. </bdi>Logical Target in RML</a></li><li class="tocline"><a class="tocxref" href="#single-targets"><bdi class="secno">7. </bdi>Single targets</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#subject-map"><bdi class="secno">7.1 </bdi>Subject Map</a></li><li class="tocline"><a class="tocxref" href="#predicate-map"><bdi class="secno">7.2 </bdi>Predicate Map</a></li><li class="tocline"><a class="tocxref" href="#object-map"><bdi class="secno">7.3 </bdi>Object Map</a></li><li class="tocline"><a class="tocxref" href="#graph-map"><bdi class="secno">7.4 </bdi>Graph Map</a></li><li class="tocline"><a class="tocxref" href="#language-map"><bdi class="secno">7.5 </bdi>Language Map</a></li></ol></li><li class="tocline"><a class="tocxref" href="#multiple-targets"><bdi class="secno">8. </bdi>Combining multiple Targets</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#multiple-targets-same-term-map"><bdi class="secno">8.1 </bdi>Multiple Targets in the same Term Map</a></li><li class="tocline"><a class="tocxref" href="#subject-and-predicate-map"><bdi class="secno">8.2 </bdi>Subject Map and Predicate Map</a></li><li class="tocline"><a class="tocxref" href="#subject-and-object-map"><bdi class="secno">8.3 </bdi>Subject Map and Object Map</a></li><li class="tocline"><a class="tocxref" href="#predicate-and-object-map"><bdi class="secno">8.4 </bdi>Predicate Map and Object Map</a></li><li class="tocline"><a class="tocxref" href="#subject-predicate-and-object-map"><bdi class="secno">8.5 </bdi>Subject Map, Predicate Map and Object Map</a></li><li class="tocline"><a class="tocxref" href="#subject-and-graph-map"><bdi class="secno">8.6 </bdi>Subject Map and Graph Map</a></li><li class="tocline"><a class="tocxref" href="#predicate-and-graph-map"><bdi class="secno">8.7 </bdi>Predicate Map and Graph Map</a></li><li class="tocline"><a class="tocxref" href="#object-and-graph-map"><bdi class="secno">8.8 </bdi>Object Map and Graph Map</a></li><li class="tocline"><a class="tocxref" href="#language-and-graph-map"><bdi class="secno">8.9 </bdi>Language Map and Graph Map</a></li><li class="tocline"><a class="tocxref" href="#language-and-object-map"><bdi class="secno">8.10 </bdi>Language Map and Object Map</a></li><li class="tocline"><a class="tocxref" href="#multiple-predicate-map"><bdi class="secno">8.11 </bdi>Multiple Predicate Maps</a></li><li class="tocline"><a class="tocxref" href="#multiple-object-map"><bdi class="secno">8.12 </bdi>Multiple Object Maps</a></li><li class="tocline"><a class="tocxref" href="#multiple-graph-map"><bdi class="secno">8.13 </bdi>Multiple Graph Maps</a></li></ol></li><li class="tocline"><a class="tocxref" href="#overriding-targets"><bdi class="secno">9. </bdi>Overriding Targets</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#seperate-triples-map"><bdi class="secno">9.1 </bdi>Separate Triples Map</a></li><li class="tocline"><a class="tocxref" href="#conditions"><bdi class="secno">9.2 </bdi>Conditions</a></li></ol></li><li class="tocline"><a class="tocxref" href="#references"><bdi class="secno">A. </bdi>References</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#normative-references"><bdi class="secno">A.1 </bdi>Normative references</a></li></ol></li></ol></nav>
</p></section><nav id="toc"><h2 class="introductory" id="table-of-contents">Table of Contents</h2><ol class="toc"><li class="tocline"><a class="tocxref" href="#abstract">Abstract</a></li><li class="tocline"><a class="tocxref" href="#sotd">Status of This Document</a></li><li class="tocline"><a class="tocxref" href="#conformance"><bdi class="secno">1. </bdi>Conformance</a></li><li class="tocline"><a class="tocxref" href="#overview"><bdi class="secno">2. </bdi>Overview</a></li><li class="tocline"><a class="tocxref" href="#source-vocabulary"><bdi class="secno">3. </bdi>Logical Source vocabulary</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#defining-logical-sources"><bdi class="secno">3.1 </bdi>Defining Logical Sources</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#reference-formulations"><bdi class="secno">3.1.1 </bdi>Reference formulations</a></li></ol></li><li class="tocline"><a class="tocxref" href="#source"><bdi class="secno">3.2 </bdi>Source</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#null-values"><bdi class="secno">3.2.1 </bdi>NULL values</a></li><li class="tocline"><a class="tocxref" href="#query"><bdi class="secno">3.2.2 </bdi>Query</a></li><li class="tocline"><a class="tocxref" href="#compression-formats"><bdi class="secno">3.2.3 </bdi>Compression formats</a></li><li class="tocline"><a class="tocxref" href="#encoding-formats"><bdi class="secno">3.2.4 </bdi>Encoding formats</a></li></ol></li><li class="tocline"><a class="tocxref" href="#source-examples"><bdi class="secno">3.3 </bdi>Examples</a></li></ol></li><li class="tocline"><a class="tocxref" href="#target-vocabulary"><bdi class="secno">4. </bdi>Logical Target vocabulary</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#defining-targets"><bdi class="secno">4.1 </bdi>Defining Logical Targets</a></li><li class="tocline"><a class="tocxref" href="#target"><bdi class="secno">4.2 </bdi>Target</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#serialization-formats"><bdi class="secno">4.2.1 </bdi>Serialization formats</a></li><li class="tocline"><a class="tocxref" href="#compression-formats-0"><bdi class="secno">4.2.2 </bdi>Compression formats</a></li><li class="tocline"><a class="tocxref" href="#encoding-formats-0"><bdi class="secno">4.2.3 </bdi>Encoding formats</a></li></ol></li><li class="tocline"><a class="tocxref" href="#target-examples"><bdi class="secno">4.3 </bdi>Examples</a></li></ol></li><li class="tocline"><a class="tocxref" href="#logical-source-in-rml"><bdi class="secno">5. </bdi>Logical Source in RML</a></li><li class="tocline"><a class="tocxref" href="#logical-target-in-rml"><bdi class="secno">6. </bdi>Logical Target in RML</a></li><li class="tocline"><a class="tocxref" href="#single-targets"><bdi class="secno">7. </bdi>Single targets</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#subject-map"><bdi class="secno">7.1 </bdi>Subject Map</a></li><li class="tocline"><a class="tocxref" href="#predicate-map"><bdi class="secno">7.2 </bdi>Predicate Map</a></li><li class="tocline"><a class="tocxref" href="#object-map"><bdi class="secno">7.3 </bdi>Object Map</a></li><li class="tocline"><a class="tocxref" href="#graph-map"><bdi class="secno">7.4 </bdi>Graph Map</a></li><li class="tocline"><a class="tocxref" href="#language-map"><bdi class="secno">7.5 </bdi>Language Map</a></li></ol></li><li class="tocline"><a class="tocxref" href="#multiple-targets"><bdi class="secno">8. </bdi>Combining multiple Targets</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#multiple-targets-same-term-map"><bdi class="secno">8.1 </bdi>Multiple Targets in the same Term Map</a></li><li class="tocline"><a class="tocxref" href="#subject-and-predicate-map"><bdi class="secno">8.2 </bdi>Subject Map and Predicate Map</a></li><li class="tocline"><a class="tocxref" href="#subject-and-object-map"><bdi class="secno">8.3 </bdi>Subject Map and Object Map</a></li><li class="tocline"><a class="tocxref" href="#predicate-and-object-map"><bdi class="secno">8.4 </bdi>Predicate Map and Object Map</a></li><li class="tocline"><a class="tocxref" href="#subject-predicate-and-object-map"><bdi class="secno">8.5 </bdi>Subject Map, Predicate Map and Object Map</a></li><li class="tocline"><a class="tocxref" href="#subject-and-graph-map"><bdi class="secno">8.6 </bdi>Subject Map and Graph Map</a></li><li class="tocline"><a class="tocxref" href="#predicate-and-graph-map"><bdi class="secno">8.7 </bdi>Predicate Map and Graph Map</a></li><li class="tocline"><a class="tocxref" href="#object-and-graph-map"><bdi class="secno">8.8 </bdi>Object Map and Graph Map</a></li><li class="tocline"><a class="tocxref" href="#language-and-graph-map"><bdi class="secno">8.9 </bdi>Language Map and Graph Map</a></li><li class="tocline"><a class="tocxref" href="#language-and-object-map"><bdi class="secno">8.10 </bdi>Language Map and Object Map</a></li><li class="tocline"><a class="tocxref" href="#multiple-predicate-map"><bdi class="secno">8.11 </bdi>Multiple Predicate Maps</a></li><li class="tocline"><a class="tocxref" href="#multiple-object-map"><bdi class="secno">8.12 </bdi>Multiple Object Maps</a></li><li class="tocline"><a class="tocxref" href="#multiple-graph-map"><bdi class="secno">8.13 </bdi>Multiple Graph Maps</a></li></ol></li><li class="tocline"><a class="tocxref" href="#overriding-targets"><bdi class="secno">9. </bdi>Overriding Targets</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#seperate-triples-map"><bdi class="secno">9.1 </bdi>Separate Triples Map</a></li><li class="tocline"><a class="tocxref" href="#conditions"><bdi class="secno">9.2 </bdi>Conditions</a></li></ol></li><li class="tocline"><a class="tocxref" href="#references"><bdi class="secno">A. </bdi>References</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#normative-references"><bdi class="secno">A.1 </bdi>Normative references</a></li></ol></li></ol></nav>

<section id="conformance"><div class="header-wrapper"><h2 id="x1-conformance"><bdi class="secno">1. </bdi>Conformance</h2><a class="self-link" href="#conformance" aria-label="Permalink for Section 1."></a></div><p>As well as sections marked as non-normative, all authoring guidelines, diagrams, examples, and notes in this specification are non-normative. Everything else in this specification is normative.</p><p>
The key words <em class="rfc2119">MAY</em>, <em class="rfc2119">MUST</em>, and <em class="rfc2119">MUST NOT</em> in this document
Expand Down Expand Up @@ -753,7 +749,7 @@ <h1 id="title" class="title">Source &amp; Target</h1>
<p>If unspecified, the default value is UTF-8.
This namespace is NOT limited to the listed compression formats
and <em class="rfc2119">MAY</em> be extended in the future.</p>
</section><section id="examples"><div class="header-wrapper"><h4 id="source-examples"><bdi class="secno">3.2.5 </bdi>Examples</h4><a class="self-link" href="#source-examples" aria-label="Permalink for Section 3.2.5"></a></div><p>The following example show a Source of an CSV file.</p>
</section></section><section id="examples"><div class="header-wrapper"><h3 id="source-examples"><bdi class="secno">3.3 </bdi>Examples</h3><a class="self-link" href="#source-examples" aria-label="Permalink for Section 3.3"></a></div><p>The following example show a Source of an CSV file.</p>
<pre class="ex-source" aria-busy="false"><code class="hljs">&lt;#CSV&gt; a rml:LogicalSource;
rml:source [ a rml:Source, a csvw:Table
csvw:url "/path/to/data.csv";
Expand Down Expand Up @@ -909,7 +905,7 @@ <h1 id="title" class="title">Source &amp; Target</h1>
];
rml:referenceFormulation ql:XPath;
rml:iterator "/my/xpath";
.</code></pre></section></section></section>
.</code></pre></section></section>

<section id="logical-target-vocabulary"><div class="header-wrapper"><h2 id="target-vocabulary"><bdi class="secno">4. </bdi>Logical Target vocabulary</h2><a class="self-link" href="#target-vocabulary" aria-label="Permalink for Section 4."></a></div><p>The LogicalTarget vocabulary namespace is <a href="http://w3id.org/rml/">http://w3id.org/rml/</a>
and it's prefix is <code>rml</code>.</p>
Expand Down Expand Up @@ -1018,7 +1014,7 @@ <h1 id="title" class="title">Source &amp; Target</h1>
<p>If unspecified, the default value is UTF-8.
This namespace is NOT limited to the listed compression formats
and <em class="rfc2119">MAY</em> be extended in the future.</p>
</section><section id="examples-0"><div class="header-wrapper"><h4 id="target-examples"><bdi class="secno">4.2.4 </bdi>Examples</h4><a class="self-link" href="#target-examples" aria-label="Permalink for Section 4.2.4"></a></div><p>The following example show a Target of an RDF dump in Turtle [<cite><a class="bibref" data-link-type="biblio" href="#bib-turtle" title="RDF 1.1 Turtle">Turtle</a></cite>]
</section></section><section id="examples-0"><div class="header-wrapper"><h3 id="target-examples"><bdi class="secno">4.3 </bdi>Examples</h3><a class="self-link" href="#target-examples" aria-label="Permalink for Section 4.3"></a></div><p>The following example show a Target of an RDF dump in Turtle [<cite><a class="bibref" data-link-type="biblio" href="#bib-turtle" title="RDF 1.1 Turtle">Turtle</a></cite>]
format with GZip compression and UTF-8 encoding:</p>
<pre class="ex-target" aria-busy="false"><code class="hljs">&lt;#VoIDDump&gt; a rml:LogicalTarget;
rml:target [ a rml:Target, void:Dataset;
Expand Down Expand Up @@ -1148,7 +1144,7 @@ <h1 id="title" class="title">Source &amp; Target</h1>
];
];
rml:serialization formats:N-Quads;
.</code></pre></section></section></section>
.</code></pre></section></section>


<section id="logical-source-in-rml-0"><div class="header-wrapper"><h2 id="logical-source-in-rml"><bdi class="secno">5. </bdi>Logical Source in RML</h2><a class="self-link" href="#logical-source-in-rml" aria-label="Permalink for Section 5."></a></div><p>RML is aligned with the Logical Source vocabulary
Expand Down
Loading

0 comments on commit bfe8d84

Please sign in to comment.