Question: What is the title of the publication based in Vienna (Habsburg Monarchy)?
Choices:
Edward Scissorhands
Shanghai
The Ladykillers
Independence Day
Arrested Development
寒戰
Ninotchka
The Dark Knight
Hamlet
Atlantic City, USA
Program:
function: Find
inputs: Habsburg Monarchy
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Vienna
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of publication
backward
function: FilterConcept
dependencies: 4
inputs: version, edition, or translation
function: QueryAttr
dependencies: 5
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "version, edition, or translation" . ?e <place_of_publication> ?e_1 . ?e_1 <pred:name> "Vienna" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "Habsburg Monarchy" .  ?e <title> ?pv .  }
Answer: Hamlet