Question: How is Peter Capaldi related to actor?
Choices:
ancestral home
exported to
designated as terrorist by
field of this occupation
terminus
sibling
candidacy in election
composer
position played on team / speciality
occupation
Program:
function: Find
inputs: Peter Capaldi
function: Find
inputs: actor
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Capaldi" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: occupation