reteplayground
Aggregate

Temporal violations

Violations
298
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 1 row · 7.2 ms · no server, no download — the query runs in your browser.

The query

PREFIX cito: <http://purl.org/spar/cito/> PREFIX dct: <http://purl.org/dc/terms/> SELECT (COUNT(*) AS ?violations) WHERE { ?citing cito:cites ?cited . ?citing dct:date ?d1 . ?cited dct:date ?d2 . FILTER(STR(?d2) > STR(?d1)) }

rete playground · documentation · github.com/caviri/rete