Question: How many ethnic groups use the Polish language and are the religion of Gregg Allman?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ethnic group" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> "Polish" .  ?e_2 <religion> ?e . ?e_2 <pred:name> "Gregg Allman" .  }
Program:
function: Find
inputs: Polish
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: FilterConcept
dependencies: 1
inputs: ethnic group
function: Find
inputs: Gregg Allman
function: Relate
dependencies: 3
inputs: religion
forward
function: FilterConcept
dependencies: 4
inputs: ethnic group
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0