Question: How is The Scarlet Letter (which was created in the United Kingdom), related to the drama film category?
Choices:
after a work by
has cause
sexual orientation
voice type
vehicle normally used
sport
replaces
movement
genre
public holiday
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Scarlet Letter" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Scarlet Letter
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4