Question: What is the connection between The Stand (the one whose narrative location is Boulder) to Stephen King (the one that has the occupation of actor)?
Choices:
quotes work
time period
practiced by
founded by
natural product of taxon
participant of
interests
film editor
author
creator
Program:
function: Find
inputs: Boulder
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Stand
function: And
dependencies: 1
2
function: Find
inputs: actor
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Stephen King
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Stand" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Boulder" . ?e_2 <pred:name> "Stephen King" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: author