reteplayground
Style

šŸ’ƒ Hand connection by skill level

SkillSegmentsHand-contact frac.+1
Beginner @en11320.915…
Intermediate @en12710.724…
Professional @en3970.586…
Run this query → no server Ā· no download Ā· no account
caviri.github.io/rete
Run this query in the playground → 3 rows Ā· 24 ms Ā· no server, no download — the query runs in your browser.

The query

PREFIX dance: <https://w3id.org/rete/dance#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?skill (COUNT(?seg) AS ?segments) (ROUND(AVG(?hcf)*1000)/1000 AS ?handContact) (ROUND(AVG(?sep)*100)/100 AS ?separation_m) WHERE { ?perf dance:hasSegment ?seg ; dance:hasLeader ?l . ?l dance:hasSkillLevel ?sl . ?sl rdfs:label ?skill . ?seg dance:handContactFraction ?hcf ; dance:meanCoupleSeparation ?sep . } GROUP BY ?skill ORDER BY DESC(?handContact)

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