Question: What number of law schools are headquartered in Coronado (the one whose population is 24697)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "law school" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Coronado" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "24697"^^xsd:double .   }
Program:
function: Find
inputs: Coronado
function: FilterNum
dependencies: 0
inputs: population
24697
=
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: law school
function: Count
dependencies: 3