Question: How many politicians are the head of the government of the city of the United State where the official website is http://ci.carmel.ca.us?
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> "politician" . ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://ci.carmel.ca.us" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://ci.carmel.ca.us
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Relate
dependencies: 2
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 3
inputs: politician
function: Count
dependencies: 4