reteplayground
Select

Who bridges separate scandals

ActorKindIn how many+1
Harvard EndowInstitution @en7
Kapital Beratung AG - Zurich -Person @en6
Farhad AzimaPerson @en5
Spectrum Seven Oil - Tex -Institution @en5
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 59 rows · 98 ms · no server, no download — the query runs in your browser.

The query

PREFIX lo: <https://w3id.org/rete/lombardi/> PREFIX lom: <http://www.lombardinetworks.net/lombardi.owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?actor ?kind ?drawings (GROUP_CONCAT(?title; SEPARATOR=" · ") AS ?appearsIn) WHERE { ?a a ?t ; rdfs:label ?actor ; lo:workCount ?drawings ; lo:appearsIn ?w . ?t rdfs:label ?kind . ?w rdfs:label ?title . FILTER(?t IN (lom:Person, lom:Institution)) FILTER(?drawings >= 3) } GROUP BY ?actor ?kind ?drawings ORDER BY DESC(?drawings)

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