@@ -3149,25 +3149,20 @@ <h3>Examples of RDF Datasets</h3>
3149
3149
<div class="exampleGroup">
3150
3150
<b>Example 1:</b>
3151
3151
<pre class="data nohighlight">
3152
- # <b>Default graph</b>
3153
3152
PREFIX dc: <http://purl.org/dc/elements/1.1/>
3154
3153
3155
3154
<http://example.org/bob> dc:publisher "Bob" .
3156
3155
<http://example.org/alice> dc:publisher "Alice" .
3157
- </pre>
3158
- <pre class="data nohighlight">
3159
- # <b>Named graph: http://example.org/bob</b>
3160
- PREFIX foaf: <http://xmlns.com/foaf/0.1/>
3161
3156
3162
- _:a foaf:name "Bob" .
3163
- _:a foaf:mbox <mailto:
[email protected] > .
3164
- </pre>
3165
- <pre class="data nohighlight">
3166
- # <b>Named graph: http://example.org/alice</b>
3167
- PREFIX foaf: <http://xmlns.com/foaf/0.1/>
3157
+ GRAPH <http://example.org/bob> {
3158
+ _:a foaf:name "Bob" .
3159
+ _:a foaf:mbox <mailto:
[email protected] > .
3160
+ }
3168
3161
3169
- _:a foaf:name "Alice" .
3170
- _:a foaf:mbox <mailto:
[email protected] > .
3162
+ GRAPH <http://example.org/alice> {
3163
+ _:a foaf:name "Alice" .
3164
+ _:a foaf:mbox <mailto:
[email protected] > .
3165
+ }
3171
3166
</pre>
3172
3167
</div>
3173
3168
<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>
3184
3179
</p>
3185
3180
<div class="exampleGroup">
3186
3181
<pre class="data nohighlight">
3187
- # <b>Default graph</b>
3188
3182
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
3189
3183
3190
3184
_:x foaf:name "Bob" .
3191
3185
_:x foaf:mbox <mailto:
[email protected] > .
3192
3186
3193
3187
_:y foaf:name "Alice" .
3194
3188
_:y foaf:mbox <mailto:
[email protected] > .
3195
- </pre>
3196
- <pre class="data nohighlight">
3197
- # <b>Named graph: http://example.org/bob</b>
3198
- PREFIX foaf: <http://xmlns.com/foaf/0.1/>
3199
3189
3200
- _:a foaf:name "Bob" .
3201
- _:a foaf:mbox <mailto:
[email protected] > .
3202
- </pre>
3203
- <pre class="data nohighlight">
3204
- # <b>Named graph: http://example.org/alice</b>
3205
- PREFIX foaf: <http://xmlns.com/foaf/0.1/>
3190
+ GRAPH <http://example.org/bob> {
3191
+ _:a foaf:name "Bob" .
3192
+ _:a foaf:mbox <mailto:
[email protected] > .
3193
+ }
3206
3194
3207
- _:a foaf:name "Alice" .
3208
- _:a foaf:mbox <<a href="mailto:
[email protected] ">mailto:
[email protected] </a>> .
3195
+ GRAPH <http://example.org/alice> {
3196
+ _:a foaf:name "Alice" .
3197
+ _:a foaf:mbox <mailto:
[email protected] > .
3198
+ }
3209
3199
</pre>
3210
3200
<p>In an RDF merge, blank nodes in the merged graph are not shared with blank nodes from
3211
3201
the graphs being merged.</p>
0 commit comments