Question: Which border does the USA have in common with the Bahamas, where the nominal GDP is 8870090000 USD?
Choices: Latvia–Poland relations
Guyana–Suriname border
Bahamas–United States border
Egypt–Morocco relations
Brazil–Canada relations
84th Academy Awards
France–United Arab Emirates relations
Egypt–Iraq relations
Kosovo–United Kingdom relations
European Union–Slovenia border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "United States of America" . ?e_2 <pred:name> "Bahamas" . ?e_2 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "8870090000"^^xsd:double . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: United States of America
function: Find
inputs: Bahamas
function: FilterNum
dependencies: 1
inputs: nominal GDP
8870090000 United States dollar
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: shares border with
statement is subject of
Answer: Bahamas–United States border