Question: Tell me the relation between Geena Davis and Davis (the one that is the family name of Q-Tip)
Choices:
editor
screenwriter
narrative role
place of publication
military conflicts
vehicle normally used
derivative work
religion
publisher
family name
Answer: family name
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Geena Davis" . ?e_2 <pred:name> "Davis" . ?e_3 <family_name> ?e_2 . ?e_3 <pred:name> "Q-Tip" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Geena Davis
function: Find
inputs: Q-Tip
function: Relate
dependencies: 1
inputs: family name
forward
function: Find
inputs: Davis
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4