Question: What does Bob Geldof have to do with actor?
Choices:
professional or sports partner
performer
culture
fabrication method
diplomatic relation
occupation
newspaper format
head of government
chairperson
costume designer
Program:
function: Find
inputs: Bob Geldof
function: Find
inputs: actor
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bob Geldof" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: occupation