Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1875,10 +1875,10 @@ <h3>SPARQL</h3>
[[[SPARQL11-QUERY]]].</p>
</section>
<section id="rel-n3-trig">
<h3>TriG</h3>
<h3>TriG vs N3 Named Graphs</h3>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This addition does not make much sense to me, as each section pertains to the similarity of N3 with another language (or aspect thereof). In this vein, adding "Named Graphs" as a subsection could work.

<p>[[[TRIG]]] is itself a superset of the Turtle syntax and includes a compact way to write RDF datasets, i.e.,
sets of named graphs. In particular, TriG allows the specification of so-called graph statements, which are a
pair of an <a>IRI</a> or blank node label and a group of triple statements surrounded by "<code>{</code>" and
pair of a graph name (<a>IRI</a> or blank node) and a group of triple statements surrounded by "<code>{</code>" and
"<code>}</code>".</p>
<p>For instance:</p>
<pre class="example nohighlight linkeditor" data-transform="updateExample">
Expand Down Expand Up @@ -1906,9 +1906,10 @@ <h3>TriG</h3>
</pre>
<p>N3 is not directly compatible with TriG as it does not support this graph statement notation. Nevertheless,
since N3 supports <a>quoted graphs</a> as part of regular <a>N3 statements</a>,
authors can utilize the <a href="https://github.com/IDLabRese arch/N3NamedGraphSemantics">N3 Named Graphs
authors can utilize the <a href="https://github.com/IDLabResearch/N3NamedGraphSemantics">N3 Named Graphs
extension</a>;
this extension allows associating names or identifiers with <a>quoted graphs</a>.
(Note: the `sem:` prefix indeed refers to `https://example.org/ns/semantics#` as shown below).
For instance:
<pre class="example nohighlight linkeditor" data-transform="updateExample"><!--

Expand Down