Question: What is the relation between the 1984 Summer Olympics participant Carlos Santana to the 1984 Summer Olympics
Choices: head of government
donated by
subject has role
office held by head of the organisation
participant of
instrument
product or material produced
source of material
said to be the same as
executive producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carlos Santana" . ?e_1 <participant_of> ?e_3 . ?e_3 <pred:name> "1984 Summer Olympics" . ?e_2 <pred:name> "1984 Summer Olympics" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 1984 Summer Olympics
function: Relate
dependencies: 0
inputs: participant of
backward
function: Find
inputs: Carlos Santana
function: And
dependencies: 1
2
function: Find
inputs: 1984 Summer Olympics
function: QueryRelation
dependencies: 3
4
Answer: participant of