Question: What ethnic group's religion is the belief system whose population is not 79000?
Choices:
Irish migration to Great Britain
Russians
German Americans
Iroquois
Italians
Indian American
English people
Punjabi people
Malayali
Austrians
Answer: Malayali
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ethnic group" . ?e <religion> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "belief system" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "79000"^^xsd:double ) .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
79000
!=
function: FilterConcept
dependencies: 1
inputs: belief system
function: Relate
dependencies: 2
inputs: religion
backward
function: FilterConcept
dependencies: 3
inputs: ethnic group
function: What
dependencies: 4