Showing
1 changed file
with
43 additions
and
45 deletions
... | @@ -23,7 +23,11 @@ loggingspin:Overview | ... | @@ -23,7 +23,11 @@ loggingspin:Overview |
23 | rdfs:subClassOf spin:SelectTemplates ; | 23 | rdfs:subClassOf spin:SelectTemplates ; |
24 | spin:body | 24 | spin:body |
25 | [ rdf:type sp:Select ; | 25 | [ rdf:type sp:Select ; |
26 | - sp:orderBy ([ sp:varName "created"^^xsd:string | 26 | + sp:limit "100"^^xsd:long ; |
27 | + sp:orderBy ([ rdf:type sp:Desc ; | ||
28 | + sp:expression | ||
29 | + [ sp:varName "created"^^xsd:string | ||
30 | + ] | ||
27 | ]) ; | 31 | ]) ; |
28 | sp:resultVariables ([ sp:varName "event"^^xsd:string | 32 | sp:resultVariables ([ sp:varName "event"^^xsd:string |
29 | ] [ sp:varName "created"^^xsd:string | 33 | ] [ sp:varName "created"^^xsd:string |
... | @@ -32,49 +36,43 @@ loggingspin:Overview | ... | @@ -32,49 +36,43 @@ loggingspin:Overview |
32 | ] [ sp:varName "onBehalfOf"^^xsd:string | 36 | ] [ sp:varName "onBehalfOf"^^xsd:string |
33 | ] [ sp:varName "outcome"^^xsd:string | 37 | ] [ sp:varName "outcome"^^xsd:string |
34 | ]) ; | 38 | ]) ; |
35 | - sp:where ([ sp:object | 39 | + sp:where ([ rdf:type sp:NamedGraph ; |
36 | - [ sp:varName "created"^^xsd:string | 40 | + sp:elements ([ sp:object |
37 | - ] ; | 41 | + [ sp:varName "created"^^xsd:string |
38 | - sp:predicate <http://purl.org/dc/terms/created> ; | 42 | + ] ; |
39 | - sp:subject | 43 | + sp:predicate <http://purl.org/dc/terms/created> ; |
40 | - [ sp:varName "event"^^xsd:string | 44 | + sp:subject |
41 | - ] | 45 | + [ sp:varName "event"^^xsd:string |
42 | - ] [ sp:object | 46 | + ] |
43 | - [ sp:varName "initiatedBy"^^xsd:string | 47 | + ] [ sp:object |
44 | - ] ; | 48 | + [ sp:varName "initiatedBy"^^xsd:string |
45 | - sp:predicate <http://www.reportinghub.no/system/schema/logging#initiatedBy> ; | 49 | + ] ; |
46 | - sp:subject | 50 | + sp:predicate <http://www.reportinghub.no/system/schema/logging#initiatedBy> ; |
47 | - [ sp:varName "event"^^xsd:string | 51 | + sp:subject |
48 | - ] | 52 | + [ sp:varName "event"^^xsd:string |
49 | - ] [ sp:object | 53 | + ] |
50 | - [ sp:varName "onBehalfOf"^^xsd:string | 54 | + ] [ sp:object |
51 | - ] ; | 55 | + [ sp:varName "onBehalfOf"^^xsd:string |
52 | - sp:predicate <http://www.reportinghub.no/system/schema/logging#onBehalfOf> ; | 56 | + ] ; |
53 | - sp:subject | 57 | + sp:predicate <http://www.reportinghub.no/system/schema/logging#onBehalfOf> ; |
54 | - [ sp:varName "event"^^xsd:string | 58 | + sp:subject |
55 | - ] | 59 | + [ sp:varName "event"^^xsd:string |
56 | - ] [ sp:object | 60 | + ] |
57 | - [ sp:varName "outcome"^^xsd:string | 61 | + ] [ sp:object |
58 | - ] ; | 62 | + [ sp:varName "outcome"^^xsd:string |
59 | - sp:predicate <http://www.reportinghub.no/system/schema/logging#outcome> ; | 63 | + ] ; |
60 | - sp:subject | 64 | + sp:predicate <http://www.reportinghub.no/system/schema/logging#outcome> ; |
61 | - [ sp:varName "event"^^xsd:string | 65 | + sp:subject |
62 | - ] | 66 | + [ sp:varName "event"^^xsd:string |
63 | - ] [ sp:object | 67 | + ] |
64 | - [ sp:varName "class"^^xsd:string | 68 | + ] [ sp:object |
65 | - ] ; | 69 | + [ sp:varName "type"^^xsd:string |
66 | - sp:predicate rdf:type ; | 70 | + ] ; |
67 | - sp:subject | 71 | + sp:predicate rdf:type ; |
68 | - [ sp:varName "event"^^xsd:string | 72 | + sp:subject |
69 | - ] | 73 | + [ sp:varName "event"^^xsd:string |
70 | - ] [ rdf:type sp:Bind ; | 74 | + ] |
71 | - sp:expression | 75 | + ]) ; |
72 | - [ rdf:type afn:localname ; | 76 | + sp:graphNameNode <http://www.reportinghub.no/graph/logging> |
73 | - sp:arg1 [ sp:varName "class"^^xsd:string | ||
74 | - ] | ||
75 | - ] ; | ||
76 | - sp:variable | ||
77 | - [ sp:varName "type"^^xsd:string | ||
78 | - ] | ||
79 | ]) | 77 | ]) |
80 | ] . | 78 | ] . | ... | ... |
-
Please register or login to post a comment