Question: What is the connection between Alexandria (the one whose population is 227064) to Egypt (the one whose nominal GDP is 14849909490.6004 United States dollar)?
Choices:
licensed to broadcast to
takes place in fictional universe
place of death
signatory
instrumentation
culture
country
narrator
home port
doctoral student
Program:
function: Find
inputs: Alexandria
function: FilterNum
dependencies: 0
inputs: population
227064
=
function: Find
inputs: Egypt
function: FilterNum
dependencies: 2
inputs: nominal GDP
14849909490.6004 United States dollar
=
function: QueryRelation
dependencies: 1
3
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alexandria" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "227064"^^xsd:double . ?e_2 <pred:name> "Egypt" . ?e_2 <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "14849909490.6004"^^xsd:double . ?e_1 ?p ?e_2 .  }
Answer: country