Question: Which unitary state of the Finland–Norway border shares a border with Norway?
Choices:
Greece
Lithuania
Kosovo
Finland
Cuba
Bulgaria
Luxembourg
Fiji
Kazakhstan
Tajikistan
Program:
function: Find
inputs: Norway
function: Relate
dependencies: 0
inputs: shares border with
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Finland–Norway border
function: FilterConcept
dependencies: 2
inputs: unitary state
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Norway" .  [ <pred:fact_h> ?e ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Finland–Norway border" .  }
Answer: Finland