Question: Flight, directed by Frank Capra, is related in what way to drama film?
Choices:
has dialect (DEPRECATED)
member of sports team
partner
genre
languages spoken, written or signed
organisation directed from the office or person
country of origin
shares border with
operating system
exported to
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Flight" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Frank Capra" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Frank Capra
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Flight
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4