Question: What is the connection between When in Rome (whose genre is drama film) and William H. Daniels?
Choices:
has edition
time period
afflicts
symptom of
rector
stated in
from fictional universe
director of photography
continent
language of work or name
Answer: director of photography
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "When in Rome" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "drama film" . ?e_2 <pred:name> "William H. Daniels" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: When in Rome
function: And
dependencies: 1
2
function: Find
inputs: William H. Daniels
function: QueryRelation
dependencies: 3
4