Question: How many college towns are the twinned administrative body of Algiers (the one whose population is 2086212)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college town" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Algiers" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2086212"^^xsd:double .   }
Program:
function: Find
inputs: Algiers
function: FilterNum
dependencies: 0
inputs: population
2086212
=
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 2
inputs: college town
function: Count
dependencies: 3