Question: How many capitals does the sovereign state with maritime identification digits 466 have?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <maritime_identification_digits> ?pv . ?pv <pred:value> "466" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: maritime identification digits
466
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: part of
backward
function: FilterConcept
dependencies: 3
inputs: capital
function: Count
dependencies: 4