Question: Dirty Dancing, filmed in North Carolina, is related in what way to the genre of drama film?
Choices:
child astronomical body
designated as terrorist by
religion
license
genre
captain
health specialty
season starts
mother
occupation
Program:
function: Find
inputs: North Carolina
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Dirty Dancing
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dirty Dancing" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "North Carolina" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Answer: genre