Question: What is the title of The Scarlet Letter that originates in the United Kingdom?
Choices:
Shakespeare in Love
Жизнь прекрасна
Seven Psychopaths
The Scarlet Letter
The Real World
Invictus
Black Robe
The Squid and the Whale
Barcelona
The Flintstones in Viva Rock Vegas
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: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Scarlet Letter" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <title> ?pv .  }
Answer: The Scarlet Letter