Question: What is the relationship between The Hunchback of Notre Dame (the one that is designed by Van Nest Polglase) and drama film?
Choices:
genre
contains administrative territorial entity
airline alliance
risk factor
art director
record label
make-up artist
officeholder
headquarters location
newspaper format
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Hunchback of Notre Dame" . ?e_1 <production_designer> ?e_3 . ?e_3 <pred:name> "Van Nest Polglase" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Van Nest Polglase
function: Relate
dependencies: 0
inputs: production designer
backward
function: Find
inputs: The Hunchback of Notre Dame
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4