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-11-01 15:27:15 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b82afd5af8ea26edf6691a89703378bf4f670ce9
b82afd5a
1 parent
912f275b
Log pages progress
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
66 deletions
www.reportinghub.no/system/spin/SPIN-logging.spin.ttl
www.reportinghub.no/system/swp/SWP-logging.ui.ttl
www.reportinghub.no/system/spin/SPIN-logging.spin.ttl
View file @
b82afd5
...
...
@@ -32,52 +32,49 @@ loggingspin:Overview
]
[
sp:
varName
"onBehalfOf"
^^
xsd:
string
]
[
sp:
varName
"outcome"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
NamedGraph
;
sp:
elements
([
sp:
object
[
sp:
varName
"created"
^^
xsd:
string
]
;
sp:
predicate
<http://purl.org/dc/terms/created>
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"initiatedBy"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/system/schema/logging#initiatedBy>
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"onBehalfOf"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/system/schema/logging#onBehalfOf>
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"outcome"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/system/schema/logging#outcome>
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"class"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
afn:
localname
;
sp:
arg1
[
sp:
varName
"class"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"type"
^^
xsd:
string
]
])
;
sp:
graphNameNode
<http://www.reportinghub.no/graph/logging>
sp:
where
([
sp:
object
[
sp:
varName
"created"
^^
xsd:
string
]
;
sp:
predicate
<http://purl.org/dc/terms/created>
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"initiatedBy"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/system/schema/logging#initiatedBy>
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"onBehalfOf"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/system/schema/logging#onBehalfOf>
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"outcome"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/system/schema/logging#outcome>
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"class"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
afn:
localname
;
sp:
arg1
[
sp:
varName
"class"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"type"
^^
xsd:
string
]
])
]
.
...
...
www.reportinghub.no/system/swp/SWP-logging.ui.ttl
View file @
b82afd5
...
...
@@ -2,6 +2,7 @@
# 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#>
.
...
...
@@ -34,27 +35,22 @@
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
0
;
ui:
text
"Report type "
^^
xsd:
string
]
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
1
;
ui:
text
[
rdf:
type
spl:
object
;
sp:
arg1
spin:
_this
;
sp:
arg2
<http://www.reportinghub.no/system/schema/logging#reportType>
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
2
;
ui:
childIndex
1
;
ui:
text
" from "
^^
xsd:
string
]
;
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
3
;
ui:
text
[
rdf:
type
ui:
label
;
sp:
arg1
[
sp:
varName
"dateFrom"
^^
xsd:
string
]
ui:
childIndex
2
;
ui:
text
[
sp:
varName
"dateFrom"
^^
xsd:
string
]
]
;
ui:
child
...
...
@@ -67,12 +63,10 @@
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
1
;
ui:
text
[
rdf:
type
ui:
label
;
sp:
arg1
[
sp:
varName
"dateTo"
^^
xsd:
string
]
ui:
text
[
sp:
varName
"dateTo"
^^
xsd:
string
]
]
;
ui:
childIndex
4
;
ui:
childIndex
3
;
ui:
condition
[
rdf:
type
sp:
bound
;
sp:
arg1
[
sp:
varName
"dateTo"
^^
xsd:
string
...
...
@@ -84,7 +78,7 @@
ui:
child
[
rdf:
type
ui:
TextNode
;
ui:
childIndex
0
;
ui:
text
"with owner id "
^^
xsd:
string
ui:
text
"
with owner id "
^^
xsd:
string
]
;
ui:
child
[
rdf:
type
ui:
TextNode
;
...
...
@@ -92,7 +86,7 @@
ui:
text
[
sp:
varName
"ownerId"
^^
xsd:
string
]
]
;
ui:
childIndex
5
;
ui:
childIndex
4
;
ui:
condition
[
rdf:
type
sp:
bound
;
sp:
arg1
[
sp:
varName
"ownerId"
^^
xsd:
string
...
...
@@ -102,6 +96,22 @@
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:
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>
;
...
...
Please
register
or
login
to post a comment