Question: What is the topic of the statement that Pakistan has a diplomatic relationship with Morocco whose citizens are the Marocchino people?
Choices:
Canada–Poland relations
Greece–Israel relations
Central African Republic–Chad border
Bangladesh–Fiji relations
Morocco–Pakistan relations
Sweden–Ukraine relations
Brazil–Guyana border
France–Serbia relations
Sri Lanka–Switzerland relations
Australia–Finland relations
Program:
function: Find
inputs: Pakistan
function: Find
inputs: Morocco
function: FilterStr
dependencies: 1
inputs: demonym
marocchino
function: QueryRelationQualifier
dependencies: 0
2
inputs: diplomatic relation
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Pakistan" . ?e_2 <pred:name> "Morocco" . ?e_2 <demonym> ?pv . ?pv <pred:value> "marocchino" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Answer: Morocco–Pakistan relations