Holger Knublauch

Added log:processingTime to event ontology and SWP file

# baseURI: http://www.reportinghub.no/system/schema/logging
# imports: http://purl.org/dc/terms/
# imports: http://rdfs.org/sioc/ns
# imports: http://www.reportinghub.no/system/schema/reporting
@prefix log: <http://www.reportinghub.no/system/schema/logging#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
# baseURI: http://www.reportinghub.no/system/schema/logging
# imports: http://purl.org/dc/terms/
# imports: http://rdfs.org/sioc/ns
# imports: http://www.reportinghub.no/system/schema/reporting
# c14n-version: 3
@prefix log: <http://www.reportinghub.no/system/schema/logging#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/system/schema/logging>
rdf:type owl:Ontology ;
owl:imports <http://purl.org/dc/terms/> , <http://rdfs.org/sioc/ns> , <http://www.reportinghub.no/system/schema/reporting> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
rdf:type owl:Ontology ;
owl:imports <http://purl.org/dc/terms/> ;
owl:imports <http://rdfs.org/sioc/ns> ;
owl:imports <http://www.reportinghub.no/system/schema/reporting> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string ;
.
log:FactPagesUpdateEvent
rdf:type owl:Class ;
rdfs:label "Fact pages update event"^^xsd:string ;
rdfs:subClassOf log:LogEvent .
rdf:type owl:Class ;
rdfs:label "Fact pages update event"^^xsd:string ;
rdfs:subClassOf log:LogEvent ;
.
log:LogEvent
rdf:type owl:Class ;
rdfs:label "Log event"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://purl.org/dc/terms/created>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:dateTime ;
owl:onProperty <http://purl.org/dc/terms/created>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty rdfs:comment
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://rdfs.org/sioc/ns#id>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty <http://rdfs.org/sioc/ns#id>
] .
rdf:type owl:Class ;
rdfs:label "Log event"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:allValuesFrom xsd:dateTime ;
owl:onProperty <http://purl.org/dc/terms/created> ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty <http://rdfs.org/sioc/ns#id> ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://purl.org/dc/terms/created> ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://rdfs.org/sioc/ns#id> ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty rdfs:comment ;
] ;
.
log:NPDUploadEvent
rdf:type owl:Class ;
rdfs:comment "Represents the fact that a given XML file has been submitted to NPD."^^xsd:string ;
rdfs:label "NPDUpload event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty log:xml
] .
rdf:type owl:Class ;
rdfs:comment "Represents the fact that a given XML file has been submitted to NPD."^^xsd:string ;
rdfs:label "NPDUpload event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty log:xml ;
] ;
.
log:PasswordChangeEvent
rdf:type owl:Class ;
rdfs:label "Password change event"^^xsd:string ;
rdfs:subClassOf log:LogEvent .
rdf:type owl:Class ;
rdfs:label "Password change event"^^xsd:string ;
rdfs:subClassOf log:LogEvent ;
.
log:QueryEvent
rdf:type owl:Class ;
rdfs:label "Query event"^^xsd:string ;
rdfs:subClassOf log:LogEvent .
rdf:type owl:Class ;
rdfs:label "Query event"^^xsd:string ;
rdfs:subClassOf log:LogEvent ;
.
log:ReportDownloadEvent
rdf:type owl:Class ;
rdfs:label "Report download event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId>
] .
rdf:type owl:Class ;
rdfs:label "Report download event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId> ;
] ;
.
log:ReportEvent
rdf:type owl:Class ;
rdfs:label "Report event"^^xsd:string ;
rdfs:subClassOf log:LogEvent .
rdf:type owl:Class ;
rdfs:label "Report event"^^xsd:string ;
rdfs:subClassOf log:LogEvent ;
.
log:ReportUploadEvent
rdf:type owl:Class ;
rdfs:label "Report upload event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty log:xml
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format>
] .
rdf:type owl:Class ;
rdfs:label "Report upload event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty log:xml ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> ;
] ;
.
log:ReportValidationEvent
rdf:type owl:Class ;
rdfs:label "Report validation event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent .
rdf:type owl:Class ;
rdfs:label "Report validation event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
.
log:dateFrom
rdf:type owl:DatatypeProperty ;
rdfs:domain log:ReportDownloadEvent ;
rdfs:label "date from"^^xsd:string ;
rdfs:range xsd:date .
rdf:type owl:DatatypeProperty ;
rdfs:domain log:ReportDownloadEvent ;
rdfs:label "date from"^^xsd:string ;
rdfs:range xsd:date ;
.
log:dateTo
rdf:type owl:DatatypeProperty ;
rdfs:domain log:ReportDownloadEvent ;
rdfs:label "date to"^^xsd:string ;
rdfs:range xsd:date .
rdf:type owl:DatatypeProperty ;
rdfs:domain log:ReportDownloadEvent ;
rdfs:label "date to"^^xsd:string ;
rdfs:range xsd:date ;
.
log:initiatedBy
rdf:type owl:DatatypeProperty ;
rdfs:comment "The name of the user logged in."^^xsd:string ;
rdfs:domain log:LogEvent ;
rdfs:label "user"^^xsd:string ;
rdfs:range xsd:string .
rdf:type owl:DatatypeProperty ;
rdfs:comment "The name of the user logged in."^^xsd:string ;
rdfs:domain log:LogEvent ;
rdfs:label "user"^^xsd:string ;
rdfs:range xsd:string ;
.
log:npdEntityName
rdf:type owl:DatatypeProperty ;
rdfs:comment "Points to a well bore or field name that had the report uploaded."^^xsd:string ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "NPD entity name"^^xsd:string ;
rdfs:range xsd:string .
rdf:type owl:DatatypeProperty ;
rdfs:comment "Points to a well bore or field name that had the report uploaded."^^xsd:string ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "NPD entity name"^^xsd:string ;
rdfs:range xsd:string ;
.
log:onBehalfOf
rdf:type owl:DatatypeProperty ;
rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ;
rdfs:domain log:LogEvent ;
rdfs:label "company"^^xsd:string ;
rdfs:range xsd:string .
rdf:type owl:DatatypeProperty ;
rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ;
rdfs:domain log:LogEvent ;
rdfs:label "company"^^xsd:string ;
rdfs:range xsd:string ;
.
log:outcome
rdf:type owl:DatatypeProperty ;
rdfs:domain log:LogEvent ;
rdfs:label "outcome"^^xsd:string ;
rdfs:range
[ rdf:type rdfs:Datatype ;
owl:oneOf ("success"^^xsd:string "user-error"^^xsd:string "server-error"^^xsd:string)
] .
rdf:type owl:DatatypeProperty ;
rdfs:domain log:LogEvent ;
rdfs:label "outcome"^^xsd:string ;
rdfs:range [
rdf:type rdfs:Datatype ;
owl:oneOf (
"success"^^xsd:string
"user-error"^^xsd:string
"server-error"^^xsd:string
) ;
] ;
.
log:ownerId
rdf:type owl:DatatypeProperty ;
rdfs:comment "The NPD id of the BAA or Licence."^^xsd:string ;
rdfs:domain log:ReportDownloadEvent ;
rdfs:label "owner id"^^xsd:string ;
rdfs:range xsd:string .
rdf:type owl:DatatypeProperty ;
rdfs:comment "The NPD id of the BAA or Licence."^^xsd:string ;
rdfs:domain log:ReportDownloadEvent ;
rdfs:label "owner id"^^xsd:string ;
rdfs:range xsd:string ;
.
log:processingTime
rdf:type owl:DatatypeProperty ;
rdfs:comment "Number of milliseconds that a request took."^^xsd:string ;
rdfs:domain log:ReportEvent ;
rdfs:label "processing time"^^xsd:string ;
rdfs:range xsd:integer ;
.
log:reportType
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportEvent ;
rdfs:label "report type"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/system/schema/reporting#ReportClass> .
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportEvent ;
rdfs:label "report type"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/system/schema/reporting#ReportClass> ;
.
log:reportingPeriodStart
rdf:type owl:DatatypeProperty ;
rdfs:comment "The start date of the reporting period in the report."^^xsd:string ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "reporting period start"^^xsd:string ;
rdfs:range xsd:date .
rdf:type owl:DatatypeProperty ;
rdfs:comment "The start date of the reporting period in the report."^^xsd:string ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "reporting period start"^^xsd:string ;
rdfs:range xsd:date ;
.
log:url
rdf:type owl:DatatypeProperty ;
rdfs:comment "The URL of a query request."^^xsd:string ;
rdfs:domain log:QueryEvent ;
rdfs:label "url"^^xsd:string ;
rdfs:range xsd:string .
rdf:type owl:DatatypeProperty ;
rdfs:comment "The URL of a query request."^^xsd:string ;
rdfs:domain log:QueryEvent ;
rdfs:label "url"^^xsd:string ;
rdfs:range xsd:string ;
.
log:xml
rdf:type owl:DatatypeProperty ;
rdfs:comment "The complete source of the submitted XML document."^^xsd:string ;
rdfs:label "xml"^^xsd:string ;
rdfs:range xsd:string .
rdf:type owl:DatatypeProperty ;
rdfs:comment "The complete source of the submitted XML document."^^xsd:string ;
rdfs:label "xml"^^xsd:string ;
rdfs:range xsd:string ;
.
<http://www.reportinghub.no/system/schema/reporting#format>
rdfs:range <http://www.reportinghub.no/system/schema/reporting#Format> .
rdfs:range <http://www.reportinghub.no/system/schema/reporting#Format> ;
.
<http://www.reportinghub.no/system/schema/reporting#uploadedDocument>
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "uploaded document"^^xsd:string .
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "uploaded document"^^xsd:string ;
.
......
# baseURI: http://www.reportinghub.no/system/swp/SWP-logging
# imports: http://topbraid.org/swa
# imports: http://www.reportinghub.no/swp/rh
# imports: http://www.reportinghub.no/system/schema/logging
@prefix : <http://www.reportinghub.no/system/swp/SWP-logging#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix default: <http://uispin.org/default#> .
@prefix html: <http://uispin.org/html#> .
@prefix let: <http://uispin.org/let#> .
@prefix letrs: <http://uispin.org/letrs#> .
@prefix log: <http://www.reportinghub.no/system/schema/logging#> .
@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#> .
# baseURI: http://www.reportinghub.no/system/swp/SWP-logging
# imports: http://topbraid.org/swa
# imports: http://www.reportinghub.no/swp/rh
# imports: http://www.reportinghub.no/system/schema/logging
# c14n-version: 3
@prefix : <http://www.reportinghub.no/system/swp/SWP-logging#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix default: <http://uispin.org/default#> .
@prefix html: <http://uispin.org/html#> .
@prefix let: <http://uispin.org/let#> .
@prefix letrs: <http://uispin.org/letrs#> .
@prefix log: <http://www.reportinghub.no/system/schema/logging#> .
@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#> .
arg:rootClass
rdf:type rdf:Property ;
rdfs:label "root class"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
rdf:type rdf:Property ;
rdfs:label "root class"^^xsd:string ;
rdfs:subPropertyOf sp:arg ;
.
arg:schemaGraph
rdf:type rdf:Property ;
rdfs:label "schema graph"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
rdf:type rdf:Property ;
rdfs:label "schema graph"^^xsd:string ;
rdfs:subPropertyOf sp:arg ;
.
log:LogBrowser
rdf:type ui:NodeClass ;
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 ;
rdfs:label "Log Browser"^^xsd:string ;
rdfs:subClassOf ui:Element ;
ui:prototype
[ rdf:type log:TableBrowser ;
arg:queryGraph <http://www.reportinghub.no/graph/logging> ;
arg:rootClass log:LogEvent ;
arg:schemaGraph
[ rdf:type ui:graphWithImports ;
sp:arg1 <http://www.reportinghub.no/system/schema/logging>
]
] .
rdf:type ui:NodeClass ;
ui:prototype [
rdf:type log:TableBrowser ;
arg:queryGraph <http://www.reportinghub.no/graph/logging> ;
arg:rootClass log:LogEvent ;
arg:schemaGraph [
rdf:type ui:graphWithImports ;
sp:arg1 <http://www.reportinghub.no/system/schema/logging> ;
] ;
] ;
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 ;
rdfs:label "Log Browser"^^xsd:string ;
rdfs:subClassOf ui:Element ;
.
log:LogEvent
swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ;
ui:instanceView
[ rdf:type log:LogEventFormBody ;
arg:resource spin:_this ;
ui:id "search"^^xsd:string
] ;
ui:view [ rdf:type log:LogBrowser
] .
swa:keyProperties (
<http://purl.org/dc/terms/created>
rdf:type
log:initiatedBy
log:onBehalfOf
log:outcome
rdfs:comment
) ;
ui:instanceView [
rdf:type log:LogEventFormBody ;
arg:resource spin:_this ;
ui:id "search"^^xsd:string ;
] ;
ui:view [
rdf:type log:LogBrowser ;
] ;
.
log:LogEventClassTreeDataProvider
rdf:type swa:QueryTreeDataProvider ;
rdfs:label "Log event class tree data provider"^^xsd:string ;
arg:childrenQuery
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "label"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "child"^^xsd:string
] [ sp:varName "label"^^xsd:string
] [ sp:varName "leaf"^^xsd:string
] [ sp:varName "icon"^^xsd:string
] [ sp:varName "type"^^xsd:string
]) ;
sp:where ([ sp:object
[ sp:varName "parent"^^xsd:string
] ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "child"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:notExists ;
sp:elements ([ sp:object
[ sp:varName "child"^^xsd:string
] ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "grandChild"^^xsd:string
]
])
] ;
sp:variable
[ sp:varName "leaf"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ui:label ;
sp:arg1 [ sp:varName "child"^^xsd:string
]
] ;
sp:variable
[ sp:varName "label"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression "appIconClass" ;
sp:variable
[ sp:varName "icon"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spl:object ;
sp:arg1 [ sp:varName "child"^^xsd:string
] ;
sp:arg2 rdf:type
] ;
sp:variable
[ sp:varName "type"^^xsd:string
]
])
rdf:type swa:QueryTreeDataProvider ;
arg:childrenQuery [
rdf:type sp:Select ;
sp:orderBy (
[
sp:varName "label"^^xsd:string ;
]
) ;
sp:resultVariables (
[
sp:varName "child"^^xsd:string ;
]
[
sp:varName "label"^^xsd:string ;
]
[
sp:varName "leaf"^^xsd:string ;
]
[
sp:varName "icon"^^xsd:string ;
]
[
sp:varName "type"^^xsd:string ;
]
) ;
sp:where (
[
sp:object [
sp:varName "parent"^^xsd:string ;
] ;
arg:id [ sp:varName "id"^^xsd:string
sp:predicate rdfs:subClassOf ;
sp:subject [
sp:varName "child"^^xsd:string ;
] ;
arg:rootsQuery
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "child"^^xsd:string
] [ sp:varName "label"^^xsd:string
] [ sp:varName "leaf"^^xsd:string
] [ sp:varName "icon"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression log:LogEvent ;
sp:variable
[ sp:varName "child"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression "Any Event" ;
sp:variable
[ sp:varName "label"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression "false"^^xsd:boolean ;
sp:variable
[ sp:varName "leaf"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression "appIconClass" ;
sp:variable
[ sp:varName "icon"^^xsd:string
]
])
] .
log:LogEventFormBody
rdf:type ui:ResourceViewClass ;
rdfs:label "Log event form body"^^xsd:string ;
rdfs:subClassOf swa:FormBody ;
ui:prototype
[ rdf:type html:Div ;
default:subject
[ sp:varName "resource"^^xsd:string
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type sp:notExists ;
sp:elements (
[
sp:object [
sp:varName "child"^^xsd:string ;
] ;
ui:child
[ rdf:type swa:ColumnLayout ;
arg:colWidths "50%,50%"^^xsd:string ;
arg:width "600px"^^xsd:string ;
ui:child
[ rdf:type swa:Object ;
arg:label "Created"^^xsd:string ;
arg:predicate <http://purl.org/dc/terms/created> ;
ui:childIndex 0
] ;
ui:child
[ rdf:type swa:Object ;
arg:label "Outcome"^^xsd:string ;
arg:predicate log:outcome ;
ui:childIndex 1
] ;
ui:childIndex 0
sp:predicate rdfs:subClassOf ;
sp:subject [
sp:varName "grandChild"^^xsd:string ;
] ;
ui:child
[ rdf:type swa:ColumnLayout ;
arg:colWidths "50%,50%"^^xsd:string ;
arg:width "600px"^^xsd:string ;
ui:child
[ rdf:type swa:Object ;
arg:label "User"^^xsd:string ;
arg:predicate log:initiatedBy ;
ui:childIndex 0
] ;
ui:child
[ rdf:type swa:Object ;
arg:label "Company"^^xsd:string ;
arg:predicate log:onBehalfOf ;
ui:childIndex 1
] ;
ui:childIndex 1
] ;
ui:child
[ rdf:type swa:Object ;
arg:label "Comment"^^xsd:string ;
arg:predicate rdfs:comment ;
ui:childIndex 2
]
] .
]
) ;
] ;
sp:variable [
sp:varName "leaf"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type ui:label ;
sp:arg1 [
sp:varName "child"^^xsd:string ;
] ;
] ;
sp:variable [
sp:varName "label"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression "appIconClass" ;
sp:variable [
sp:varName "icon"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type spl:object ;
sp:arg1 [
sp:varName "child"^^xsd:string ;
] ;
sp:arg2 rdf:type ;
] ;
sp:variable [
sp:varName "type"^^xsd:string ;
] ;
]
) ;
] ;
arg:id [
sp:varName "id"^^xsd:string ;
] ;
arg:rootsQuery [
rdf:type sp:Select ;
sp:resultVariables (
[
sp:varName "child"^^xsd:string ;
]
[
sp:varName "label"^^xsd:string ;
]
[
sp:varName "leaf"^^xsd:string ;
]
[
sp:varName "icon"^^xsd:string ;
]
) ;
sp:where (
[
rdf:type sp:Bind ;
sp:expression log:LogEvent ;
sp:variable [
sp:varName "child"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression "Any Event" ;
sp:variable [
sp:varName "label"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression "false"^^xsd:boolean ;
sp:variable [
sp:varName "leaf"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression "appIconClass" ;
sp:variable [
sp:varName "icon"^^xsd:string ;
] ;
]
) ;
] ;
rdfs:label "Log event class tree data provider"^^xsd:string ;
.
log:LogEventFormBody
rdf:type ui:ResourceViewClass ;
ui:prototype [
rdf:type html:Div ;
default:subject [
sp:varName "resource"^^xsd:string ;
] ;
ui:child [
rdf:type swa:ColumnLayout ;
arg:colWidths "50%,50%"^^xsd:string ;
arg:width "600px"^^xsd:string ;
ui:child [
rdf:type swa:Object ;
arg:label "Company"^^xsd:string ;
arg:predicate log:onBehalfOf ;
ui:childIndex 1 ;
] ;
ui:child [
rdf:type swa:Object ;
arg:label "User"^^xsd:string ;
arg:predicate log:initiatedBy ;
ui:childIndex 0 ;
] ;
ui:childIndex 1 ;
] ;
ui:child [
rdf:type swa:ColumnLayout ;
arg:colWidths "50%,50%"^^xsd:string ;
arg:width "600px"^^xsd:string ;
ui:child [
rdf:type swa:Object ;
arg:label "Created"^^xsd:string ;
arg:predicate <http://purl.org/dc/terms/created> ;
ui:childIndex 0 ;
] ;
ui:child [
rdf:type swa:Object ;
arg:label "Outcome"^^xsd:string ;
arg:predicate log:outcome ;
ui:childIndex 1 ;
] ;
ui:childIndex 0 ;
] ;
ui:child [
rdf:type swa:Object ;
arg:label "Comment"^^xsd:string ;
arg:predicate rdfs:comment ;
ui:childIndex 2 ;
] ;
] ;
rdfs:label "Log event form body"^^xsd:string ;
rdfs:subClassOf swa:FormBody ;
.
log:ReportDownloadEvent
swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:reportType log:ownerId log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ;
ui:instanceView
[ rdf:type ui:group ;
default:subject spin:_this ;
ui:child
[ rdf:type log:LogEventFormBody ;
arg:resource spin:_this ;
ui:childIndex 0
] ;
ui:child
[ rdf:type swa:ColumnLayout ;
arg:colWidths "50%,50%"^^xsd:string ;
arg:width "600px"^^xsd:string ;
ui:child
[ rdf:type swa:Object ;
arg:label "Report type"^^xsd:string ;
arg:predicate log:reportType ;
ui:childIndex 0
] ;
ui:child
[ rdf:type swa:Object ;
arg:label "Licence/BAA id"^^xsd:string ;
arg:predicate log:ownerId ;
ui:childIndex 1
] ;
ui:childIndex 1
] ;
ui:id "search"^^xsd:string
] .
swa:keyProperties (
<http://purl.org/dc/terms/created>
rdf:type
log:reportType
log:ownerId
log:initiatedBy
log:onBehalfOf
log:outcome
log:processingTime
rdfs:comment
) ;
ui:instanceView [
rdf:type ui:group ;
default:subject spin:_this ;
ui:child [
rdf:type swa:ColumnLayout ;
arg:colWidths "50%,50%"^^xsd:string ;
arg:width "600px"^^xsd:string ;
ui:child [
rdf:type swa:Object ;
arg:label "Licence/BAA id"^^xsd:string ;
arg:predicate log:ownerId ;
ui:childIndex 1 ;
] ;
ui:child [
rdf:type swa:Object ;
arg:label "Report type"^^xsd:string ;
arg:predicate log:reportType ;
ui:childIndex 0 ;
] ;
ui:childIndex 1 ;
] ;
ui:child [
rdf:type log:LogEventFormBody ;
arg:resource spin:_this ;
ui:childIndex 0 ;
] ;
ui:id "search"^^xsd:string ;
] ;
.
log:ReportEvent
swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:reportType log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ;
ui:instanceView
[ rdf:type ui:group ;
ui:child
[ rdf:type log:LogEventFormBody ;
arg:resource spin:_this ;
ui:childIndex 0
] ;
ui:child
[ rdf:type swa:Object ;
arg:label "Report type"^^xsd:string ;
arg:predicate log:reportType ;
ui:childIndex 1
] ;
ui:id "search"^^xsd:string
] .
swa:keyProperties (
<http://purl.org/dc/terms/created>
rdf:type
log:reportType
log:initiatedBy
log:onBehalfOf
log:outcome
log:processingTime
rdfs:comment
) ;
ui:instanceView [
rdf:type ui:group ;
ui:child [
rdf:type swa:Object ;
arg:label "Processing time"^^xsd:string ;
arg:predicate log:processingTime ;
ui:childIndex 2 ;
] ;
ui:child [
rdf:type swa:Object ;
arg:label "Report type"^^xsd:string ;
arg:predicate log:reportType ;
ui:childIndex 1 ;
] ;
ui:child [
rdf:type log:LogEventFormBody ;
arg:resource spin:_this ;
ui:childIndex 0 ;
] ;
ui:id "search"^^xsd:string ;
] ;
.
log:ReportUploadEvent
swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:reportType log:npdEntityName log:reportingPeriodStart log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ;
ui:instanceView
[ rdf:type ui:group ;
default:subject spin:_this ;
ui:child
[ rdf:type log:LogEventFormBody ;
arg:resource spin:_this ;
ui:childIndex 0
] ;
ui:child
[ rdf:type swa:ColumnLayout ;
arg:colWidths "50%,50%"^^xsd:string ;
arg:width "600px"^^xsd:string ;
ui:child
[ rdf:type swa:Object ;
arg:label "Report type"^^xsd:string ;
arg:predicate log:reportType ;
ui:childIndex 0
] ;
ui:child
[ rdf:type swa:Object ;
arg:label "NPD entity name"^^xsd:string ;
arg:predicate log:npdEntityName ;
ui:childIndex 1
] ;
ui:childIndex 1
] ;
ui:id "search"^^xsd:string
] .
swa:keyProperties (
<http://purl.org/dc/terms/created>
rdf:type
log:reportType
log:npdEntityName
log:reportingPeriodStart
log:initiatedBy
log:onBehalfOf
log:outcome
log:processingTime
rdfs:comment
) ;
ui:instanceView [
rdf:type ui:group ;
default:subject spin:_this ;
ui:child [
rdf:type swa:ColumnLayout ;
arg:colWidths "50%,50%"^^xsd:string ;
arg:width "600px"^^xsd:string ;
ui:child [
rdf:type swa:Object ;
arg:label "NPD entity name"^^xsd:string ;
arg:predicate log:npdEntityName ;
ui:childIndex 1 ;
] ;
ui:child [
rdf:type swa:Object ;
arg:label "Report type"^^xsd:string ;
arg:predicate log:reportType ;
ui:childIndex 0 ;
] ;
ui:childIndex 1 ;
] ;
ui:child [
rdf:type log:LogEventFormBody ;
arg:resource spin:_this ;
ui:childIndex 0 ;
] ;
ui:id "search"^^xsd:string ;
] ;
.
log:TableBrowser
rdf:type ui:NodeClass ;
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 ;
rdfs:label "Table Browser"^^xsd:string ;
rdfs:subClassOf ui:Element ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The graph to query (instances)"^^xsd:string ;
spl:predicate arg:queryGraph ;
spl:valueType rdfs:Resource
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The root class in the search tree."^^xsd:string ;
spl:predicate arg:rootClass ;
spl:valueType rdfs:Class
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The schema graph containing the class and property definitions."^^xsd:string ;
spl:predicate arg:schemaGraph ;
spl:valueType rdfs:Resource
] ;
ui:prototype
[ rdf:type html:Div ;
html:id "tableBrowserMainPanel"^^xsd:string ;
html:style "width:880px; height: 500px; border-width: 1px; border-style: solid; border-color: black;"^^xsd:string ;
ui:child
[ rdf:type html:Div ;
html:class "ui-layout-north"^^xsd:string ;
html:id "tableBrowserNorthPanel"^^xsd:string ;
html:style "height: 120px"^^xsd:string ;
ui:child
[ rdf:type ui:setContext ;
ui:child
[ rdf:type html:Div ;
html:class "ui-layout-west"^^xsd:string ;
ui:child
[ rdf:type swa:Header ;
arg:label "Search Type"^^xsd:string ;
ui:childIndex 0
] ;
ui:child
[ rdf:type html:Div ;
html:class "ui-layout-content"^^xsd:string ;
ui:child
[ rdf:type swa:Tree ;
arg:dataProvider swa:ClassTreeDataProvider ;
arg:id "classTree"^^xsd:string ;
arg:onSelect "swa.loadWithResource('form', 'resourceType', resource)"^^xsd:string ;
arg:root
[ sp:varName "rootClass"^^xsd:string
] ;
ui:childIndex 0
] ;
ui:childIndex 1
] ;
ui:childIndex 0
] ;
ui:child
[ rdf:type ui:loadable ;
html:class "ui-layout-center"^^xsd:string ;
ui:child
[ rdf:type swa:SearchForm ;
arg:formId "searchForm"^^xsd:string ;
arg:noBorder "true"^^xsd:boolean ;
arg:onSelect "swa.openResourceViewDialog('viewDialog', resource, 500, 400)"^^xsd:string ;
arg:queryGraph
[ sp:varName "queryGraph"^^xsd:string
] ;
arg:resourceType
[ rdf:type sp:coalesce ;
sp:arg1 [ sp:varName "resourceType"^^xsd:string
] ;
sp:arg2 [ sp:varName "rootClass"^^xsd:string
]
] ;
arg:resultsId "results"^^xsd:string ;
ui:childIndex 0
] ;
ui:childIndex 1 ;
ui:loadId "form"^^xsd:string
] ;
ui:childIndex 0 ;
ui:queryGraph
[ sp:varName "schemaGraph"^^xsd:string
]
] ;
ui:childIndex 0
rdf:type ui:NodeClass ;
spin:constraint [
rdf:type spl:Argument ;
spl:predicate arg:queryGraph ;
spl:valueType rdfs:Resource ;
rdfs:comment "The graph to query (instances)"^^xsd:string ;
] ;
spin:constraint [
rdf:type spl:Argument ;
spl:predicate arg:rootClass ;
spl:valueType rdfs:Class ;
rdfs:comment "The root class in the search tree."^^xsd:string ;
] ;
spin:constraint [
rdf:type spl:Argument ;
spl:predicate arg:schemaGraph ;
spl:valueType rdfs:Resource ;
rdfs:comment "The schema graph containing the class and property definitions."^^xsd:string ;
] ;
ui:prototype [
rdf:type html:Div ;
html:id "tableBrowserMainPanel"^^xsd:string ;
html:style "width:880px; height: 500px; border-width: 1px; border-style: solid; border-color: black;"^^xsd:string ;
ui:child [
rdf:type html:Div ;
html:class "ui-layout-center"^^xsd:string ;
html:style "height: 300px"^^xsd:string ;
ui:child [
rdf:type swa:Header ;
arg:label "Search Results"^^xsd:string ;
ui:childIndex 0 ;
] ;
ui:child [
rdf:type html:Div ;
html:class "ui-layout-content"^^xsd:string ;
html:id "results"^^xsd:string ;
ui:childIndex 1 ;
] ;
ui:childIndex 1 ;
] ;
ui:child [
rdf:type html:Div ;
html:class "ui-layout-north"^^xsd:string ;
html:id "tableBrowserNorthPanel"^^xsd:string ;
html:style "height: 120px"^^xsd:string ;
ui:child [
rdf:type ui:setContext ;
ui:child [
rdf:type html:Div ;
html:class "ui-layout-west"^^xsd:string ;
ui:child [
rdf:type swa:Header ;
arg:label "Search Type"^^xsd:string ;
ui:childIndex 0 ;
] ;
ui:child [
rdf:type html:Div ;
html:class "ui-layout-content"^^xsd:string ;
ui:child [
rdf:type swa:Tree ;
arg:dataProvider swa:ClassTreeDataProvider ;
arg:id "classTree"^^xsd:string ;
arg:onSelect "swa.loadWithResource('form', 'resourceType', resource)"^^xsd:string ;
arg:root [
sp:varName "rootClass"^^xsd:string ;
] ;
ui:childIndex 0 ;
] ;
ui:childIndex 1 ;
] ;
ui:childIndex 0 ;
] ;
ui:child [
rdf:type ui:loadable ;
html:class "ui-layout-center"^^xsd:string ;
ui:child [
rdf:type swa:SearchForm ;
arg:formId "searchForm"^^xsd:string ;
arg:noBorder "true"^^xsd:boolean ;
arg:onSelect "swa.openResourceViewDialog('viewDialog', resource, 500, 400)"^^xsd:string ;
arg:queryGraph [
sp:varName "queryGraph"^^xsd:string ;
] ;
ui:child
[ rdf:type html:Div ;
html:class "ui-layout-center"^^xsd:string ;
html:style "height: 300px"^^xsd:string ;
ui:child
[ rdf:type swa:Header ;
arg:label "Search Results"^^xsd:string ;
ui:childIndex 0
] ;
ui:child
[ rdf:type html:Div ;
html:class "ui-layout-content"^^xsd:string ;
html:id "results"^^xsd:string ;
ui:childIndex 1
] ;
ui:childIndex 1
arg:resourceType [
rdf:type sp:coalesce ;
sp:arg1 [
sp:varName "resourceType"^^xsd:string ;
] ;
sp:arg2 [
sp:varName "rootClass"^^xsd:string ;
] ;
] ;
ui:child
[ rdf:type html:Script ;
ui:child
[ rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text """$('#tableBrowserMainPanel').layout({
arg:resultsId "results"^^xsd:string ;
ui:childIndex 0 ;
] ;
ui:childIndex 1 ;
ui:loadId "form"^^xsd:string ;
] ;
ui:childIndex 0 ;
ui:queryGraph [
sp:varName "schemaGraph"^^xsd:string ;
] ;
] ;
ui:childIndex 0 ;
] ;
ui:child [
rdf:type html:Script ;
ui:child [
rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text """$('#tableBrowserMainPanel').layout({
applyDefaultStyles: true
});
$('#tableBrowserNorthPanel').layout({
applyDefaultStyles: true
});"""^^xsd:string
] ;
ui:childIndex 2
] ;
ui:child
[ rdf:type ui:setContext ;
ui:child
[ rdf:type rhswp:AGResourceViewDialog ;
arg:loadId "viewDialog"^^xsd:string ;
arg:queryGraph
[ sp:varName "queryGraph"^^xsd:string
] ;
arg:schemaGraph
[ sp:varName "schemaGraph"^^xsd:string
] ;
ui:childIndex 0
] ;
ui:childIndex 3 ;
ui:queryGraph
[ sp:varName "schemaGraph"^^xsd:string
]
]
] .
});"""^^xsd:string ;
] ;
ui:childIndex 2 ;
] ;
ui:child [
rdf:type ui:setContext ;
ui:child [
rdf:type rhswp:AGResourceViewDialog ;
arg:loadId "viewDialog"^^xsd:string ;
arg:queryGraph [
sp:varName "queryGraph"^^xsd:string ;
] ;
arg:schemaGraph [
sp:varName "schemaGraph"^^xsd:string ;
] ;
ui:childIndex 0 ;
] ;
ui:childIndex 3 ;
ui:queryGraph [
sp:varName "schemaGraph"^^xsd:string ;
] ;
] ;
] ;
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 ;
rdfs:label "Table Browser"^^xsd:string ;
rdfs:subClassOf ui:Element ;
.
<http://www.reportinghub.no/system/swp/SWP-logging>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/swa> , <http://www.reportinghub.no/swp/rh> , <http://www.reportinghub.no/system/schema/logging> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/swa> ;
owl:imports <http://www.reportinghub.no/swp/rh> ;
owl:imports <http://www.reportinghub.no/system/schema/logging> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string ;
.
......