Question: Annapolis, composed by Brian Tyler, has what connection to James Franco?
Choices:
start point
doctoral student
member of sports team
had as last meal
registered with
theme music
cast member
next higher rank
history of topic
soundtrack album
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Annapolis" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Brian Tyler" . ?e_2 <pred:name> "James Franco" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Brian Tyler
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Annapolis
function: And
dependencies: 1
2
function: Find
inputs: James Franco
function: QueryRelation
dependencies: 3
4