Question: How is Salma Hayek related to Luis Miguel, her partner?
Choices:
followed by
symptoms
is a list of
partner
original language of film or TV show
game mode
kit supplier
public holiday
twinned administrative body
replaces
Answer: partner
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Salma Hayek" . ?e_2 <pred:name> "Luis Miguel" . ?e_3 <partner> ?e_2 . ?e_3 <pred:name> "Salma Hayek" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Salma Hayek
function: Find
inputs: Salma Hayek
function: Relate
dependencies: 1
inputs: partner
forward
function: Find
inputs: Luis Miguel
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4