Skip to content

Commit c5efd4a

Browse files
committed
bugfix in extract-examples.rb by @gkellogg
1 parent c236527 commit c5efd4a

4 files changed

+32
-2
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"e": {"@id": "http://example.org/vocab#json", "@type": "@json"}
5+
},
6+
"e": [
7+
56.0,
8+
{
9+
"d": true,
10+
"10": null,
11+
"1": [ ]
12+
}
13+
]
14+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@prefix ex: <http://example.org/vocab#> .
2+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3+
[ex:json """[56,{"1":[],"10":null,"d":true}]"""^^rdf:JSON] .

examples/JSON-LD-document-using-only-terms-statements.table

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<table class="statements" data-result-for="JSON-LD document using only terms-expanded">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2+
<html><body><table class="statements" data-result-for="JSON-LD document using only terms-expanded">
23
<thead><tr>
34
<th>Subject</th>
45
<th>Property</th>
@@ -16,4 +17,4 @@
1617
<td>http://www.markus-lanthaler.com/</td>
1718
</tr>
1819
</tbody>
19-
</table>
20+
</table></body></html>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Example 022: Canonicalized JSON literal-original
2+
---
3+
"@context":
4+
"@version": 1.1
5+
e:
6+
"@id": http://example.org/vocab#json
7+
"@type": "@json"
8+
e:
9+
- 56.0
10+
- d: true
11+
'10':
12+
'1': []

0 commit comments

Comments
 (0)