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-29 16:54:00 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
74272aad6b488351f0728b3f28cc592049d5f9e0
74272aad
1 parent
5f1934c1
Turned log query to AG native
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
45 deletions
www.reportinghub.no/system/spin/SPIN-logging.spin.ttl
www.reportinghub.no/system/spin/SPIN-logging.spin.ttl
View file @
74272aa
...
...
@@ -23,7 +23,11 @@ loggingspin:Overview
rdfs:
subClassOf
spin:
SelectTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
([
sp:
varName
"created"
^^
xsd:
string
sp:
limit
"100"
^^
xsd:
long
;
sp:
orderBy
([
rdf:
type
sp:
Desc
;
sp:
expression
[
sp:
varName
"created"
^^
xsd:
string
]
])
;
sp:
resultVariables
([
sp:
varName
"event"
^^
xsd:
string
]
[
sp:
varName
"created"
^^
xsd:
string
...
...
@@ -32,49 +36,43 @@ loggingspin:Overview
]
[
sp:
varName
"onBehalfOf"
^^
xsd:
string
]
[
sp:
varName
"outcome"
^^
xsd:
string
])
;
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
]
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
"type"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"event"
^^
xsd:
string
]
])
;
sp:
graphNameNode
<http://www.reportinghub.no/graph/logging>
])
]
.
...
...
Please
register
or
login
to post a comment