Question: Which sovereign state has diplomatic relations with Saudi Arabia (in the subject of Holy See–Saudi Arabia relations) and has the demonym de Ciudá del Vaticanu?
Choices:
People's Republic of China
Cambodia
Benin
Samoa
Vatican City
Socialist Federal Republic of Yugoslavia
Weimar Republic
South Sudan
Kiribati
Switzerland
Answer: Vatican City
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Saudi Arabia" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Holy See–Saudi Arabia relations" . ?e <demonym> ?pv . ?pv <pred:value> "de Ciudá del Vaticanu" .  }
Program:
function: Find
inputs: Saudi Arabia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Holy See–Saudi Arabia relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: FindAll
function: FilterStr
dependencies: 4
inputs: demonym
de Ciudá del Vaticanu
function: FilterConcept
dependencies: 5
inputs: sovereign state
function: And
dependencies: 3
6
function: What
dependencies: 7