Question: The demonym عمانية applies to which part of the sovereign state that has a diplomatic relation with Pakistan (the subject of this statement is Oman–Pakistan relations)?
Choices: Ceuta
header file
feminine
lowest point
Grainger County
health care
Alt-Berlin
fictional character
head
Sinai Peninsula
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Pakistan" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Oman–Pakistan relations" . ?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: Pakistan
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Oman–Pakistan relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
عمانية
applies to part
Answer: feminine