Question: How is The Patriot that origins from France related to drama film?
Choices:
office held by head of state
creator
time period
religious order
health specialty
location
separated from
instrumentation
partially contains
genre
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Patriot
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Patriot" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Answer: genre