Question: Tell me the ethnic group that has a population over 120000 and that has Michelle Rodriguez as an ethnic group.
Choices:
Indian American
Cherokee
Ashkenazi Jews
Puerto Ricans
Irish migration to Great Britain
Russians
Koreans
Italians
Hungarians
French people
Answer: Puerto Ricans
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ethnic group" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "120000"^^xsd:double ) . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> "Michelle Rodriguez" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
120000
>
function: FilterConcept
dependencies: 1
inputs: ethnic group
function: Find
inputs: Michelle Rodriguez
function: Relate
dependencies: 3
inputs: ethnic group
forward
function: FilterConcept
dependencies: 4
inputs: ethnic group
function: And
dependencies: 2
5
function: What
dependencies: 6