Question: What sovereign state shares the Dominica–Venezuela border with Venezuela?
Choices: Venezuela
Kingdom of the Netherlands
Weimar Republic
Kiribati
Dominica
Switzerland
Guyana
Cambodia
Russian Soviet Federative Socialist Republic
Saint Lucia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Venezuela" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Dominica–Venezuela border" .  }
Program:
function: Find
inputs: Venezuela
function: Relate
dependencies: 0
inputs: shares border with
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Dominica–Venezuela border
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: What
dependencies: 3
Answer: Dominica