Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
Holger Knublauch
2013-01-25 10:45:40 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4a0b416d406e96de93fd6c2edd987792b40eec33
4a0b416d
1 parent
ecb6b269
Added log:processingTime to event ontology and SWP file
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
83 deletions
www.reportinghub.no/system/schema/SCHEMA-logging.ttl
www.reportinghub.no/system/swp/SWP-logging.ui.ttl
www.reportinghub.no/system/schema/SCHEMA-logging.ttl
View file @
4a0b416
...
...
@@ -3,192 +3,206 @@
# 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
.
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
.
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
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
xsd:
dateTime
;
owl:
onProperty
<http://purl.org/dc/terms/created>
owl:
onProperty
<http://purl.org/dc/terms/created>
;
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
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
owl:
onProperty
<http://purl.org/dc/terms/created>
;
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
<http://rdfs.org/sioc/ns#id>
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:
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
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
log:
xml
]
.
owl:
onProperty
log:
xml
;
]
;
.
log:
PasswordChangeEvent
rdf:
type
owl:
Class
;
rdfs:
label
"Password change event"
^^
xsd:
string
;
rdfs:
subClassOf
log:
LogEvent
.
rdfs:
subClassOf
log:
LogEvent
;
.
log:
QueryEvent
rdf:
type
owl:
Class
;
rdfs:
label
"Query event"
^^
xsd:
string
;
rdfs:
subClassOf
log:
LogEvent
.
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
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
<http://www.reportinghub.no/system/schema/reporting#format>
owl:
onProperty
<http://www.reportinghub.no/system/schema/reporting#format>
;
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
<http://www.reportinghub.no/system/schema/reporting#wellBoreId>
]
.
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
.
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
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
log:
xml
owl:
onProperty
log:
xml
;
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
minCardinality
"0"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
<http://www.reportinghub.no/system/schema/reporting#format>
]
.
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
.
rdfs:
subClassOf
log:
ReportEvent
;
.
log:
dateFrom
rdf:
type
owl:
DatatypeProperty
;
rdfs:
domain
log:
ReportDownloadEvent
;
rdfs:
label
"date from"
^^
xsd:
string
;
rdfs:
range
xsd:
date
.
rdfs:
range
xsd:
date
;
.
log:
dateTo
rdf:
type
owl:
DatatypeProperty
;
rdfs:
domain
log:
ReportDownloadEvent
;
rdfs:
label
"date to"
^^
xsd:
string
;
rdfs:
range
xsd:
date
.
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
.
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
.
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
.
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
)
]
.
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
.
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>
.
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
.
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
.
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
.
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
.
rdfs:
label
"uploaded document"
^^
xsd:
string
;
.
...
...
www.reportinghub.no/system/swp/SWP-logging.ui.ttl
View file @
4a0b416
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment