Question: How is Tom Hanks related to the profession of actor?
Choices:
inspired by
office held by head of state
home world
board member
discoverer or inventor
killed by
eye color
season starts
occupation
film editor
Program:
function: Find
inputs: Tom Hanks
function: Find
inputs: actor
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Hanks" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: occupation