reteplayground
Summary

What's in this dance graph

MetricValue
dancers18
pairs9
performances72
move segments2920
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 4 rows · 10 ms · no server, no download — the query runs in your browser.

The query

PREFIX dance: <https://w3id.org/rete/dance#> SELECT ?metric ?n WHERE { { SELECT ("dancers" AS ?metric) (COUNT(?d) AS ?n) WHERE { ?d a dance:Dancer } } UNION { SELECT ("pairs" AS ?metric) (COUNT(?p) AS ?n) WHERE { ?p a dance:Pair } } UNION { SELECT ("performances" AS ?metric) (COUNT(?pf) AS ?n) WHERE { ?pf a dance:Performance } } UNION { SELECT ("move segments" AS ?metric) (COUNT(?s) AS ?n) WHERE { ?x dance:hasSegment ?s } } }

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