Question: What is the connection between American Beauty (the one whose director of photography is George J. Folsey) to silent film?
Choices:
distribution
professorship
medical treatment
office contested
copyright representative
genre
designated as terrorist by
replaced by
board member
stated in
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "American Beauty" . ?e_1 <director_of_photography> ?e_3 . ?e_3 <pred:name> "George J. Folsey" . ?e_2 <pred:name> "silent film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: George J. Folsey
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: American Beauty
function: And
dependencies: 1
2
function: Find
inputs: silent film
function: QueryRelation
dependencies: 3
4