SELECT?instance (COUNT(?z) AS?zones) WHERE {
?m a mtgg:ZoneMembership ; mtgg:inState <https://w3id.o…
} GROUP BY?instance HAVING (COUNT(?z) != 1)
Run this query →no server · no download · no account
caviri.github.io/rete
Run this query in the playground →0 rows · 17.7 s · 149.7 KB of 53.5 KB read over HTTP range · no server, no download — the query runs in your browser.
The query
PREFIX mtgg: <https://w3id.org/rete/mtg/game#>
SELECT ?instance (COUNT(?z) AS ?zones) WHERE {
?m a mtgg:ZoneMembership ; mtgg:inState <https://w3id.org/rete/mtg/game/s1> ; mtgg:object ?instance ; mtgg:zone ?z .
} GROUP BY ?instance HAVING (COUNT(?z) != 1)