Skip to content

Commit 282368a

Browse files
committed
Change Property Generator generated statements to tabular form, which makes it more apparent that they only vary by property.
1 parent 1f2c8fb commit 282368a

File tree

1 file changed

+25
-15
lines changed

1 file changed

+25
-15
lines changed

spec/latest/json-ld-syntax/index.html

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,22 +1736,32 @@ <h2>Property Generators</h2>
17361736
</pre>
17371737

17381738
<p>While the term above is only used once outside of the <code>@context</code>,
1739-
the document above is equivalent to the following set of statements:</p>
1739+
the document above is equivalent to the following:</p>
17401740

1741-
<pre class="example" data-transform="updateExample"
1742-
title="Set of statements generated by the previous example">
1743-
<!--
1744-
<http://example.com/book>
1745-
<http://purl.org/dc/terms/title>
1746-
"The Count of Monte Cristo" .
1747-
<http://example.com/book>
1748-
<http://schema.org/name>
1749-
"The Count of Monte Cristo" .
1750-
<http://example.com/book>
1751-
<http://www.w3.org/2000/01/rdf-schema#label>
1752-
"The Count of Monte Cristo" .
1753-
-->
1754-
</pre>
1741+
<table class="example">
1742+
<thead>
1743+
<th>Subject</th>
1744+
<th>Property</th>
1745+
<th>Object</th>
1746+
</thead>
1747+
<tbody>
1748+
<tr>
1749+
<td>http://example.com/book</td>
1750+
<td>http://purl.org/dc/terms/title</td>
1751+
<td>The Count of Monte Cristo</td>
1752+
</tr>
1753+
<tr>
1754+
<td>http://example.com/book</td>
1755+
<td>http://schema.org/name</td>
1756+
<td>The Count of Monte Cristo</td>
1757+
</tr>
1758+
<tr>
1759+
<td>http://example.com/book</td>
1760+
<td>http://www.w3.org/2000/01/rdf-schema#label</td>
1761+
<td>The Count of Monte Cristo</td>
1762+
</tr>
1763+
</tbody>
1764+
</table>
17551765

17561766
</section>
17571767

0 commit comments

Comments
 (0)