reteplayground
Aggregate

The most contested claims

ClaimDistinct attackers
one, legislation is really im…3
Boris Johnson will get the de…2
Douglas Ross waits for the pa…2
Fiona Bruce is not trying to…2
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 20 rows · 765 ms · 2.0 MB of 13.0 MB read over HTTP range · no server, no download — the query runs in your browser.

The query

PREFIX aif: <http://www.arg.tech/aif#> PREFIX aifx: <https://w3id.org/rete/aif#> SELECT ?claim (COUNT(DISTINCT ?attacker) AS ?n) WHERE { ?att aifx:conflictsWith ?target . ?loc aifx:illocutes ?att ; aifx:speaker ?attacker . ?target aif:claimText ?claim . } GROUP BY ?claim HAVING (COUNT(DISTINCT ?attacker) > 1) ORDER BY DESC(?n) LIMIT 20

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