|
36 | 36 | rdfs:comment "Links a resource to an application" ; |
37 | 37 | rdfs:isDefinedBy : . |
38 | 38 |
|
39 | | -:adminApplication a owl:ObjectProperty, owl:FunctionalProperty, owl:InverseFunctionalProperty ; |
40 | | - rdfs:subPropertyOf :application ; |
41 | | - owl:inverseOf :endUserApplication ; |
42 | | - rdfs:domain :EndUserApplication ; |
43 | | - rdfs:range :AdminApplication ; |
44 | | - rdfs:label "Admin application" ; |
45 | | - rdfs:comment "Links end-user application to its administration application" ; |
46 | | - rdfs:isDefinedBy : . |
47 | | - |
48 | | -:endUserApplication a owl:ObjectProperty, owl:FunctionalProperty, owl:InverseFunctionalProperty ; |
49 | | - rdfs:subPropertyOf :application ; |
50 | | - owl:inverseOf :adminApplication ; |
51 | | - rdfs:domain :AdminApplication ; |
52 | | - rdfs:range :EndUserApplication ; |
53 | | - rdfs:label "End-user application" ; |
54 | | - rdfs:comment "Links administration application to its end-user application" ; |
55 | | - rdfs:isDefinedBy : . |
56 | | - |
57 | 39 | :frontendProxy a owl:ObjectProperty ; |
58 | 40 | rdfs:domain :Dataset ; |
59 | 41 | rdfs:range rdfs:Resource ; |
|
123 | 105 |
|
124 | 106 | :EndUserApplication a rdfs:Class, owl:Class ; |
125 | 107 | spin:constructor :EndUserApplicationConstructor ; |
126 | | - spin:constraint [ a ldh:MissingPropertyValue ; |
127 | | - rdfs:label "Missing admin application" ; |
128 | | - sp:arg1 :adminApplication |
129 | | - ] ; |
130 | 108 | rdfs:label "End-user application" ; |
131 | 109 | rdfs:comment "Application with a dynamic access control and sitemap" ; |
132 | 110 | rdfs:isDefinedBy : . |
|
143 | 121 | CONSTRUCT { |
144 | 122 | $this dct:title [ a xsd:string ] ; |
145 | 123 | dct:description [ a xsd:string ] ; |
146 | | - lapp:adminApplication [ a lapp:AdminApplication ] ; |
147 | 124 | ac:stylesheet [ a ldh:File ] ; |
148 | 125 | lapp:public [ a xsd:boolean ] . |
149 | 126 | } |
|
155 | 132 |
|
156 | 133 | :AdminApplication a rdfs:Class, owl:Class ; |
157 | 134 | spin:constructor :AdminApplicationConstructor ; |
158 | | - spin:constraint [ a ldh:MissingPropertyValue ; |
159 | | - rdfs:label "Missing end-user application" ; |
160 | | - sp:arg1 :endUserApplication |
161 | | - ] ; |
162 | 135 | rdfs:label "Admin application" ; |
163 | 136 | rdfs:comment "Meta-application that manages the access control and sitemap of the main end-user application" ; |
164 | 137 | rdfs:isDefinedBy : . |
165 | 138 |
|
166 | 139 | :AdminApplicationConstructor a ldh:Constructor ; |
167 | 140 | sp:text """ |
168 | | - PREFIX lapp: <https://w3id.org/atomgraph/linkeddatahub/apps#> |
169 | 141 | PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> |
170 | 142 | PREFIX dct: <http://purl.org/dc/terms/> |
171 | 143 |
|
172 | 144 | CONSTRUCT { |
173 | 145 | $this dct:title [ a xsd:string ] ; |
174 | 146 | dct:description [ a xsd:string ] ; |
175 | | - lapp:endUserApplication [ a lapp:EndUserApplication ] ; |
176 | 147 | } |
177 | 148 | WHERE {}""" ; |
178 | 149 | rdfs:label "Admin application constructor" ; |
|
0 commit comments