Question: How is Abraham Lincoln (produced by United Artists) related to drama film?
Choices:
is a list of
set in period
honorific suffix
substitute/deputy/replacement of office/officeholder
genre
destination point
draft pick from school
officially opened by
distributor
voice actor
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Abraham Lincoln" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "United Artists" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Artists
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Abraham Lincoln
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4