Showing
1 changed file
with
10 additions
and
12 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,7 +36,8 @@ loggingspin:Overview | ... | @@ -32,7 +36,8 @@ 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 ; |
| 40 | + sp:elements ([ sp:object | ||
| 36 | [ sp:varName "created"^^xsd:string | 41 | [ sp:varName "created"^^xsd:string |
| 37 | ] ; | 42 | ] ; |
| 38 | sp:predicate <http://purl.org/dc/terms/created> ; | 43 | sp:predicate <http://purl.org/dc/terms/created> ; |
| ... | @@ -61,20 +66,13 @@ loggingspin:Overview | ... | @@ -61,20 +66,13 @@ loggingspin:Overview |
| 61 | [ sp:varName "event"^^xsd:string | 66 | [ sp:varName "event"^^xsd:string |
| 62 | ] | 67 | ] |
| 63 | ] [ sp:object | 68 | ] [ sp:object |
| 64 | - [ sp:varName "class"^^xsd:string | 69 | + [ sp:varName "type"^^xsd:string |
| 65 | ] ; | 70 | ] ; |
| 66 | sp:predicate rdf:type ; | 71 | sp:predicate rdf:type ; |
| 67 | sp:subject | 72 | sp:subject |
| 68 | [ sp:varName "event"^^xsd:string | 73 | [ sp:varName "event"^^xsd:string |
| 69 | ] | 74 | ] |
| 70 | - ] [ rdf:type sp:Bind ; | 75 | + ]) ; |
| 71 | - sp:expression | 76 | + sp:graphNameNode <http://www.reportinghub.no/graph/logging> |
| 72 | - [ rdf:type afn:localname ; | ||
| 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