76
76
companyURL : "https://digitalbazaar.com/" ,
77
77
note : "v1.0" } ,
78
78
{ name : "Dave Longley" ,
79
- url : "https://digitalbazaar.com/" ,
79
+ url : "https://digitalbazaar.com/author/dlongley/ " ,
80
80
company : "Digital Bazaar" ,
81
81
companyURL : "https://digitalbazaar.com/" ,
82
82
note : "v1.0" } ,
@@ -8498,19 +8498,19 @@ <h3>Graph Containers</h3>
8498
8498
< pre class ="original selected " data-transform ="updateExample "
8499
8499
data-content-type ="text/html ">
8500
8500
<!--
8501
- <p>Data described using FOAF </p>
8501
+ <p>Data describing Dave </p>
8502
8502
<script type="application/ld+json">
8503
8503
{
8504
8504
"@context": {
8505
- "@vocab": "http://xmlns.com/foaf/0.1 /"
8505
+ "@vocab": "http://schema.org /"
8506
8506
},
8507
- "@id": "http ://greggkellogg.net/foaf#me ",
8507
+ "@id": "https ://digitalbazaar.com/author/dlongley/ ",
8508
8508
"@type": "Person",
8509
- "name": "Gregg Kellogg "
8509
+ "name": "Dave Longley "
8510
8510
}
8511
8511
</script>
8512
8512
8513
- <p>Data described using schema.org </p>
8513
+ <p>Data describing Gregg </p>
8514
8514
<script type="application/ld+json">
8515
8515
{
8516
8516
"@context": {
@@ -8523,14 +8523,15 @@ <h3>Graph Containers</h3>
8523
8523
</script>
8524
8524
-->
8525
8525
</ pre >
8526
+ </ pre >
8526
8527
< table class ="statements "
8527
8528
data-result-for ="Combining multiple JSON-LD script elements into a single dataset-original "
8528
8529
data-to-rdf >
8529
8530
< thead > < tr > < th > Subject</ th > < th > Property</ th > < th > Value</ th > </ tr > </ thead >
8530
8531
< tbody >
8531
- < tr > < td > http://greggkellogg.net/foaf#me</ td > < td > rdf:type</ td > < td > foaf:Person</ td > </ tr >
8532
+ < tr > < td > https://digitalbazaar.com/author/dlongley/</ td > < td > rdf:type</ td > < td > schema:Person</ td > </ tr >
8533
+ < tr > < td > https://digitalbazaar.com/author/dlongley/</ td > < td > schema:name</ td > < td > Dave Longley</ td > </ tr >
8532
8534
< tr > < td > http://greggkellogg.net/foaf#me</ td > < td > rdf:type</ td > < td > schema:Person</ td > </ tr >
8533
- < tr > < td > http://greggkellogg.net/foaf#me</ td > < td > foaf:name</ td > < td > Gregg Kellogg</ td > </ tr >
8534
8535
< tr > < td > http://greggkellogg.net/foaf#me</ td > < td > schema:name</ td > < td > Gregg Kellogg</ td > </ tr >
8535
8536
</ tbody >
8536
8537
</ table >
@@ -8540,11 +8541,12 @@ <h3>Graph Containers</h3>
8540
8541
data-result-for ="Combining multiple JSON-LD script elements into a single dataset-original "
8541
8542
data-to-rdf >
8542
8543
<!--
8543
- @prefix foaf: <http://xmlns.com/foaf/0.1/> .
8544
8544
@prefix schema: <http://schema.org/> .
8545
8545
8546
- <http://greggkellogg.net/foaf#me> a foaf:Person, schema:Person;
8547
- foaf:name "Gregg Kellogg";
8546
+ <https://digitalbazaar.com/author/dlongley/> a schema:Person;
8547
+ schema:name "Dave Longley" .
8548
+
8549
+ <http://greggkellogg.net/foaf#me> a schema:Person;
8548
8550
schema:name "Gregg Kellogg" .
8549
8551
-->
8550
8552
</ pre >
@@ -8567,8 +8569,8 @@ <h3>Graph Containers</h3>
8567
8569
a fragment identifier matching the < a data-cite ="DOM#concept-id "> unique identifier</ a >
8568
8570
of the script element within the HTML document located by a URL (see [[!DOM]]).</ p >
8569
8571
< p > For example, given an HTML document located at < code > http://example.com/document</ code > ,
8570
- a script element identified by "schema " can be targeted using the URL
8571
- < code > http://example.com/document#schema </ code > .</ p >
8572
+ a script element identified by "name " can be targeted using the URL
8573
+ < code > http://example.com/document#name </ code > .</ p >
8572
8574
8573
8575
< aside class ="example ds-selector-tabs "
8574
8576
title ="Targeting a specific script element by id ">
@@ -8577,24 +8579,24 @@ <h3>Graph Containers</h3>
8577
8579
< button data-selects ="statements "> Statements</ button >
8578
8580
< button data-selects ="turtle "> Turtle</ button >
8579
8581
</ div >
8580
- < p > Targeting a script element with id "schema "</ p >
8582
+ < p > Targeting a script element with id "gregg "</ p >
8581
8583
< pre class ="original selected nohighlight " data-transform ="updateExample "
8582
8584
data-content-type ="text/html ">
8583
8585
<!--
8584
- <p>Data described using FOAF </p>
8585
- <script ****id="foaf "**** type="application/ld+json">
8586
+ <p>Data describing Dave </p>
8587
+ <script ****id="dave "**** type="application/ld+json">
8586
8588
{
8587
8589
"@context": {
8588
- "@vocab": "http://xmlns.com/foaf/0.1 /"
8590
+ "@vocab": "http://schema.org /"
8589
8591
},
8590
- "@id": "http ://greggkellogg.net/foaf#me ",
8592
+ "@id": "https ://digitalbazaar.com/author/dlongley/ ",
8591
8593
"@type": "Person",
8592
- "name": "Gregg Kellogg "
8594
+ "name": "Dave Longley "
8593
8595
}
8594
8596
</script>
8595
8597
8596
- <p>Data described using schema.org </p>
8597
- <script ****id="schema "**** type="application/ld+json">
8598
+ <p>Data describing Gregg </p>
8599
+ <script ****id="gregg "**** type="application/ld+json">
8598
8600
{
8599
8601
"@context": {
8600
8602
"@vocab": "http://schema.org/"
@@ -8609,7 +8611,7 @@ <h3>Graph Containers</h3>
8609
8611
< table class ="statements "
8610
8612
data-result-for ="Targeting a specific script element by id-original "
8611
8613
data-to-rdf
8612
- data-target ="#schema ">
8614
+ data-target ="#gregg ">
8613
8615
< thead > < tr > < th > Subject</ th > < th > Property</ th > < th > Value</ th > </ tr > </ thead >
8614
8616
< tbody >
8615
8617
< tr > < td > http://greggkellogg.net/foaf#me</ td > < td > rdf:type</ td > < td > schema:Person</ td > </ tr >
@@ -8621,7 +8623,7 @@ <h3>Graph Containers</h3>
8621
8623
data-transform ="updateExample "
8622
8624
data-result-for ="Targeting a specific script element by id-original "
8623
8625
data-to-rdf
8624
- data-target ="#schema ">
8626
+ data-target ="#gregg ">
8625
8627
<!--
8626
8628
@prefix schema: <http://schema.org/> .
8627
8629
0 commit comments