Skip to content

Commit dc290fc

Browse files
#648 0027-out.jsonld: @graph and value objects
1 parent 1955ead commit dc290fc

File tree

1 file changed

+45
-56
lines changed

1 file changed

+45
-56
lines changed

Diff for: tests/fromRdf/0027-out.jsonld

+45-56
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,45 @@
1-
{
2-
"@graph": [
3-
{
4-
"@id": "http://example.com/boolean-native",
5-
"http://example.com/example": [
6-
{
7-
"@type": "http://www.w3.org/2001/XMLSchema#boolean",
8-
"@value": true
9-
},
10-
{
11-
"@type": "http://www.w3.org/2001/XMLSchema#boolean",
12-
"@value": false
13-
}
14-
]
15-
},
16-
{
17-
"@id": "http://example.com/boolean-object",
18-
"http://example.com/example": [
19-
{
20-
"@type": "http://www.w3.org/2001/XMLSchema#boolean",
21-
"@value": "True"
22-
},
23-
{
24-
"@type": "http://www.w3.org/2001/XMLSchema#boolean",
25-
"@value": "False"
26-
}
27-
]
28-
},
29-
{
30-
"@id": "http://example.com/number-native",
31-
"http://example.com/example": [
32-
{
33-
"@type": "http://www.w3.org/2001/XMLSchema#integer",
34-
"@value": 1
35-
}
36-
]
37-
},
38-
{
39-
"@id": "http://example.com/number-object",
40-
"http://example.com/example": [
41-
{
42-
"@type": "http://www.w3.org/2001/XMLSchema#double",
43-
"@value": "0.1e999999999999999"
44-
},
45-
{
46-
"@type": "http://www.w3.org/2001/XMLSchema#double",
47-
"@value": "+INF"
48-
},
49-
{
50-
"@type": "http://www.w3.org/2001/XMLSchema#double",
51-
"@value": "-INF"
52-
}
53-
]
54-
}
55-
]
56-
}
1+
[
2+
{
3+
"@id": "http://example.com/boolean-native",
4+
"http://example.com/example": [
5+
true,
6+
false
7+
]
8+
},
9+
{
10+
"@id": "http://example.com/boolean-object",
11+
"http://example.com/example": [
12+
{
13+
"@type": "http://www.w3.org/2001/XMLSchema#boolean",
14+
"@value": "True"
15+
},
16+
{
17+
"@type": "http://www.w3.org/2001/XMLSchema#boolean",
18+
"@value": "False"
19+
}
20+
]
21+
},
22+
{
23+
"@id": "http://example.com/number-native",
24+
"http://example.com/example": [
25+
1
26+
]
27+
},
28+
{
29+
"@id": "http://example.com/number-object",
30+
"http://example.com/example": [
31+
{
32+
"@type": "http://www.w3.org/2001/XMLSchema#double",
33+
"@value": "0.1e999999999999999"
34+
},
35+
{
36+
"@type": "http://www.w3.org/2001/XMLSchema#double",
37+
"@value": "+INF"
38+
},
39+
{
40+
"@type": "http://www.w3.org/2001/XMLSchema#double",
41+
"@value": "-INF"
42+
}
43+
]
44+
}
45+
]

0 commit comments

Comments
 (0)