Question: What is the title of Luis Miguel, originating in Mexico?
Choices:
Treasure Planet
Licence to Kill
Blade II
Luis Miguel
La Belle et la Bête
Heat
Cold Mountain
The Young Victoria
Angels & Demons
臥虎藏龍
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Luis Miguel
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Luis Miguel" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Mexico" .  ?e <title> ?pv .  }
Answer: Luis Miguel