how many religious leaders are slovak?
Value
1
class entity
religion.religious_leader m.01n94b
religion.religious_leader people.ethnicity
Religious Leader slovak
count none
people.person.ethnicity
Ethnicity
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :religion.religious_leader . 
VALUES ?x1 { :m.01n94b } 
?x0 :people.person.ethnicity ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND religion.religious_leader (JOIN people.person.ethnicity m.01n94b)))