SELECT ?instance (COUNT(?z) AS ?zones) WHERE { ?m a mtgg:ZoneMembership ; mtgg:inState <https://w3id.o… } GROUP BY ?instance HAVING (COUNT(?z) != 1)
rete playground · documentation · github.com/caviri/rete