Skip to content

Commit 2c327c6

Browse files
rubensworksafs
authored andcommitted
Replace dataset examples with TriG
1 parent f9f5ea8 commit 2c327c6

File tree

1 file changed

+16
-26
lines changed

1 file changed

+16
-26
lines changed

spec/index.html

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3149,25 +3149,20 @@ <h3>Examples of RDF Datasets</h3>
31493149
<div class="exampleGroup">
31503150
<b>Example 1:</b>
31513151
<pre class="data nohighlight">
3152-
# <b>Default graph</b>
31533152
PREFIX dc: &lt;http://purl.org/dc/elements/1.1/&gt;
31543153

31553154
&lt;http://example.org/bob&gt; dc:publisher "Bob" .
31563155
&lt;http://example.org/alice&gt; dc:publisher "Alice" .
3157-
</pre>
3158-
<pre class="data nohighlight">
3159-
# <b>Named graph: http://example.org/bob</b>
3160-
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
31613156

3162-
_:a foaf:name "Bob" .
3163-
_:a foaf:mbox &lt;mailto:[email protected]&gt; .
3164-
</pre>
3165-
<pre class="data nohighlight">
3166-
# <b>Named graph: http://example.org/alice</b>
3167-
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
3157+
GRAPH &lt;http://example.org/bob&gt; {
3158+
_:a foaf:name "Bob" .
3159+
_:a foaf:mbox &lt;mailto:[email protected]&gt; .
3160+
}
31683161

3169-
_:a foaf:name "Alice" .
3170-
_:a foaf:mbox &lt;mailto:[email protected]&gt; .
3162+
GRAPH &lt;http://example.org/alice&gt; {
3163+
_:a foaf:name "Alice" .
3164+
_:a foaf:mbox &lt;mailto:[email protected]&gt; .
3165+
}
31713166
</pre>
31723167
</div>
31733168
<p>In this example, the default graph contains the names of the publishers of two named
@@ -3184,28 +3179,23 @@ <h3>Examples of RDF Datasets</h3>
31843179
</p>
31853180
<div class="exampleGroup">
31863181
<pre class="data nohighlight">
3187-
# <b>Default graph</b>
31883182
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
31893183

31903184
_:x foaf:name "Bob" .
31913185
_:x foaf:mbox &lt;mailto:[email protected]&gt; .
31923186

31933187
_:y foaf:name "Alice" .
31943188
_:y foaf:mbox &lt;mailto:[email protected]&gt; .
3195-
</pre>
3196-
<pre class="data nohighlight">
3197-
# <b>Named graph: http://example.org/bob</b>
3198-
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
31993189

3200-
_:a foaf:name "Bob" .
3201-
_:a foaf:mbox &lt;mailto:[email protected]&gt; .
3202-
</pre>
3203-
<pre class="data nohighlight">
3204-
# <b>Named graph: http://example.org/alice</b>
3205-
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
3190+
GRAPH &lt;http://example.org/bob&gt; {
3191+
_:a foaf:name "Bob" .
3192+
_:a foaf:mbox &lt;mailto:[email protected]&gt; .
3193+
}
32063194

3207-
_:a foaf:name "Alice" .
3208-
_:a foaf:mbox &lt;<a href="mailto:[email protected]">mailto:[email protected]</a>&gt; .
3195+
GRAPH &lt;http://example.org/alice&gt; {
3196+
_:a foaf:name "Alice" .
3197+
_:a foaf:mbox &lt;mailto:[email protected]&gt; .
3198+
}
32093199
</pre>
32103200
<p>In an RDF merge, blank nodes in the merged graph are not shared with blank nodes from
32113201
the graphs being merged.</p>

0 commit comments

Comments
 (0)