Question: For the person who works in The Hague (the start time of this statement is 1866-01-01) location, how many big cities are his/her working location?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: The Hague
function: Relate
dependencies: 0
inputs: work location
backward
function: QFilterDate
dependencies: 1
inputs: start time
1866-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: work location
forward
function: FilterConcept
dependencies: 4
inputs: big city
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e_1 <work_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <work_location> ?e_2 . ?e_2 <pred:name> "The Hague" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <work_location> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv . ?qpv <pred:date> "1866-01-01"^^xsd:date .   }
Answer: 1