Question: Which person under 1.8 meters tall lends their voice to Puss in Boots, released in Mexico?
Choices:
Max Fleischer
Kareena Kapoor
William Henry Harrison
Anna Faris
Sylvester Stallone
Christina Aguilera
Tara Strong
Salma Hayek
Zach Galifianakis
Antonio Banderas
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: height
1.8 metre
<
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Mexico
function: Relate
dependencies: 3
inputs: film release region
backward
function: Find
inputs: Puss in Boots
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: voice actor
forward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <height> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "1.8"^^xsd:double ) . ?e_1 <voice_actor> ?e . ?e_1 <pred:name> "Puss in Boots" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "Mexico" .  }
Answer: Salma Hayek