Question: In how many cities was published Hamlet in 1891?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e_1 <place_of_publication> ?e . ?e_1 <pred:name> "Hamlet" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1891 .   }
Program:
function: Find
inputs: Hamlet
function: FilterYear
dependencies: 0
inputs: publication date
1891
=
function: Relate
dependencies: 1
inputs: place of publication
forward
function: FilterConcept
dependencies: 2
inputs: big city
function: Count
dependencies: 3
Answer: 1