Question: Mexican citizen Carlos Santana has what connection to the 2004 Latin Grammy Awards?
Choices:
soundtrack album
office contested
has parts of the class
located in or next to body of water
airline hub
noble title
chairperson
award received
production company
instrumentation
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Carlos Santana
function: And
dependencies: 1
2
function: Find
inputs: Latin Grammy Awards of 2004
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carlos Santana" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Mexico" . ?e_2 <pred:name> "Latin Grammy Awards of 2004" . ?e_1 ?p ?e_2 .  }
Answer: award received