Question: What is the subject of Egypt (whose nominal GDP is 6109112149.53271 United States dollars) having a diplomatic relation with Russia?
Choices: Democratic Republic of the Congo–Russia relations
Barbados–Japan relations
Montenegro–Taiwan relations
European Union–Ukraine border
Australia–Kenya relations
East Timor–Indonesia border
Russia–San Marino relations
death and funeral of Margaret Thatcher
Egypt–Russia relations
Albania–Ukraine relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Egypt" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "6109112149.53271"^^xsd:double . ?e_2 <pred:name> "Russia" . ?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 .  }
Program:
function: Find
inputs: Egypt
function: FilterNum
dependencies: 0
inputs: nominal GDP
6109112149.53271 United States dollar
=
function: Find
inputs: Russia
function: QueryRelationQualifier
dependencies: 1
2
inputs: diplomatic relation
statement is subject of
Answer: Egypt–Russia relations