Question: How is Latin pop's Luis Miguel related to the profession record producer?
Choices:
sponsor
occupation
legislative body
signatory
participant
collection
ethnic group
language used
grants
given name
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Luis Miguel" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "Latin pop" . ?e_2 <pred:name> "record producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Latin pop
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Luis Miguel
function: And
dependencies: 1
2
function: Find
inputs: record producer
function: QueryRelation
dependencies: 3
4