Question: If we are talking about a sovereign state, Iceland, that has a diplomatic relation with Canada, to which part of it does its demonym of islandezi apply ?
Choices:
Cheatham County
Jackson County
France
Republic of Crimea
2nd arrondissement of Paris
Hardeman County
plural
Eastern Japan
Congress Poland
graduate student
Answer: plural
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Canada" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Canada–Iceland relations" . ?e <demonym> ?pv . ?pv <pred:value> "islandezi" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Canada–Iceland relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
islandezi
applies to part