@@ -8023,14 +8023,13 @@ <h3>Graph Containers</h3>
8023
8023
"@context": {
8024
8024
"@version": 1.1,
8025
8025
"@base": "http://dbpedia.org/resource/",
8026
- "id": "@id",
8027
- "isa": "@type",
8028
- ****"said": {"@id": "http://example.com/said", "@container": "@graph"}****
8026
+ "said": "http://example.com/said",
8027
+ ****"wrote": {"@id": "http://example.com/wrote", "@container": "@graph"}****
8029
8028
},
8030
- "id": "Epimenides ",
8031
- ****"said "****: {
8032
- "id": "Epimenides ",
8033
- "isa ": "Liar "
8029
+ "@ id": "Skakespeare ",
8030
+ ****"wrote "****: {
8031
+ "@ id": "Richard_III_of_England ",
8032
+ "said ": "My kingdom for a horse "
8034
8033
}
8035
8034
}
8036
8035
-->
@@ -8039,11 +8038,11 @@ <h3>Graph Containers</h3>
8039
8038
data-result-for ="Implicitly named graph-original ">
8040
8039
<!--
8041
8040
[{
8042
- "@id": "http://dbpedia.org/resource/Epimenides ",
8043
- ****"http://example.com/said "****: [{
8041
+ "@id": "http://dbpedia.org/resource/Skakespeare ",
8042
+ ****"http://example.com/wrote "****: [{
8044
8043
****"@graph"****: [{
8045
- "@id": "http://dbpedia.org/resource/Epimenides ",
8046
- "@type": [" http://dbpedia.org/resource/Liar" ]
8044
+ "@id": "http://dbpedia.org/resource/Richard_III_of_England ",
8045
+ "http://example.com/said": [{"@value": "My kingdom for a horse"} ]
8047
8046
}]
8048
8047
}]
8049
8048
}]
@@ -8054,8 +8053,8 @@ <h3>Graph Containers</h3>
8054
8053
data-to-rdf >
8055
8054
< thead > < tr > < th > Graph</ th > < th > Subject</ th > < th > Property</ th > < th > Value</ th > </ tr > </ thead >
8056
8055
< tbody >
8057
- < tr > < td > </ td > < td > http://dbpedia.org/resource/Epimenides </ td > < td > http://example.com/said</ td > < td > _:b0 </ td > </ tr >
8058
- < tr > < td > _:b0 </ td > < td > http://dbpedia.org/resource/Epimenides </ td > < td > rdf:type </ td > < td > http://dbpedia.org/resource/Liar </ td > </ tr >
8056
+ < tr > < td > _:b0 </ td > < td > http://dbpedia.org/resource/Richard_III_of_England </ td > < td > http://example.com/said</ td > < td > My kingdom for a horse </ td > </ tr >
8057
+ < tr > < td > </ td > < td > http://dbpedia.org/resource/Skakespeare </ td > < td > http://example.com/wrote </ td > < td > _:b0 </ td > </ tr >
8059
8058
</ tbody >
8060
8059
</ table >
8061
8060
< pre class ="trig nohighlight "
@@ -8066,20 +8065,19 @@ <h3>Graph Containers</h3>
8066
8065
<!--
8067
8066
@prefix dbp: <http://dbpedia.org/resource/> .
8068
8067
@prefix ex: <http://example.com/> .
8069
- @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8070
8068
8071
- dbp:Epimenides ex:said _:b0 .
8069
+ dbp:Skakespeare ex:wrote _:b0 .
8072
8070
8073
8071
_:b0 {
8074
- dbp:Epimenides a dbp:Liar .
8072
+ dbp:Richard_III_of_England ex:said "My kingdom for a horse" .
8075
8073
}
8076
8074
-->
8077
8075
</ pre >
8078
8076
</ aside >
8079
8077
8080
8078
< p > The example above expresses an anonymously < a > named graph</ a >
8081
8079
making a statement. The < a > default graph</ a > includes a statement
8082
- saying that the < a > subject</ a > made that statement.
8080
+ saying that the < a > subject</ a > wrote that statement.
8083
8081
This is an example of separating statements into a < a > named graph</ a > , and then
8084
8082
making assertions about the statements contained within that < a > named graph</ a > .</ p >
8085
8083
0 commit comments