Holger Knublauch

Log pages progress

......@@ -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
]
])
] .
......
......@@ -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> ;
......