Showing
2 changed files
with
472 additions
and
360 deletions
| ... | @@ -3,192 +3,206 @@ | ... | @@ -3,192 +3,206 @@ |
| 3 | # imports: http://rdfs.org/sioc/ns | 3 | # imports: http://rdfs.org/sioc/ns |
| 4 | # imports: http://www.reportinghub.no/system/schema/reporting | 4 | # imports: http://www.reportinghub.no/system/schema/reporting |
| 5 | 5 | ||
| 6 | +# c14n-version: 3 | ||
| 6 | @prefix log: <http://www.reportinghub.no/system/schema/logging#> . | 7 | @prefix log: <http://www.reportinghub.no/system/schema/logging#> . |
| 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 8 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 8 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 9 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 10 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 10 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 11 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 11 | - | ||
| 12 | <http://www.reportinghub.no/system/schema/logging> | 12 | <http://www.reportinghub.no/system/schema/logging> |
| 13 | rdf:type owl:Ontology ; | 13 | rdf:type owl:Ontology ; |
| 14 | - owl:imports <http://purl.org/dc/terms/> , <http://rdfs.org/sioc/ns> , <http://www.reportinghub.no/system/schema/reporting> ; | 14 | + owl:imports <http://purl.org/dc/terms/> ; |
| 15 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 15 | + owl:imports <http://rdfs.org/sioc/ns> ; |
| 16 | - | 16 | + owl:imports <http://www.reportinghub.no/system/schema/reporting> ; |
| 17 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string ; | ||
| 18 | +. | ||
| 17 | log:FactPagesUpdateEvent | 19 | log:FactPagesUpdateEvent |
| 18 | rdf:type owl:Class ; | 20 | rdf:type owl:Class ; |
| 19 | rdfs:label "Fact pages update event"^^xsd:string ; | 21 | rdfs:label "Fact pages update event"^^xsd:string ; |
| 20 | - rdfs:subClassOf log:LogEvent . | 22 | + rdfs:subClassOf log:LogEvent ; |
| 21 | - | 23 | +. |
| 22 | log:LogEvent | 24 | log:LogEvent |
| 23 | rdf:type owl:Class ; | 25 | rdf:type owl:Class ; |
| 24 | rdfs:label "Log event"^^xsd:string ; | 26 | rdfs:label "Log event"^^xsd:string ; |
| 25 | rdfs:subClassOf owl:Thing ; | 27 | rdfs:subClassOf owl:Thing ; |
| 26 | - rdfs:subClassOf | 28 | + rdfs:subClassOf [ |
| 27 | - [ rdf:type owl:Restriction ; | 29 | + rdf:type owl:Restriction ; |
| 28 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
| 29 | - owl:onProperty <http://purl.org/dc/terms/created> | ||
| 30 | - ] ; | ||
| 31 | - rdfs:subClassOf | ||
| 32 | - [ rdf:type owl:Restriction ; | ||
| 33 | owl:allValuesFrom xsd:dateTime ; | 30 | owl:allValuesFrom xsd:dateTime ; |
| 34 | - owl:onProperty <http://purl.org/dc/terms/created> | 31 | + owl:onProperty <http://purl.org/dc/terms/created> ; |
| 35 | ] ; | 32 | ] ; |
| 36 | - rdfs:subClassOf | 33 | + rdfs:subClassOf [ |
| 37 | - [ rdf:type owl:Restriction ; | 34 | + rdf:type owl:Restriction ; |
| 35 | + owl:allValuesFrom xsd:string ; | ||
| 36 | + owl:onProperty <http://rdfs.org/sioc/ns#id> ; | ||
| 37 | + ] ; | ||
| 38 | + rdfs:subClassOf [ | ||
| 39 | + rdf:type owl:Restriction ; | ||
| 38 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 40 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 39 | - owl:onProperty rdfs:comment | 41 | + owl:onProperty <http://purl.org/dc/terms/created> ; |
| 40 | ] ; | 42 | ] ; |
| 41 | - rdfs:subClassOf | 43 | + rdfs:subClassOf [ |
| 42 | - [ rdf:type owl:Restriction ; | 44 | + rdf:type owl:Restriction ; |
| 43 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 45 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 44 | - owl:onProperty <http://rdfs.org/sioc/ns#id> | 46 | + owl:onProperty <http://rdfs.org/sioc/ns#id> ; |
| 45 | ] ; | 47 | ] ; |
| 46 | - rdfs:subClassOf | 48 | + rdfs:subClassOf [ |
| 47 | - [ rdf:type owl:Restriction ; | 49 | + rdf:type owl:Restriction ; |
| 48 | - owl:allValuesFrom xsd:string ; | 50 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 49 | - owl:onProperty <http://rdfs.org/sioc/ns#id> | 51 | + owl:onProperty rdfs:comment ; |
| 50 | - ] . | 52 | + ] ; |
| 51 | - | 53 | +. |
| 52 | log:NPDUploadEvent | 54 | log:NPDUploadEvent |
| 53 | rdf:type owl:Class ; | 55 | rdf:type owl:Class ; |
| 54 | rdfs:comment "Represents the fact that a given XML file has been submitted to NPD."^^xsd:string ; | 56 | rdfs:comment "Represents the fact that a given XML file has been submitted to NPD."^^xsd:string ; |
| 55 | rdfs:label "NPDUpload event"^^xsd:string ; | 57 | rdfs:label "NPDUpload event"^^xsd:string ; |
| 56 | rdfs:subClassOf log:ReportEvent ; | 58 | rdfs:subClassOf log:ReportEvent ; |
| 57 | - rdfs:subClassOf | 59 | + rdfs:subClassOf [ |
| 58 | - [ rdf:type owl:Restriction ; | 60 | + rdf:type owl:Restriction ; |
| 59 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 61 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 60 | - owl:onProperty log:xml | 62 | + owl:onProperty log:xml ; |
| 61 | - ] . | 63 | + ] ; |
| 62 | - | 64 | +. |
| 63 | log:PasswordChangeEvent | 65 | log:PasswordChangeEvent |
| 64 | rdf:type owl:Class ; | 66 | rdf:type owl:Class ; |
| 65 | rdfs:label "Password change event"^^xsd:string ; | 67 | rdfs:label "Password change event"^^xsd:string ; |
| 66 | - rdfs:subClassOf log:LogEvent . | 68 | + rdfs:subClassOf log:LogEvent ; |
| 67 | - | 69 | +. |
| 68 | log:QueryEvent | 70 | log:QueryEvent |
| 69 | rdf:type owl:Class ; | 71 | rdf:type owl:Class ; |
| 70 | rdfs:label "Query event"^^xsd:string ; | 72 | rdfs:label "Query event"^^xsd:string ; |
| 71 | - rdfs:subClassOf log:LogEvent . | 73 | + rdfs:subClassOf log:LogEvent ; |
| 72 | - | 74 | +. |
| 73 | log:ReportDownloadEvent | 75 | log:ReportDownloadEvent |
| 74 | rdf:type owl:Class ; | 76 | rdf:type owl:Class ; |
| 75 | rdfs:label "Report download event"^^xsd:string ; | 77 | rdfs:label "Report download event"^^xsd:string ; |
| 76 | rdfs:subClassOf log:ReportEvent ; | 78 | rdfs:subClassOf log:ReportEvent ; |
| 77 | - rdfs:subClassOf | 79 | + rdfs:subClassOf [ |
| 78 | - [ rdf:type owl:Restriction ; | 80 | + rdf:type owl:Restriction ; |
| 79 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 81 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 80 | - owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> | 82 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> ; |
| 81 | ] ; | 83 | ] ; |
| 82 | - rdfs:subClassOf | 84 | + rdfs:subClassOf [ |
| 83 | - [ rdf:type owl:Restriction ; | 85 | + rdf:type owl:Restriction ; |
| 84 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 86 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 85 | - owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId> | 87 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId> ; |
| 86 | - ] . | 88 | + ] ; |
| 87 | - | 89 | +. |
| 88 | log:ReportEvent | 90 | log:ReportEvent |
| 89 | rdf:type owl:Class ; | 91 | rdf:type owl:Class ; |
| 90 | rdfs:label "Report event"^^xsd:string ; | 92 | rdfs:label "Report event"^^xsd:string ; |
| 91 | - rdfs:subClassOf log:LogEvent . | 93 | + rdfs:subClassOf log:LogEvent ; |
| 92 | - | 94 | +. |
| 93 | log:ReportUploadEvent | 95 | log:ReportUploadEvent |
| 94 | rdf:type owl:Class ; | 96 | rdf:type owl:Class ; |
| 95 | rdfs:label "Report upload event"^^xsd:string ; | 97 | rdfs:label "Report upload event"^^xsd:string ; |
| 96 | rdfs:subClassOf log:ReportEvent ; | 98 | rdfs:subClassOf log:ReportEvent ; |
| 97 | - rdfs:subClassOf | 99 | + rdfs:subClassOf [ |
| 98 | - [ rdf:type owl:Restriction ; | 100 | + rdf:type owl:Restriction ; |
| 99 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 101 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 100 | - owl:onProperty log:xml | 102 | + owl:onProperty log:xml ; |
| 101 | ] ; | 103 | ] ; |
| 102 | - rdfs:subClassOf | 104 | + rdfs:subClassOf [ |
| 103 | - [ rdf:type owl:Restriction ; | 105 | + rdf:type owl:Restriction ; |
| 104 | owl:minCardinality "0"^^xsd:nonNegativeInteger ; | 106 | owl:minCardinality "0"^^xsd:nonNegativeInteger ; |
| 105 | - owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> | 107 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> ; |
| 106 | - ] . | 108 | + ] ; |
| 107 | - | 109 | +. |
| 108 | log:ReportValidationEvent | 110 | log:ReportValidationEvent |
| 109 | rdf:type owl:Class ; | 111 | rdf:type owl:Class ; |
| 110 | rdfs:label "Report validation event"^^xsd:string ; | 112 | rdfs:label "Report validation event"^^xsd:string ; |
| 111 | - rdfs:subClassOf log:ReportEvent . | 113 | + rdfs:subClassOf log:ReportEvent ; |
| 112 | - | 114 | +. |
| 113 | log:dateFrom | 115 | log:dateFrom |
| 114 | rdf:type owl:DatatypeProperty ; | 116 | rdf:type owl:DatatypeProperty ; |
| 115 | rdfs:domain log:ReportDownloadEvent ; | 117 | rdfs:domain log:ReportDownloadEvent ; |
| 116 | rdfs:label "date from"^^xsd:string ; | 118 | rdfs:label "date from"^^xsd:string ; |
| 117 | - rdfs:range xsd:date . | 119 | + rdfs:range xsd:date ; |
| 118 | - | 120 | +. |
| 119 | log:dateTo | 121 | log:dateTo |
| 120 | rdf:type owl:DatatypeProperty ; | 122 | rdf:type owl:DatatypeProperty ; |
| 121 | rdfs:domain log:ReportDownloadEvent ; | 123 | rdfs:domain log:ReportDownloadEvent ; |
| 122 | rdfs:label "date to"^^xsd:string ; | 124 | rdfs:label "date to"^^xsd:string ; |
| 123 | - rdfs:range xsd:date . | 125 | + rdfs:range xsd:date ; |
| 124 | - | 126 | +. |
| 125 | log:initiatedBy | 127 | log:initiatedBy |
| 126 | rdf:type owl:DatatypeProperty ; | 128 | rdf:type owl:DatatypeProperty ; |
| 127 | rdfs:comment "The name of the user logged in."^^xsd:string ; | 129 | rdfs:comment "The name of the user logged in."^^xsd:string ; |
| 128 | rdfs:domain log:LogEvent ; | 130 | rdfs:domain log:LogEvent ; |
| 129 | rdfs:label "user"^^xsd:string ; | 131 | rdfs:label "user"^^xsd:string ; |
| 130 | - rdfs:range xsd:string . | 132 | + rdfs:range xsd:string ; |
| 131 | - | 133 | +. |
| 132 | log:npdEntityName | 134 | log:npdEntityName |
| 133 | rdf:type owl:DatatypeProperty ; | 135 | rdf:type owl:DatatypeProperty ; |
| 134 | rdfs:comment "Points to a well bore or field name that had the report uploaded."^^xsd:string ; | 136 | rdfs:comment "Points to a well bore or field name that had the report uploaded."^^xsd:string ; |
| 135 | rdfs:domain log:ReportUploadEvent ; | 137 | rdfs:domain log:ReportUploadEvent ; |
| 136 | rdfs:label "NPD entity name"^^xsd:string ; | 138 | rdfs:label "NPD entity name"^^xsd:string ; |
| 137 | - rdfs:range xsd:string . | 139 | + rdfs:range xsd:string ; |
| 138 | - | 140 | +. |
| 139 | log:onBehalfOf | 141 | log:onBehalfOf |
| 140 | rdf:type owl:DatatypeProperty ; | 142 | rdf:type owl:DatatypeProperty ; |
| 141 | rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ; | 143 | rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ; |
| 142 | rdfs:domain log:LogEvent ; | 144 | rdfs:domain log:LogEvent ; |
| 143 | rdfs:label "company"^^xsd:string ; | 145 | rdfs:label "company"^^xsd:string ; |
| 144 | - rdfs:range xsd:string . | 146 | + rdfs:range xsd:string ; |
| 145 | - | 147 | +. |
| 146 | log:outcome | 148 | log:outcome |
| 147 | rdf:type owl:DatatypeProperty ; | 149 | rdf:type owl:DatatypeProperty ; |
| 148 | rdfs:domain log:LogEvent ; | 150 | rdfs:domain log:LogEvent ; |
| 149 | rdfs:label "outcome"^^xsd:string ; | 151 | rdfs:label "outcome"^^xsd:string ; |
| 150 | - rdfs:range | 152 | + rdfs:range [ |
| 151 | - [ rdf:type rdfs:Datatype ; | 153 | + rdf:type rdfs:Datatype ; |
| 152 | - owl:oneOf ("success"^^xsd:string "user-error"^^xsd:string "server-error"^^xsd:string) | 154 | + owl:oneOf ( |
| 153 | - ] . | 155 | + "success"^^xsd:string |
| 154 | - | 156 | + "user-error"^^xsd:string |
| 157 | + "server-error"^^xsd:string | ||
| 158 | + ) ; | ||
| 159 | + ] ; | ||
| 160 | +. | ||
| 155 | log:ownerId | 161 | log:ownerId |
| 156 | rdf:type owl:DatatypeProperty ; | 162 | rdf:type owl:DatatypeProperty ; |
| 157 | rdfs:comment "The NPD id of the BAA or Licence."^^xsd:string ; | 163 | rdfs:comment "The NPD id of the BAA or Licence."^^xsd:string ; |
| 158 | rdfs:domain log:ReportDownloadEvent ; | 164 | rdfs:domain log:ReportDownloadEvent ; |
| 159 | rdfs:label "owner id"^^xsd:string ; | 165 | rdfs:label "owner id"^^xsd:string ; |
| 160 | - rdfs:range xsd:string . | 166 | + rdfs:range xsd:string ; |
| 161 | - | 167 | +. |
| 168 | +log:processingTime | ||
| 169 | + rdf:type owl:DatatypeProperty ; | ||
| 170 | + rdfs:comment "Number of milliseconds that a request took."^^xsd:string ; | ||
| 171 | + rdfs:domain log:ReportEvent ; | ||
| 172 | + rdfs:label "processing time"^^xsd:string ; | ||
| 173 | + rdfs:range xsd:integer ; | ||
| 174 | +. | ||
| 162 | log:reportType | 175 | log:reportType |
| 163 | rdf:type owl:ObjectProperty ; | 176 | rdf:type owl:ObjectProperty ; |
| 164 | rdfs:domain log:ReportEvent ; | 177 | rdfs:domain log:ReportEvent ; |
| 165 | rdfs:label "report type"^^xsd:string ; | 178 | rdfs:label "report type"^^xsd:string ; |
| 166 | - rdfs:range <http://www.reportinghub.no/system/schema/reporting#ReportClass> . | 179 | + rdfs:range <http://www.reportinghub.no/system/schema/reporting#ReportClass> ; |
| 167 | - | 180 | +. |
| 168 | log:reportingPeriodStart | 181 | log:reportingPeriodStart |
| 169 | rdf:type owl:DatatypeProperty ; | 182 | rdf:type owl:DatatypeProperty ; |
| 170 | rdfs:comment "The start date of the reporting period in the report."^^xsd:string ; | 183 | rdfs:comment "The start date of the reporting period in the report."^^xsd:string ; |
| 171 | rdfs:domain log:ReportUploadEvent ; | 184 | rdfs:domain log:ReportUploadEvent ; |
| 172 | rdfs:label "reporting period start"^^xsd:string ; | 185 | rdfs:label "reporting period start"^^xsd:string ; |
| 173 | - rdfs:range xsd:date . | 186 | + rdfs:range xsd:date ; |
| 174 | - | 187 | +. |
| 175 | log:url | 188 | log:url |
| 176 | rdf:type owl:DatatypeProperty ; | 189 | rdf:type owl:DatatypeProperty ; |
| 177 | rdfs:comment "The URL of a query request."^^xsd:string ; | 190 | rdfs:comment "The URL of a query request."^^xsd:string ; |
| 178 | rdfs:domain log:QueryEvent ; | 191 | rdfs:domain log:QueryEvent ; |
| 179 | rdfs:label "url"^^xsd:string ; | 192 | rdfs:label "url"^^xsd:string ; |
| 180 | - rdfs:range xsd:string . | 193 | + rdfs:range xsd:string ; |
| 181 | - | 194 | +. |
| 182 | log:xml | 195 | log:xml |
| 183 | rdf:type owl:DatatypeProperty ; | 196 | rdf:type owl:DatatypeProperty ; |
| 184 | rdfs:comment "The complete source of the submitted XML document."^^xsd:string ; | 197 | rdfs:comment "The complete source of the submitted XML document."^^xsd:string ; |
| 185 | rdfs:label "xml"^^xsd:string ; | 198 | rdfs:label "xml"^^xsd:string ; |
| 186 | - rdfs:range xsd:string . | 199 | + rdfs:range xsd:string ; |
| 187 | - | 200 | +. |
| 188 | <http://www.reportinghub.no/system/schema/reporting#format> | 201 | <http://www.reportinghub.no/system/schema/reporting#format> |
| 189 | - rdfs:range <http://www.reportinghub.no/system/schema/reporting#Format> . | 202 | + rdfs:range <http://www.reportinghub.no/system/schema/reporting#Format> ; |
| 190 | - | 203 | +. |
| 191 | <http://www.reportinghub.no/system/schema/reporting#uploadedDocument> | 204 | <http://www.reportinghub.no/system/schema/reporting#uploadedDocument> |
| 192 | rdf:type owl:ObjectProperty ; | 205 | rdf:type owl:ObjectProperty ; |
| 193 | rdfs:domain log:ReportUploadEvent ; | 206 | rdfs:domain log:ReportUploadEvent ; |
| 194 | - rdfs:label "uploaded document"^^xsd:string . | 207 | + rdfs:label "uploaded document"^^xsd:string ; |
| 208 | +. | ... | ... |
| ... | @@ -3,6 +3,7 @@ | ... | @@ -3,6 +3,7 @@ |
| 3 | # imports: http://www.reportinghub.no/swp/rh | 3 | # imports: http://www.reportinghub.no/swp/rh |
| 4 | # imports: http://www.reportinghub.no/system/schema/logging | 4 | # imports: http://www.reportinghub.no/system/schema/logging |
| 5 | 5 | ||
| 6 | +# c14n-version: 3 | ||
| 6 | @prefix : <http://www.reportinghub.no/system/swp/SWP-logging#> . | 7 | @prefix : <http://www.reportinghub.no/system/swp/SWP-logging#> . |
| 7 | @prefix arg: <http://spinrdf.org/arg#> . | 8 | @prefix arg: <http://spinrdf.org/arg#> . |
| 8 | @prefix default: <http://uispin.org/default#> . | 9 | @prefix default: <http://uispin.org/default#> . |
| ... | @@ -20,410 +21,507 @@ | ... | @@ -20,410 +21,507 @@ |
| 20 | @prefix swa: <http://topbraid.org/swa#> . | 21 | @prefix swa: <http://topbraid.org/swa#> . |
| 21 | @prefix ui: <http://uispin.org/ui#> . | 22 | @prefix ui: <http://uispin.org/ui#> . |
| 22 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 23 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 23 | - | ||
| 24 | arg:rootClass | 24 | arg:rootClass |
| 25 | rdf:type rdf:Property ; | 25 | rdf:type rdf:Property ; |
| 26 | rdfs:label "root class"^^xsd:string ; | 26 | rdfs:label "root class"^^xsd:string ; |
| 27 | - rdfs:subPropertyOf sp:arg . | 27 | + rdfs:subPropertyOf sp:arg ; |
| 28 | - | 28 | +. |
| 29 | arg:schemaGraph | 29 | arg:schemaGraph |
| 30 | rdf:type rdf:Property ; | 30 | rdf:type rdf:Property ; |
| 31 | rdfs:label "schema graph"^^xsd:string ; | 31 | rdfs:label "schema graph"^^xsd:string ; |
| 32 | - rdfs:subPropertyOf sp:arg . | 32 | + rdfs:subPropertyOf sp:arg ; |
| 33 | - | 33 | +. |
| 34 | log:LogBrowser | 34 | log:LogBrowser |
| 35 | rdf:type ui:NodeClass ; | 35 | rdf:type ui:NodeClass ; |
| 36 | + ui:prototype [ | ||
| 37 | + rdf:type log:TableBrowser ; | ||
| 38 | + arg:queryGraph <http://www.reportinghub.no/graph/logging> ; | ||
| 39 | + arg:rootClass log:LogEvent ; | ||
| 40 | + arg:schemaGraph [ | ||
| 41 | + rdf:type ui:graphWithImports ; | ||
| 42 | + sp:arg1 <http://www.reportinghub.no/system/schema/logging> ; | ||
| 43 | + ] ; | ||
| 44 | + ] ; | ||
| 36 | rdfs:comment "A complex element with a Tree of log event classes in the upper left corner, a search form in the upper center area, and a grid of results in the main center area."^^xsd:string ; | 45 | rdfs:comment "A complex element with a Tree of log event classes in the upper left corner, a search form in the upper center area, and a grid of results in the main center area."^^xsd:string ; |
| 37 | rdfs:label "Log Browser"^^xsd:string ; | 46 | rdfs:label "Log Browser"^^xsd:string ; |
| 38 | rdfs:subClassOf ui:Element ; | 47 | rdfs:subClassOf ui:Element ; |
| 39 | - ui:prototype | 48 | +. |
| 40 | - [ rdf:type log:TableBrowser ; | ||
| 41 | - arg:queryGraph <http://www.reportinghub.no/graph/logging> ; | ||
| 42 | - arg:rootClass log:LogEvent ; | ||
| 43 | - arg:schemaGraph | ||
| 44 | - [ rdf:type ui:graphWithImports ; | ||
| 45 | - sp:arg1 <http://www.reportinghub.no/system/schema/logging> | ||
| 46 | - ] | ||
| 47 | - ] . | ||
| 48 | - | ||
| 49 | log:LogEvent | 49 | log:LogEvent |
| 50 | - swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ; | 50 | + swa:keyProperties ( |
| 51 | - ui:instanceView | 51 | + <http://purl.org/dc/terms/created> |
| 52 | - [ rdf:type log:LogEventFormBody ; | 52 | + rdf:type |
| 53 | + log:initiatedBy | ||
| 54 | + log:onBehalfOf | ||
| 55 | + log:outcome | ||
| 56 | + rdfs:comment | ||
| 57 | + ) ; | ||
| 58 | + ui:instanceView [ | ||
| 59 | + rdf:type log:LogEventFormBody ; | ||
| 53 | arg:resource spin:_this ; | 60 | arg:resource spin:_this ; |
| 54 | - ui:id "search"^^xsd:string | 61 | + ui:id "search"^^xsd:string ; |
| 55 | ] ; | 62 | ] ; |
| 56 | - ui:view [ rdf:type log:LogBrowser | 63 | + ui:view [ |
| 57 | - ] . | 64 | + rdf:type log:LogBrowser ; |
| 58 | - | 65 | + ] ; |
| 66 | +. | ||
| 59 | log:LogEventClassTreeDataProvider | 67 | log:LogEventClassTreeDataProvider |
| 60 | rdf:type swa:QueryTreeDataProvider ; | 68 | rdf:type swa:QueryTreeDataProvider ; |
| 61 | - rdfs:label "Log event class tree data provider"^^xsd:string ; | 69 | + arg:childrenQuery [ |
| 62 | - arg:childrenQuery | 70 | + rdf:type sp:Select ; |
| 63 | - [ rdf:type sp:Select ; | 71 | + sp:orderBy ( |
| 64 | - sp:orderBy ([ sp:varName "label"^^xsd:string | 72 | + [ |
| 65 | - ]) ; | 73 | + sp:varName "label"^^xsd:string ; |
| 66 | - sp:resultVariables ([ sp:varName "child"^^xsd:string | 74 | + ] |
| 67 | - ] [ sp:varName "label"^^xsd:string | 75 | + ) ; |
| 68 | - ] [ sp:varName "leaf"^^xsd:string | 76 | + sp:resultVariables ( |
| 69 | - ] [ sp:varName "icon"^^xsd:string | 77 | + [ |
| 70 | - ] [ sp:varName "type"^^xsd:string | 78 | + sp:varName "child"^^xsd:string ; |
| 71 | - ]) ; | 79 | + ] |
| 72 | - sp:where ([ sp:object | 80 | + [ |
| 73 | - [ sp:varName "parent"^^xsd:string | 81 | + sp:varName "label"^^xsd:string ; |
| 82 | + ] | ||
| 83 | + [ | ||
| 84 | + sp:varName "leaf"^^xsd:string ; | ||
| 85 | + ] | ||
| 86 | + [ | ||
| 87 | + sp:varName "icon"^^xsd:string ; | ||
| 88 | + ] | ||
| 89 | + [ | ||
| 90 | + sp:varName "type"^^xsd:string ; | ||
| 91 | + ] | ||
| 92 | + ) ; | ||
| 93 | + sp:where ( | ||
| 94 | + [ | ||
| 95 | + sp:object [ | ||
| 96 | + sp:varName "parent"^^xsd:string ; | ||
| 74 | ] ; | 97 | ] ; |
| 75 | sp:predicate rdfs:subClassOf ; | 98 | sp:predicate rdfs:subClassOf ; |
| 76 | - sp:subject | 99 | + sp:subject [ |
| 77 | - [ sp:varName "child"^^xsd:string | 100 | + sp:varName "child"^^xsd:string ; |
| 101 | + ] ; | ||
| 78 | ] | 102 | ] |
| 79 | - ] [ rdf:type sp:Bind ; | 103 | + [ |
| 80 | - sp:expression | 104 | + rdf:type sp:Bind ; |
| 81 | - [ rdf:type sp:notExists ; | 105 | + sp:expression [ |
| 82 | - sp:elements ([ sp:object | 106 | + rdf:type sp:notExists ; |
| 83 | - [ sp:varName "child"^^xsd:string | 107 | + sp:elements ( |
| 108 | + [ | ||
| 109 | + sp:object [ | ||
| 110 | + sp:varName "child"^^xsd:string ; | ||
| 84 | ] ; | 111 | ] ; |
| 85 | sp:predicate rdfs:subClassOf ; | 112 | sp:predicate rdfs:subClassOf ; |
| 86 | - sp:subject | 113 | + sp:subject [ |
| 87 | - [ sp:varName "grandChild"^^xsd:string | 114 | + sp:varName "grandChild"^^xsd:string ; |
| 88 | - ] | ||
| 89 | - ]) | ||
| 90 | ] ; | 115 | ] ; |
| 91 | - sp:variable | ||
| 92 | - [ sp:varName "leaf"^^xsd:string | ||
| 93 | ] | 116 | ] |
| 94 | - ] [ rdf:type sp:Bind ; | 117 | + ) ; |
| 95 | - sp:expression | 118 | + ] ; |
| 96 | - [ rdf:type ui:label ; | 119 | + sp:variable [ |
| 97 | - sp:arg1 [ sp:varName "child"^^xsd:string | 120 | + sp:varName "leaf"^^xsd:string ; |
| 121 | + ] ; | ||
| 98 | ] | 122 | ] |
| 123 | + [ | ||
| 124 | + rdf:type sp:Bind ; | ||
| 125 | + sp:expression [ | ||
| 126 | + rdf:type ui:label ; | ||
| 127 | + sp:arg1 [ | ||
| 128 | + sp:varName "child"^^xsd:string ; | ||
| 129 | + ] ; | ||
| 130 | + ] ; | ||
| 131 | + sp:variable [ | ||
| 132 | + sp:varName "label"^^xsd:string ; | ||
| 99 | ] ; | 133 | ] ; |
| 100 | - sp:variable | ||
| 101 | - [ sp:varName "label"^^xsd:string | ||
| 102 | ] | 134 | ] |
| 103 | - ] [ rdf:type sp:Bind ; | 135 | + [ |
| 136 | + rdf:type sp:Bind ; | ||
| 104 | sp:expression "appIconClass" ; | 137 | sp:expression "appIconClass" ; |
| 105 | - sp:variable | 138 | + sp:variable [ |
| 106 | - [ sp:varName "icon"^^xsd:string | 139 | + sp:varName "icon"^^xsd:string ; |
| 140 | + ] ; | ||
| 107 | ] | 141 | ] |
| 108 | - ] [ rdf:type sp:Bind ; | 142 | + [ |
| 109 | - sp:expression | 143 | + rdf:type sp:Bind ; |
| 110 | - [ rdf:type spl:object ; | 144 | + sp:expression [ |
| 111 | - sp:arg1 [ sp:varName "child"^^xsd:string | 145 | + rdf:type spl:object ; |
| 146 | + sp:arg1 [ | ||
| 147 | + sp:varName "child"^^xsd:string ; | ||
| 148 | + ] ; | ||
| 149 | + sp:arg2 rdf:type ; | ||
| 112 | ] ; | 150 | ] ; |
| 113 | - sp:arg2 rdf:type | 151 | + sp:variable [ |
| 152 | + sp:varName "type"^^xsd:string ; | ||
| 114 | ] ; | 153 | ] ; |
| 115 | - sp:variable | ||
| 116 | - [ sp:varName "type"^^xsd:string | ||
| 117 | ] | 154 | ] |
| 118 | - ]) | 155 | + ) ; |
| 119 | - ] ; | 156 | + ] ; |
| 120 | - arg:id [ sp:varName "id"^^xsd:string | 157 | + arg:id [ |
| 121 | - ] ; | 158 | + sp:varName "id"^^xsd:string ; |
| 122 | - arg:rootsQuery | 159 | + ] ; |
| 123 | - [ rdf:type sp:Select ; | 160 | + arg:rootsQuery [ |
| 124 | - sp:resultVariables ([ sp:varName "child"^^xsd:string | 161 | + rdf:type sp:Select ; |
| 125 | - ] [ sp:varName "label"^^xsd:string | 162 | + sp:resultVariables ( |
| 126 | - ] [ sp:varName "leaf"^^xsd:string | 163 | + [ |
| 127 | - ] [ sp:varName "icon"^^xsd:string | 164 | + sp:varName "child"^^xsd:string ; |
| 128 | - ]) ; | 165 | + ] |
| 129 | - sp:where ([ rdf:type sp:Bind ; | 166 | + [ |
| 167 | + sp:varName "label"^^xsd:string ; | ||
| 168 | + ] | ||
| 169 | + [ | ||
| 170 | + sp:varName "leaf"^^xsd:string ; | ||
| 171 | + ] | ||
| 172 | + [ | ||
| 173 | + sp:varName "icon"^^xsd:string ; | ||
| 174 | + ] | ||
| 175 | + ) ; | ||
| 176 | + sp:where ( | ||
| 177 | + [ | ||
| 178 | + rdf:type sp:Bind ; | ||
| 130 | sp:expression log:LogEvent ; | 179 | sp:expression log:LogEvent ; |
| 131 | - sp:variable | 180 | + sp:variable [ |
| 132 | - [ sp:varName "child"^^xsd:string | 181 | + sp:varName "child"^^xsd:string ; |
| 182 | + ] ; | ||
| 133 | ] | 183 | ] |
| 134 | - ] [ rdf:type sp:Bind ; | 184 | + [ |
| 185 | + rdf:type sp:Bind ; | ||
| 135 | sp:expression "Any Event" ; | 186 | sp:expression "Any Event" ; |
| 136 | - sp:variable | 187 | + sp:variable [ |
| 137 | - [ sp:varName "label"^^xsd:string | 188 | + sp:varName "label"^^xsd:string ; |
| 189 | + ] ; | ||
| 138 | ] | 190 | ] |
| 139 | - ] [ rdf:type sp:Bind ; | 191 | + [ |
| 192 | + rdf:type sp:Bind ; | ||
| 140 | sp:expression "false"^^xsd:boolean ; | 193 | sp:expression "false"^^xsd:boolean ; |
| 141 | - sp:variable | 194 | + sp:variable [ |
| 142 | - [ sp:varName "leaf"^^xsd:string | 195 | + sp:varName "leaf"^^xsd:string ; |
| 196 | + ] ; | ||
| 143 | ] | 197 | ] |
| 144 | - ] [ rdf:type sp:Bind ; | 198 | + [ |
| 199 | + rdf:type sp:Bind ; | ||
| 145 | sp:expression "appIconClass" ; | 200 | sp:expression "appIconClass" ; |
| 146 | - sp:variable | 201 | + sp:variable [ |
| 147 | - [ sp:varName "icon"^^xsd:string | 202 | + sp:varName "icon"^^xsd:string ; |
| 203 | + ] ; | ||
| 148 | ] | 204 | ] |
| 149 | - ]) | 205 | + ) ; |
| 150 | - ] . | 206 | + ] ; |
| 151 | - | 207 | + rdfs:label "Log event class tree data provider"^^xsd:string ; |
| 208 | +. | ||
| 152 | log:LogEventFormBody | 209 | log:LogEventFormBody |
| 153 | rdf:type ui:ResourceViewClass ; | 210 | rdf:type ui:ResourceViewClass ; |
| 154 | - rdfs:label "Log event form body"^^xsd:string ; | 211 | + ui:prototype [ |
| 155 | - rdfs:subClassOf swa:FormBody ; | 212 | + rdf:type html:Div ; |
| 156 | - ui:prototype | 213 | + default:subject [ |
| 157 | - [ rdf:type html:Div ; | 214 | + sp:varName "resource"^^xsd:string ; |
| 158 | - default:subject | ||
| 159 | - [ sp:varName "resource"^^xsd:string | ||
| 160 | ] ; | 215 | ] ; |
| 161 | - ui:child | 216 | + ui:child [ |
| 162 | - [ rdf:type swa:ColumnLayout ; | 217 | + rdf:type swa:ColumnLayout ; |
| 163 | arg:colWidths "50%,50%"^^xsd:string ; | 218 | arg:colWidths "50%,50%"^^xsd:string ; |
| 164 | arg:width "600px"^^xsd:string ; | 219 | arg:width "600px"^^xsd:string ; |
| 165 | - ui:child | 220 | + ui:child [ |
| 166 | - [ rdf:type swa:Object ; | 221 | + rdf:type swa:Object ; |
| 167 | - arg:label "Created"^^xsd:string ; | 222 | + arg:label "Company"^^xsd:string ; |
| 168 | - arg:predicate <http://purl.org/dc/terms/created> ; | 223 | + arg:predicate log:onBehalfOf ; |
| 169 | - ui:childIndex 0 | 224 | + ui:childIndex 1 ; |
| 170 | ] ; | 225 | ] ; |
| 171 | - ui:child | 226 | + ui:child [ |
| 172 | - [ rdf:type swa:Object ; | 227 | + rdf:type swa:Object ; |
| 173 | - arg:label "Outcome"^^xsd:string ; | 228 | + arg:label "User"^^xsd:string ; |
| 174 | - arg:predicate log:outcome ; | 229 | + arg:predicate log:initiatedBy ; |
| 175 | - ui:childIndex 1 | 230 | + ui:childIndex 0 ; |
| 176 | ] ; | 231 | ] ; |
| 177 | - ui:childIndex 0 | 232 | + ui:childIndex 1 ; |
| 178 | ] ; | 233 | ] ; |
| 179 | - ui:child | 234 | + ui:child [ |
| 180 | - [ rdf:type swa:ColumnLayout ; | 235 | + rdf:type swa:ColumnLayout ; |
| 181 | arg:colWidths "50%,50%"^^xsd:string ; | 236 | arg:colWidths "50%,50%"^^xsd:string ; |
| 182 | arg:width "600px"^^xsd:string ; | 237 | arg:width "600px"^^xsd:string ; |
| 183 | - ui:child | 238 | + ui:child [ |
| 184 | - [ rdf:type swa:Object ; | 239 | + rdf:type swa:Object ; |
| 185 | - arg:label "User"^^xsd:string ; | 240 | + arg:label "Created"^^xsd:string ; |
| 186 | - arg:predicate log:initiatedBy ; | 241 | + arg:predicate <http://purl.org/dc/terms/created> ; |
| 187 | - ui:childIndex 0 | 242 | + ui:childIndex 0 ; |
| 188 | ] ; | 243 | ] ; |
| 189 | - ui:child | 244 | + ui:child [ |
| 190 | - [ rdf:type swa:Object ; | 245 | + rdf:type swa:Object ; |
| 191 | - arg:label "Company"^^xsd:string ; | 246 | + arg:label "Outcome"^^xsd:string ; |
| 192 | - arg:predicate log:onBehalfOf ; | 247 | + arg:predicate log:outcome ; |
| 193 | - ui:childIndex 1 | 248 | + ui:childIndex 1 ; |
| 194 | ] ; | 249 | ] ; |
| 195 | - ui:childIndex 1 | 250 | + ui:childIndex 0 ; |
| 196 | ] ; | 251 | ] ; |
| 197 | - ui:child | 252 | + ui:child [ |
| 198 | - [ rdf:type swa:Object ; | 253 | + rdf:type swa:Object ; |
| 199 | arg:label "Comment"^^xsd:string ; | 254 | arg:label "Comment"^^xsd:string ; |
| 200 | arg:predicate rdfs:comment ; | 255 | arg:predicate rdfs:comment ; |
| 201 | - ui:childIndex 2 | 256 | + ui:childIndex 2 ; |
| 202 | - ] | 257 | + ] ; |
| 203 | - ] . | 258 | + ] ; |
| 204 | - | 259 | + rdfs:label "Log event form body"^^xsd:string ; |
| 260 | + rdfs:subClassOf swa:FormBody ; | ||
| 261 | +. | ||
| 205 | log:ReportDownloadEvent | 262 | log:ReportDownloadEvent |
| 206 | - swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:reportType log:ownerId log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ; | 263 | + swa:keyProperties ( |
| 207 | - ui:instanceView | 264 | + <http://purl.org/dc/terms/created> |
| 208 | - [ rdf:type ui:group ; | 265 | + rdf:type |
| 266 | + log:reportType | ||
| 267 | + log:ownerId | ||
| 268 | + log:initiatedBy | ||
| 269 | + log:onBehalfOf | ||
| 270 | + log:outcome | ||
| 271 | + log:processingTime | ||
| 272 | + rdfs:comment | ||
| 273 | + ) ; | ||
| 274 | + ui:instanceView [ | ||
| 275 | + rdf:type ui:group ; | ||
| 209 | default:subject spin:_this ; | 276 | default:subject spin:_this ; |
| 210 | - ui:child | 277 | + ui:child [ |
| 211 | - [ rdf:type log:LogEventFormBody ; | 278 | + rdf:type swa:ColumnLayout ; |
| 212 | - arg:resource spin:_this ; | ||
| 213 | - ui:childIndex 0 | ||
| 214 | - ] ; | ||
| 215 | - ui:child | ||
| 216 | - [ rdf:type swa:ColumnLayout ; | ||
| 217 | arg:colWidths "50%,50%"^^xsd:string ; | 279 | arg:colWidths "50%,50%"^^xsd:string ; |
| 218 | arg:width "600px"^^xsd:string ; | 280 | arg:width "600px"^^xsd:string ; |
| 219 | - ui:child | 281 | + ui:child [ |
| 220 | - [ rdf:type swa:Object ; | 282 | + rdf:type swa:Object ; |
| 221 | - arg:label "Report type"^^xsd:string ; | ||
| 222 | - arg:predicate log:reportType ; | ||
| 223 | - ui:childIndex 0 | ||
| 224 | - ] ; | ||
| 225 | - ui:child | ||
| 226 | - [ rdf:type swa:Object ; | ||
| 227 | arg:label "Licence/BAA id"^^xsd:string ; | 283 | arg:label "Licence/BAA id"^^xsd:string ; |
| 228 | arg:predicate log:ownerId ; | 284 | arg:predicate log:ownerId ; |
| 229 | - ui:childIndex 1 | 285 | + ui:childIndex 1 ; |
| 230 | ] ; | 286 | ] ; |
| 231 | - ui:childIndex 1 | 287 | + ui:child [ |
| 288 | + rdf:type swa:Object ; | ||
| 289 | + arg:label "Report type"^^xsd:string ; | ||
| 290 | + arg:predicate log:reportType ; | ||
| 291 | + ui:childIndex 0 ; | ||
| 232 | ] ; | 292 | ] ; |
| 233 | - ui:id "search"^^xsd:string | 293 | + ui:childIndex 1 ; |
| 234 | - ] . | 294 | + ] ; |
| 235 | - | 295 | + ui:child [ |
| 236 | -log:ReportEvent | 296 | + rdf:type log:LogEventFormBody ; |
| 237 | - swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:reportType log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ; | ||
| 238 | - ui:instanceView | ||
| 239 | - [ rdf:type ui:group ; | ||
| 240 | - ui:child | ||
| 241 | - [ rdf:type log:LogEventFormBody ; | ||
| 242 | arg:resource spin:_this ; | 297 | arg:resource spin:_this ; |
| 243 | - ui:childIndex 0 | 298 | + ui:childIndex 0 ; |
| 244 | ] ; | 299 | ] ; |
| 245 | - ui:child | 300 | + ui:id "search"^^xsd:string ; |
| 246 | - [ rdf:type swa:Object ; | 301 | + ] ; |
| 302 | +. | ||
| 303 | +log:ReportEvent | ||
| 304 | + swa:keyProperties ( | ||
| 305 | + <http://purl.org/dc/terms/created> | ||
| 306 | + rdf:type | ||
| 307 | + log:reportType | ||
| 308 | + log:initiatedBy | ||
| 309 | + log:onBehalfOf | ||
| 310 | + log:outcome | ||
| 311 | + log:processingTime | ||
| 312 | + rdfs:comment | ||
| 313 | + ) ; | ||
| 314 | + ui:instanceView [ | ||
| 315 | + rdf:type ui:group ; | ||
| 316 | + ui:child [ | ||
| 317 | + rdf:type swa:Object ; | ||
| 318 | + arg:label "Processing time"^^xsd:string ; | ||
| 319 | + arg:predicate log:processingTime ; | ||
| 320 | + ui:childIndex 2 ; | ||
| 321 | + ] ; | ||
| 322 | + ui:child [ | ||
| 323 | + rdf:type swa:Object ; | ||
| 247 | arg:label "Report type"^^xsd:string ; | 324 | arg:label "Report type"^^xsd:string ; |
| 248 | arg:predicate log:reportType ; | 325 | arg:predicate log:reportType ; |
| 249 | - ui:childIndex 1 | 326 | + ui:childIndex 1 ; |
| 250 | ] ; | 327 | ] ; |
| 251 | - ui:id "search"^^xsd:string | 328 | + ui:child [ |
| 252 | - ] . | 329 | + rdf:type log:LogEventFormBody ; |
| 253 | - | ||
| 254 | -log:ReportUploadEvent | ||
| 255 | - swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:reportType log:npdEntityName log:reportingPeriodStart log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ; | ||
| 256 | - ui:instanceView | ||
| 257 | - [ rdf:type ui:group ; | ||
| 258 | - default:subject spin:_this ; | ||
| 259 | - ui:child | ||
| 260 | - [ rdf:type log:LogEventFormBody ; | ||
| 261 | arg:resource spin:_this ; | 330 | arg:resource spin:_this ; |
| 262 | - ui:childIndex 0 | 331 | + ui:childIndex 0 ; |
| 263 | ] ; | 332 | ] ; |
| 264 | - ui:child | 333 | + ui:id "search"^^xsd:string ; |
| 265 | - [ rdf:type swa:ColumnLayout ; | 334 | + ] ; |
| 335 | +. | ||
| 336 | +log:ReportUploadEvent | ||
| 337 | + swa:keyProperties ( | ||
| 338 | + <http://purl.org/dc/terms/created> | ||
| 339 | + rdf:type | ||
| 340 | + log:reportType | ||
| 341 | + log:npdEntityName | ||
| 342 | + log:reportingPeriodStart | ||
| 343 | + log:initiatedBy | ||
| 344 | + log:onBehalfOf | ||
| 345 | + log:outcome | ||
| 346 | + log:processingTime | ||
| 347 | + rdfs:comment | ||
| 348 | + ) ; | ||
| 349 | + ui:instanceView [ | ||
| 350 | + rdf:type ui:group ; | ||
| 351 | + default:subject spin:_this ; | ||
| 352 | + ui:child [ | ||
| 353 | + rdf:type swa:ColumnLayout ; | ||
| 266 | arg:colWidths "50%,50%"^^xsd:string ; | 354 | arg:colWidths "50%,50%"^^xsd:string ; |
| 267 | arg:width "600px"^^xsd:string ; | 355 | arg:width "600px"^^xsd:string ; |
| 268 | - ui:child | 356 | + ui:child [ |
| 269 | - [ rdf:type swa:Object ; | 357 | + rdf:type swa:Object ; |
| 358 | + arg:label "NPD entity name"^^xsd:string ; | ||
| 359 | + arg:predicate log:npdEntityName ; | ||
| 360 | + ui:childIndex 1 ; | ||
| 361 | + ] ; | ||
| 362 | + ui:child [ | ||
| 363 | + rdf:type swa:Object ; | ||
| 270 | arg:label "Report type"^^xsd:string ; | 364 | arg:label "Report type"^^xsd:string ; |
| 271 | arg:predicate log:reportType ; | 365 | arg:predicate log:reportType ; |
| 272 | - ui:childIndex 0 | 366 | + ui:childIndex 0 ; |
| 273 | ] ; | 367 | ] ; |
| 274 | - ui:child | 368 | + ui:childIndex 1 ; |
| 275 | - [ rdf:type swa:Object ; | ||
| 276 | - arg:label "NPD entity name"^^xsd:string ; | ||
| 277 | - arg:predicate log:npdEntityName ; | ||
| 278 | - ui:childIndex 1 | ||
| 279 | ] ; | 369 | ] ; |
| 280 | - ui:childIndex 1 | 370 | + ui:child [ |
| 371 | + rdf:type log:LogEventFormBody ; | ||
| 372 | + arg:resource spin:_this ; | ||
| 373 | + ui:childIndex 0 ; | ||
| 281 | ] ; | 374 | ] ; |
| 282 | - ui:id "search"^^xsd:string | 375 | + ui:id "search"^^xsd:string ; |
| 283 | - ] . | 376 | + ] ; |
| 284 | - | 377 | +. |
| 285 | log:TableBrowser | 378 | log:TableBrowser |
| 286 | rdf:type ui:NodeClass ; | 379 | rdf:type ui:NodeClass ; |
| 287 | - rdfs:comment "A complex element with a Tree of log event classes in the upper left corner, a search form in the upper center area, and a grid of results in the main center area. The browser can be configured by query graph and the root of the query class tree."^^xsd:string ; | 380 | + spin:constraint [ |
| 288 | - rdfs:label "Table Browser"^^xsd:string ; | 381 | + rdf:type spl:Argument ; |
| 289 | - rdfs:subClassOf ui:Element ; | ||
| 290 | - spin:constraint | ||
| 291 | - [ rdf:type spl:Argument ; | ||
| 292 | - rdfs:comment "The graph to query (instances)"^^xsd:string ; | ||
| 293 | spl:predicate arg:queryGraph ; | 382 | spl:predicate arg:queryGraph ; |
| 294 | - spl:valueType rdfs:Resource | 383 | + spl:valueType rdfs:Resource ; |
| 384 | + rdfs:comment "The graph to query (instances)"^^xsd:string ; | ||
| 295 | ] ; | 385 | ] ; |
| 296 | - spin:constraint | 386 | + spin:constraint [ |
| 297 | - [ rdf:type spl:Argument ; | 387 | + rdf:type spl:Argument ; |
| 298 | - rdfs:comment "The root class in the search tree."^^xsd:string ; | ||
| 299 | spl:predicate arg:rootClass ; | 388 | spl:predicate arg:rootClass ; |
| 300 | - spl:valueType rdfs:Class | 389 | + spl:valueType rdfs:Class ; |
| 390 | + rdfs:comment "The root class in the search tree."^^xsd:string ; | ||
| 301 | ] ; | 391 | ] ; |
| 302 | - spin:constraint | 392 | + spin:constraint [ |
| 303 | - [ rdf:type spl:Argument ; | 393 | + rdf:type spl:Argument ; |
| 304 | - rdfs:comment "The schema graph containing the class and property definitions."^^xsd:string ; | ||
| 305 | spl:predicate arg:schemaGraph ; | 394 | spl:predicate arg:schemaGraph ; |
| 306 | - spl:valueType rdfs:Resource | 395 | + spl:valueType rdfs:Resource ; |
| 396 | + rdfs:comment "The schema graph containing the class and property definitions."^^xsd:string ; | ||
| 307 | ] ; | 397 | ] ; |
| 308 | - ui:prototype | 398 | + ui:prototype [ |
| 309 | - [ rdf:type html:Div ; | 399 | + rdf:type html:Div ; |
| 310 | html:id "tableBrowserMainPanel"^^xsd:string ; | 400 | html:id "tableBrowserMainPanel"^^xsd:string ; |
| 311 | html:style "width:880px; height: 500px; border-width: 1px; border-style: solid; border-color: black;"^^xsd:string ; | 401 | html:style "width:880px; height: 500px; border-width: 1px; border-style: solid; border-color: black;"^^xsd:string ; |
| 312 | - ui:child | 402 | + ui:child [ |
| 313 | - [ rdf:type html:Div ; | 403 | + rdf:type html:Div ; |
| 404 | + html:class "ui-layout-center"^^xsd:string ; | ||
| 405 | + html:style "height: 300px"^^xsd:string ; | ||
| 406 | + ui:child [ | ||
| 407 | + rdf:type swa:Header ; | ||
| 408 | + arg:label "Search Results"^^xsd:string ; | ||
| 409 | + ui:childIndex 0 ; | ||
| 410 | + ] ; | ||
| 411 | + ui:child [ | ||
| 412 | + rdf:type html:Div ; | ||
| 413 | + html:class "ui-layout-content"^^xsd:string ; | ||
| 414 | + html:id "results"^^xsd:string ; | ||
| 415 | + ui:childIndex 1 ; | ||
| 416 | + ] ; | ||
| 417 | + ui:childIndex 1 ; | ||
| 418 | + ] ; | ||
| 419 | + ui:child [ | ||
| 420 | + rdf:type html:Div ; | ||
| 314 | html:class "ui-layout-north"^^xsd:string ; | 421 | html:class "ui-layout-north"^^xsd:string ; |
| 315 | html:id "tableBrowserNorthPanel"^^xsd:string ; | 422 | html:id "tableBrowserNorthPanel"^^xsd:string ; |
| 316 | html:style "height: 120px"^^xsd:string ; | 423 | html:style "height: 120px"^^xsd:string ; |
| 317 | - ui:child | 424 | + ui:child [ |
| 318 | - [ rdf:type ui:setContext ; | 425 | + rdf:type ui:setContext ; |
| 319 | - ui:child | 426 | + ui:child [ |
| 320 | - [ rdf:type html:Div ; | 427 | + rdf:type html:Div ; |
| 321 | html:class "ui-layout-west"^^xsd:string ; | 428 | html:class "ui-layout-west"^^xsd:string ; |
| 322 | - ui:child | 429 | + ui:child [ |
| 323 | - [ rdf:type swa:Header ; | 430 | + rdf:type swa:Header ; |
| 324 | arg:label "Search Type"^^xsd:string ; | 431 | arg:label "Search Type"^^xsd:string ; |
| 325 | - ui:childIndex 0 | 432 | + ui:childIndex 0 ; |
| 326 | ] ; | 433 | ] ; |
| 327 | - ui:child | 434 | + ui:child [ |
| 328 | - [ rdf:type html:Div ; | 435 | + rdf:type html:Div ; |
| 329 | html:class "ui-layout-content"^^xsd:string ; | 436 | html:class "ui-layout-content"^^xsd:string ; |
| 330 | - ui:child | 437 | + ui:child [ |
| 331 | - [ rdf:type swa:Tree ; | 438 | + rdf:type swa:Tree ; |
| 332 | arg:dataProvider swa:ClassTreeDataProvider ; | 439 | arg:dataProvider swa:ClassTreeDataProvider ; |
| 333 | arg:id "classTree"^^xsd:string ; | 440 | arg:id "classTree"^^xsd:string ; |
| 334 | arg:onSelect "swa.loadWithResource('form', 'resourceType', resource)"^^xsd:string ; | 441 | arg:onSelect "swa.loadWithResource('form', 'resourceType', resource)"^^xsd:string ; |
| 335 | - arg:root | 442 | + arg:root [ |
| 336 | - [ sp:varName "rootClass"^^xsd:string | 443 | +sp:varName "rootClass"^^xsd:string ; |
| 337 | ] ; | 444 | ] ; |
| 338 | - ui:childIndex 0 | 445 | + ui:childIndex 0 ; |
| 339 | ] ; | 446 | ] ; |
| 340 | - ui:childIndex 1 | 447 | + ui:childIndex 1 ; |
| 341 | ] ; | 448 | ] ; |
| 342 | - ui:childIndex 0 | 449 | + ui:childIndex 0 ; |
| 343 | ] ; | 450 | ] ; |
| 344 | - ui:child | 451 | + ui:child [ |
| 345 | - [ rdf:type ui:loadable ; | 452 | + rdf:type ui:loadable ; |
| 346 | html:class "ui-layout-center"^^xsd:string ; | 453 | html:class "ui-layout-center"^^xsd:string ; |
| 347 | - ui:child | 454 | + ui:child [ |
| 348 | - [ rdf:type swa:SearchForm ; | 455 | + rdf:type swa:SearchForm ; |
| 349 | arg:formId "searchForm"^^xsd:string ; | 456 | arg:formId "searchForm"^^xsd:string ; |
| 350 | arg:noBorder "true"^^xsd:boolean ; | 457 | arg:noBorder "true"^^xsd:boolean ; |
| 351 | arg:onSelect "swa.openResourceViewDialog('viewDialog', resource, 500, 400)"^^xsd:string ; | 458 | arg:onSelect "swa.openResourceViewDialog('viewDialog', resource, 500, 400)"^^xsd:string ; |
| 352 | - arg:queryGraph | 459 | + arg:queryGraph [ |
| 353 | - [ sp:varName "queryGraph"^^xsd:string | 460 | + sp:varName "queryGraph"^^xsd:string ; |
| 354 | ] ; | 461 | ] ; |
| 355 | - arg:resourceType | 462 | + arg:resourceType [ |
| 356 | - [ rdf:type sp:coalesce ; | 463 | + rdf:type sp:coalesce ; |
| 357 | - sp:arg1 [ sp:varName "resourceType"^^xsd:string | 464 | + sp:arg1 [ |
| 465 | +sp:varName "resourceType"^^xsd:string ; | ||
| 466 | + ] ; | ||
| 467 | + sp:arg2 [ | ||
| 468 | +sp:varName "rootClass"^^xsd:string ; | ||
| 358 | ] ; | 469 | ] ; |
| 359 | - sp:arg2 [ sp:varName "rootClass"^^xsd:string | ||
| 360 | - ] | ||
| 361 | ] ; | 470 | ] ; |
| 362 | arg:resultsId "results"^^xsd:string ; | 471 | arg:resultsId "results"^^xsd:string ; |
| 363 | - ui:childIndex 0 | 472 | + ui:childIndex 0 ; |
| 364 | ] ; | 473 | ] ; |
| 365 | ui:childIndex 1 ; | 474 | ui:childIndex 1 ; |
| 366 | - ui:loadId "form"^^xsd:string | 475 | + ui:loadId "form"^^xsd:string ; |
| 367 | ] ; | 476 | ] ; |
| 368 | ui:childIndex 0 ; | 477 | ui:childIndex 0 ; |
| 369 | - ui:queryGraph | 478 | + ui:queryGraph [ |
| 370 | - [ sp:varName "schemaGraph"^^xsd:string | 479 | + sp:varName "schemaGraph"^^xsd:string ; |
| 371 | - ] | ||
| 372 | - ] ; | ||
| 373 | - ui:childIndex 0 | ||
| 374 | - ] ; | ||
| 375 | - ui:child | ||
| 376 | - [ rdf:type html:Div ; | ||
| 377 | - html:class "ui-layout-center"^^xsd:string ; | ||
| 378 | - html:style "height: 300px"^^xsd:string ; | ||
| 379 | - ui:child | ||
| 380 | - [ rdf:type swa:Header ; | ||
| 381 | - arg:label "Search Results"^^xsd:string ; | ||
| 382 | - ui:childIndex 0 | ||
| 383 | ] ; | 480 | ] ; |
| 384 | - ui:child | ||
| 385 | - [ rdf:type html:Div ; | ||
| 386 | - html:class "ui-layout-content"^^xsd:string ; | ||
| 387 | - html:id "results"^^xsd:string ; | ||
| 388 | - ui:childIndex 1 | ||
| 389 | ] ; | 481 | ] ; |
| 390 | - ui:childIndex 1 | 482 | + ui:childIndex 0 ; |
| 391 | ] ; | 483 | ] ; |
| 392 | - ui:child | 484 | + ui:child [ |
| 393 | - [ rdf:type html:Script ; | 485 | + rdf:type html:Script ; |
| 394 | - ui:child | 486 | + ui:child [ |
| 395 | - [ rdf:type ui:TextNode ; | 487 | + rdf:type ui:TextNode ; |
| 396 | ui:childIndex 0 ; | 488 | ui:childIndex 0 ; |
| 397 | ui:text """$('#tableBrowserMainPanel').layout({ | 489 | ui:text """$('#tableBrowserMainPanel').layout({ |
| 398 | applyDefaultStyles: true | 490 | applyDefaultStyles: true |
| 399 | }); | 491 | }); |
| 400 | $('#tableBrowserNorthPanel').layout({ | 492 | $('#tableBrowserNorthPanel').layout({ |
| 401 | applyDefaultStyles: true | 493 | applyDefaultStyles: true |
| 402 | - });"""^^xsd:string | 494 | + });"""^^xsd:string ; |
| 403 | ] ; | 495 | ] ; |
| 404 | - ui:childIndex 2 | 496 | + ui:childIndex 2 ; |
| 405 | ] ; | 497 | ] ; |
| 406 | - ui:child | 498 | + ui:child [ |
| 407 | - [ rdf:type ui:setContext ; | 499 | + rdf:type ui:setContext ; |
| 408 | - ui:child | 500 | + ui:child [ |
| 409 | - [ rdf:type rhswp:AGResourceViewDialog ; | 501 | + rdf:type rhswp:AGResourceViewDialog ; |
| 410 | arg:loadId "viewDialog"^^xsd:string ; | 502 | arg:loadId "viewDialog"^^xsd:string ; |
| 411 | - arg:queryGraph | 503 | + arg:queryGraph [ |
| 412 | - [ sp:varName "queryGraph"^^xsd:string | 504 | + sp:varName "queryGraph"^^xsd:string ; |
| 413 | ] ; | 505 | ] ; |
| 414 | - arg:schemaGraph | 506 | + arg:schemaGraph [ |
| 415 | - [ sp:varName "schemaGraph"^^xsd:string | 507 | + sp:varName "schemaGraph"^^xsd:string ; |
| 416 | ] ; | 508 | ] ; |
| 417 | - ui:childIndex 0 | 509 | + ui:childIndex 0 ; |
| 418 | ] ; | 510 | ] ; |
| 419 | ui:childIndex 3 ; | 511 | ui:childIndex 3 ; |
| 420 | - ui:queryGraph | 512 | + ui:queryGraph [ |
| 421 | - [ sp:varName "schemaGraph"^^xsd:string | 513 | + sp:varName "schemaGraph"^^xsd:string ; |
| 422 | - ] | 514 | + ] ; |
| 423 | - ] | 515 | + ] ; |
| 424 | - ] . | 516 | + ] ; |
| 425 | - | 517 | + rdfs:comment "A complex element with a Tree of log event classes in the upper left corner, a search form in the upper center area, and a grid of results in the main center area. The browser can be configured by query graph and the root of the query class tree."^^xsd:string ; |
| 518 | + rdfs:label "Table Browser"^^xsd:string ; | ||
| 519 | + rdfs:subClassOf ui:Element ; | ||
| 520 | +. | ||
| 426 | <http://www.reportinghub.no/system/swp/SWP-logging> | 521 | <http://www.reportinghub.no/system/swp/SWP-logging> |
| 427 | rdf:type owl:Ontology ; | 522 | rdf:type owl:Ontology ; |
| 428 | - owl:imports <http://topbraid.org/swa> , <http://www.reportinghub.no/swp/rh> , <http://www.reportinghub.no/system/schema/logging> ; | 523 | + owl:imports <http://topbraid.org/swa> ; |
| 429 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 524 | + owl:imports <http://www.reportinghub.no/swp/rh> ; |
| 525 | + owl:imports <http://www.reportinghub.no/system/schema/logging> ; | ||
| 526 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string ; | ||
| 527 | +. | ... | ... |
-
Please register or login to post a comment