Question: How is Tombstone related to Wyatt Earp the sheriff?
Choices: professorship
characters
location of final assembly
approved by
member of
culture
mountain range
convicted of
signatory
narrative role
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tombstone" . ?e_2 <pred:name> "Wyatt Earp" . ?e_2 <field_of_work> ?e_3 . ?e_3 <pred:name> "sheriff" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tombstone
function: Find
inputs: sheriff
function: Relate
dependencies: 1
inputs: field of work
backward
function: Find
inputs: Wyatt Earp
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: characters