Holger Knublauch

Created logging system ontology

Cleaned up reporting system ontology
# 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#> .
<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 .
log:FactPagesUpdateEvent
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 <http://rdfs.org/sioc/ns#id>
] ;
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 rdfs:comment
] .
log:PasswordChangeEvent
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 .
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#wellBoreId>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format>
] .
log:ReportEvent
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 .
log:ReportValidationEvent
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 .
log:dateTo
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 "initiated by"^^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 "on behalf of"^^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)
] .
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 .
log:reportType
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportEvent ;
rdfs:label "report type"^^xsd:string ;
rdfs:range rdfs:Class .
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 .
<http://www.reportinghub.no/system/schema/reporting#uploadedDocument>
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "uploaded document"^^xsd:string .
......@@ -67,6 +67,37 @@ report:DPR
owl:onProperty report:owner
] .
report:Format
rdf:type owl:Class ;
rdfs:label "Format"^^xsd:string ;
rdfs:subClassOf owl:Thing .
report:HTMLFormat
rdf:type report:Format ;
rdfs:label "HTMLFormat"^^xsd:string .
report:PDFFormat
rdf:type report:Format ;
rdfs:label "PDFFormat"^^xsd:string .
report:WDR
rdf:type rdfs:Class ;
rdfs:comment "Metadata about a Weekly Drilling Report"^^xsd:string ;
rdfs:label "WDR"^^xsd:string ;
rdfs:subClassOf foaf:Document .
report:XMLFormat
rdf:type report:Format ;
rdfs:label "XMLFormat"^^xsd:string .
report:ZipFormat
rdf:type report:Format ;
rdfs:label "Zip format"^^xsd:string .
report:format
rdf:type owl:ObjectProperty ;
rdfs:label "format"^^xsd:string .
report:owner
rdf:type owl:ObjectProperty ;
rdfs:label "owner"^^xsd:string ;
......