Question: What is the connection between Alfie (that has Sienna Miller as a cast member) and drama film?
Choices: genre
main food source
illustrator
father
original network
mouth of the watercourse
foundational text
copyright representative
properties for this type
basic form of government
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alfie" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sienna Miller" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sienna Miller
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alfie
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4
Answer: genre