Question: How many counties of Indiana are there with the capital of Anderson which has local dialing code 765?
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> "county of Indiana" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Anderson" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "765" .   }
Program:
function: Find
inputs: Anderson
function: FilterStr
dependencies: 0
inputs: local dialing code
765
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: county of Indiana
function: Count
dependencies: 3
Answer: 1