rh.ui.ttl
9.21 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# baseURI: http://www.reportinghub.no/swp/rh
# imports: http://topbraid.org/swa
# imports: http://uispin.org/tui
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/np/schema/1.0/npd
# imports: http://www.reportinghub.no/spin/rh
@prefix html: <http://uispin.org/html#> .
@prefix let: <http://uispin.org/let#> .
@prefix letrs: <http://uispin.org/letrs#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhswp: <http://www.reportinghub.no/swp/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix swa: <http://topbraid.org/swa#> .
@prefix ui: <http://uispin.org/ui#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://spinrdf.org/arg#schemaGraph>
rdf:type rdf:Property ;
rdfs:label "schema graph"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#value>
rdf:type rdf:Property ;
rdfs:label "value"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://www.reportinghub.no/swp/rh>
rdf:type owl:Ontology ;
rdfs:comment "SWP components and definitions for ReportingHub."^^xsd:string ;
owl:imports <http://topbraid.org/swa> , <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/spin/rh> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhswp:AGResourceViewDialog
rdf:type ui:NodeClass ;
rdfs:comment "Overloaded to select a different query graph that caches all relevant triples in memory."^^xsd:string ;
rdfs:label "AG Resource view dialog"^^xsd:string ;
rdfs:subClassOf swa:ResourceViewDialog ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The query graph."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#queryGraph> ;
spl:valueType rdfs:Resource
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The schema graph."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#schemaGraph> ;
spl:valueType rdfs:Resource
] ;
ui:prototype
[ rdf:type ui:loadable ;
ui:child
[ rdf:type ui:if ;
ui:child
[ rdf:type ui:setContext ;
ui:child
[ rdf:type html:Div ;
html:id [ rdf:type ui:concat ;
sp:arg1 "div-"^^xsd:string ;
sp:arg2 [ sp:varName "loadId"^^xsd:string
]
] ;
html:title
[ rdf:type ui:label ;
sp:arg1 [ sp:varName "resource"^^xsd:string
]
] ;
ui:child
[ rdf:type ui:setContext ;
ui:child
[ rdf:type ui:resourceView ;
ui:childIndex 0 ;
ui:resource
[ sp:varName "resource"^^xsd:string
]
] ;
ui:childIndex 0 ;
ui:varName "createLinkFunction"^^xsd:string ;
ui:varValue swa:createNoLink
] ;
ui:childIndex 0
] ;
ui:childIndex 0 ;
ui:queryGraph
[ rdf:type ui:concat ;
sp:arg1 [ sp:varName "queryGraph"^^xsd:string
] ;
sp:arg2 "_inMemory?resource="^^xsd:string ;
sp:arg3 [ rdf:type ui:encodeURL ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "resource"^^xsd:string
]
]
] ;
sp:arg4 "&schema="^^xsd:string ;
sp:arg5 [ rdf:type ui:encodeURL ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "schemaGraph"^^xsd:string
]
]
]
]
] ;
ui:childIndex 0 ;
ui:condition
[ rdf:type sp:bound ;
sp:arg1 [ sp:varName "resource"^^xsd:string
]
]
] ;
ui:loadId
[ sp:varName "loadId"^^xsd:string
]
] .
rhswp:Elements
rdf:type ui:NodeClass ;
rdfs:label "Elements"^^xsd:string ;
rdfs:subClassOf ui:Element ;
ui:abstract "true"^^xsd:boolean .
rhswp:Header
rdf:type ui:NodeClass ;
rdfs:label "Header"^^xsd:string ;
rdfs:subClassOf rhswp:Elements ;
ui:prototype <http://www.reportinghub.no/swp/header.uispin.html> .
rhswp:NameValuePair
rdf:type ui:NodeClass ;
rdfs:label "Name value pair"^^xsd:string ;
rdfs:subClassOf rhswp:Elements ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The label of the value."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The value to display."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#value>
] ;
ui:prototype
[ rdf:type html:Table ;
html:class "nameValuePair"^^xsd:string ;
ui:child
[ rdf:type html:Tr ;
ui:child
[ rdf:type html:Td ;
html:class "nameValueName"^^xsd:string ;
ui:child
[ rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text [ sp:varName "name"^^xsd:string
]
] ;
ui:childIndex 0
] ;
ui:child
[ rdf:type html:Td ;
html:class "nameValueValue"^^xsd:string ;
ui:child
[ rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text [ sp:varName "value"^^xsd:string
]
] ;
ui:childIndex 1
] ;
ui:childIndex 0
]
] .