Question: What is the diplomatic relation between Serbia and Egypt (the one whose licence plate code is ET) about?
Choices:
Argentina–Germany relations
Democratic Republic of the Congo–Sudan border
France–Poland relations
Cuba–Indonesia relations
Denmark–Lithuania relations
Paraguay–South Korea relations
India–Rwanda relations
Saudi Arabia–Taiwan relations
Egypt–Serbia relations
Greece–Taiwan relations
Program:
function: Find
inputs: Serbia
function: Find
inputs: Egypt
function: FilterStr
dependencies: 1
inputs: licence plate code
ET
function: QueryRelationQualifier
dependencies: 0
2
inputs: diplomatic relation
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Serbia" . ?e_2 <pred:name> "Egypt" . ?e_2 <licence_plate_code> ?pv . ?pv <pred:value> "ET" . ?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: Egypt–Serbia relations