Question: Tell me the relationship between comedian and John Candy
Choices:
has immediate cause
place of origin (Switzerland)
facet of
hair color
vehicle normally used
drafted by
country
item operated
occupation
basic form of government
Program:
function: Find
inputs: John Candy
function: Find
inputs: comedian
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Candy" . ?e_2 <pred:name> "comedian" . ?e_1 ?p ?e_2 .  }
Answer: occupation