Question: How many market towns are therecoming from a sovereign state that has a diplimatic relation with Saint Kitts and Nevis  (the subject of this statement is High Commission of Saint Kitts and Nevis, London) ?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e_2 . ?e_2 <pred:name> "Saint Kitts and Nevis" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "High Commission of Saint Kitts and Nevis, London" .   }
Program:
function: Find
inputs: Saint Kitts and Nevis
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
High Commission of Saint Kitts and Nevis, London
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: market town
function: Count
dependencies: 5
Answer: 6