Question: How many provinces in China have the ISO 3166-2 code of CN-AH and the capital of Wuhan?
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> "province of China" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "CN-AH" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Wuhan" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
CN-AH
function: FilterConcept
dependencies: 1
inputs: province of China
function: Find
inputs: Wuhan
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: province of China
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0