-
Notifications
You must be signed in to change notification settings - Fork 121
/
representation-conversion.json
108 lines (103 loc) · 3.4 KB
/
representation-conversion.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^0.0.0/components/context.jsonld",
"@graph": [
{
"@id": "urn:solid-server:default:RdfToQuadConverter",
"@type": "RdfToQuadConverter"
},
{
"@id": "urn:solid-server:default:QuadToRdfConverter",
"@type": "QuadToRdfConverter",
"options_outputPreferences": [
{
"QuadToRdfConverter:_options_outputPreferences_key": "text/turtle",
"QuadToRdfConverter:_options_outputPreferences_value": 1
},
{
"QuadToRdfConverter:_options_outputPreferences_key": "application/n-triples",
"QuadToRdfConverter:_options_outputPreferences_value": 0.95
},
{
"QuadToRdfConverter:_options_outputPreferences_key": "application/trig",
"QuadToRdfConverter:_options_outputPreferences_value": 0.95
},
{
"QuadToRdfConverter:_options_outputPreferences_key": "application/n-quads",
"QuadToRdfConverter:_options_outputPreferences_value": 0.95
},
{
"QuadToRdfConverter:_options_outputPreferences_key": "text/n3",
"QuadToRdfConverter:_options_outputPreferences_value": 0.95
},
{
"QuadToRdfConverter:_options_outputPreferences_key": "application/ld+json",
"QuadToRdfConverter:_options_outputPreferences_value": 0.8
}
]
},
{
"@id": "urn:solid-server:default:ContentTypeReplacer",
"@type": "ContentTypeReplacer",
"replacements": [
{
"ContentTypeReplacer:_replacements_key": "application/n-triples",
"ContentTypeReplacer:_replacements_value": "text/turtle"
},
{
"ContentTypeReplacer:_replacements_key": "text/turtle",
"ContentTypeReplacer:_replacements_value": "application/trig"
},
{
"ContentTypeReplacer:_replacements_key": "application/ld+json",
"ContentTypeReplacer:_replacements_value": "application/json"
},
{
"ContentTypeReplacer:_replacements_key": "application/*",
"ContentTypeReplacer:_replacements_value": "application/octet-stream"
},
{
"ContentTypeReplacer:_replacements_key": "text/*",
"ContentTypeReplacer:_replacements_value": "application/octet-stream"
}
]
},
{
"@id": "urn:solid-server:default:RdfRepresentationConverter",
"@type": "ChainedConverter",
"converters": [
{
"@id": "urn:solid-server:default:RdfToQuadConverter"
},
{
"@id": "urn:solid-server:default:QuadToRdfConverter"
}
]
},
{
"@id": "urn:solid-server:default:RepresentationConverter",
"@type": "WaterfallHandler",
"handlers": [
{
"@id": "urn:solid-server:default:IndexConverter"
},
{
"@type": "IfNeededConverter",
"comment": "Only continue converting if the requester cannot accept the available content type"
},
{
"@id": "urn:solid-server:default:ContentTypeReplacer"
},
{
"@id": "urn:solid-server:default:RdfRepresentationConverter"
}
]
},
{
"@id": "urn:solid-server:default:RdfValidator",
"@type": "RdfValidator",
"converter": {
"@id": "urn:solid-server:default:RepresentationConverter"
}
}
]
}