Question: Tell me the title for Frankenstein (which originates in the UK)
Choices:
The Departed
The Station Agent
Mighty Morphin Power Rangers
The Cat in the Hat
Midnight Cowboy
American Idol
Captain America: The First Avenger
The Civil War
From the Earth to the Moon
Frankenstein
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Frankenstein
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Frankenstein" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <title> ?pv .  }
Answer: Frankenstein