Question: Of democracies where Inside Deep Throat was distributed, which has the highest median income level?
Choices:
Namibia
France
Mozambique
Italy
Germany
Zimbabwe
Bolivia
Sierra Leone
Malawi
Tunisia
Program:
function: Find
inputs: Inside Deep Throat
function: Relate
dependencies: 0
inputs: film distribute region
forward
function: FilterConcept
dependencies: 1
inputs: democracy
function: SelectAmong
dependencies: 2
inputs: median income
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e_1 <film_distribute_region> ?e . ?e_1 <pred:name> "Inside Deep Throat" .  ?e <median_income> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Germany