Question: What is the connection between Julius Caesar (the one whose genre is war film) to Robert Vaughn?
Choices:
published in
cast member
commander of
genre
used by
designed to carry
cites
appointed by
filmography
office held by head of government
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Julius Caesar" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "war film" . ?e_2 <pred:name> "Robert Vaughn" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: war film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Julius Caesar
function: And
dependencies: 1
2
function: Find
inputs: Robert Vaughn
function: QueryRelation
dependencies: 3
4