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
2011-12-09 13:48:51 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7dba9062d10521cc33c397ccd5fbce6837f47f8e
7dba9062
1 parent
0e14d844
Event log clean up
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
151 deletions
www.reportinghub.no/system/schema/SCHEMA-logging.ttl
www.reportinghub.no/system/spin/SPIN-logging.spin.ttl
www.reportinghub.no/system/swp/SWP-logging.ui.ttl
www.reportinghub.no/system/schema/SCHEMA-logging.ttl
View file @
7dba906
...
...
@@ -26,12 +26,12 @@ log:LogEvent
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
;
owl:
allValuesFrom
xsd:
string
;
owl:
onProperty
<http://
rdfs.org/sioc/ns#i
d>
owl:
allValuesFrom
xsd:
dateTime
;
owl:
onProperty
<http://
purl.org/dc/terms/create
d>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
...
...
@@ -40,13 +40,13 @@ log:LogEvent
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
xsd:
dateTime
;
owl:
onProperty
<http://
purl.org/dc/terms/create
d>
owl:
allValuesFrom
xsd:
string
;
owl:
onProperty
<http://
rdfs.org/sioc/ns#i
d>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
<http://purl.org/dc/terms/created>
owl:
onProperty
rdfs:
comment
]
.
log:
PasswordChangeEvent
...
...
@@ -66,12 +66,12 @@ log:ReportDownloadEvent
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#
wellBoreId
>
]
;
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#
format
>
]
.
log:
ReportEvent
...
...
@@ -82,7 +82,12 @@ log:ReportEvent
log:
ReportUploadEvent
rdf:
type
owl:
Class
;
rdfs:
label
"Report upload event"
^^
xsd:
string
;
rdfs:
subClassOf
log:
ReportEvent
.
rdfs:
subClassOf
log:
ReportEvent
;
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
;
...
...
www.reportinghub.no/system/spin/SPIN-logging.spin.ttl
View file @
7dba906
...
...
@@ -23,7 +23,7 @@ loggingspin:Overview
rdfs:
subClassOf
spin:
SelectTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
limit
"100"
^^
xsd:
long
;
sp:
limit
"100
0
"
^^
xsd:
long
;
sp:
orderBy
([
rdf:
type
sp:
Desc
;
sp:
expression
[
sp:
varName
"created"
^^
xsd:
string
...
...
@@ -35,6 +35,7 @@ loggingspin:Overview
]
[
sp:
varName
"initiatedBy"
^^
xsd:
string
]
[
sp:
varName
"onBehalfOf"
^^
xsd:
string
]
[
sp:
varName
"outcome"
^^
xsd:
string
]
[
sp:
varName
"comment"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
NamedGraph
;
sp:
elements
([
sp:
object
...
...
@@ -65,6 +66,15 @@ loggingspin:Overview
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"comment"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
comment
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"type"
^^
xsd:
string
]
;
...
...
www.reportinghub.no/system/swp/SWP-logging.ui.ttl
deleted
100644 → 0
View file @
0e14d84
# baseURI: http://www.reportinghub.no/system/swp/SWP-logging
# imports: http://uispin.org/tui
# imports: http://www.reportinghub.no/system/schema/logging
@prefix
afn:
<http://jena.hpl.hp.com/ARQ/function#>
.
@prefix
let:
<http://uispin.org/let#>
.
@prefix
letrs:
<http://uispin.org/letrs#>
.
@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
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
tui:
<http://uispin.org/tui#>
.
@prefix
ui:
<http://uispin.org/ui#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/system/schema/logging#ReportDownloadEvent>
ui:
instanceView
[
rdf:
type
ui:
group
;
let:
dateFrom
[
rdf:
type
spl:
object
;
sp:
arg1
spin:
_this
;
sp:
arg2
<http://www.reportinghub.no/system/schema/logging#dateFrom>
]
;
let:
dateTo
[
rdf:
type
spl:
object
;
sp:
arg1
spin:
_this
;
sp:
arg2
<http://www.reportinghub.no/system/schema/logging#dateTo>
]
;
let:
ownerId
[
rdf:
type
spl:
object
;
sp:
arg1
spin:
_this
;
sp:
arg2
<http://www.reportinghub.no/system/schema/logging#ownerId>
]
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
0
;
ui:
text
[
rdf:
type
afn:
localname
;
sp:
arg1
[
rdf:
type
spl:
object
;
sp:
arg1
spin:
_this
;
sp:
arg2
<http://www.reportinghub.no/system/schema/logging#reportType>
]
]
]
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
1
;
ui:
text
" from "
^^
xsd:
string
]
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
2
;
ui:
text
[
sp:
varName
"dateFrom"
^^
xsd:
string
]
]
;
ui:
child
[
rdf:
type
ui:
if
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
0
;
ui:
text
"to "
^^
xsd:
string
]
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
1
;
ui:
text
[
sp:
varName
"dateTo"
^^
xsd:
string
]
]
;
ui:
childIndex
3
;
ui:
condition
[
rdf:
type
sp:
bound
;
sp:
arg1
[
sp:
varName
"dateTo"
^^
xsd:
string
]
]
]
;
ui:
child
[
rdf:
type
ui:
if
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
0
;
ui:
text
" with owner id "
^^
xsd:
string
]
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
1
;
ui:
text
[
sp:
varName
"ownerId"
^^
xsd:
string
]
]
;
ui:
childIndex
4
;
ui:
condition
[
rdf:
type
sp:
bound
;
sp:
arg1
[
sp:
varName
"ownerId"
^^
xsd:
string
]
]
]
;
ui:
id
"comments"
^^
xsd:
string
]
.
<http://www.reportinghub.no/system/schema/logging#ReportUploadEvent>
ui:
instanceView
[
rdf:
type
ui:
group
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
0
;
ui:
text
[
rdf:
type
afn:
localname
;
sp:
arg1
[
rdf:
type
spl:
object
;
sp:
arg1
spin:
_this
;
sp:
arg2
<http://www.reportinghub.no/system/schema/logging#reportType>
]
]
]
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
1
;
ui:
text
" "
^^
xsd:
string
]
;
ui:
child
[
rdf:
type
tui:
LabelList
;
ui:
childIndex
2
;
ui:
resultSet
[
rdf:
type
sp:
Select
;
sp:
orderBy
([
sp:
varName
"wellBoreName"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"wellBoreName"
^^
xsd:
string
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellBoreName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/system/schema/logging#wellBoreName>
;
sp:
subject
spin:
_this
])
]
]
;
ui:
id
"comments"
^^
xsd:
string
]
.
<http://www.reportinghub.no/system/swp/SWP-logging>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://uispin.org/tui>
,
<http://www.reportinghub.no/system/schema/logging>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
Please
register
or
login
to post a comment