Question: To which part of the form of government that shares a border with Sweden (in the subject of Latvia–Sweden border) does the demonym לטבית apply?
Choices: Jizan Region
feminine
Lewis County
Mayotte
European Netherlands
Vanderburgh County
Non-EU/EEA Citizen
cremation
radio network
list of countries where Russian is an official language
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "form of government" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Sweden" . [ <pred:fact_h> ?e ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Latvia–Sweden border" . ?e <demonym> ?pv . ?pv <pred:value> "לטבית" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: shares border with
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Latvia–Sweden border
function: FilterConcept
dependencies: 2
inputs: form of government
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
לטבית
applies to part
Answer: feminine