Question: The city with an 1870 population of 19,000 contains how many research universities?
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> "research university" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "19000"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1870 .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
19000
=
function: QFilterYear
dependencies: 1
inputs: point in time
1870
=
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: research university
function: Count
dependencies: 5
Answer: 0