Question: Which printed work is published in Chester in the UK?
Choices:
Poughkeepsie
Brantford
California Institute of the Arts
Leslie Bricusse
Ray Romano
Sioux City
Justin Long
Madison County
Batman
Bangor
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Chester
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of publication
backward
function: FilterConcept
dependencies: 4
inputs: print
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "print" . ?e <place_of_publication> ?e_1 . ?e_1 <pred:name> "Chester" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "United Kingdom" .   }
Answer: Bangor