Question: In which country is Gujarat, with 25,745,083 urban dwellers and bordering with Sindh?
Choices:
Uruguay
Thailand
Sint Maarten
Albania
Pakistan
Turkey
Venezuela
German Democratic Republic
Ireland
Spain
Answer: Pakistan
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Gujarat" . ?e_1 <urban_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "25745083"^^xsd:double . ?e_2 <pred:name> "Sindh" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Gujarat
function: FilterNum
dependencies: 0
inputs: urban population
25745083
=
function: Find
inputs: Sindh
function: QueryRelationQualifier
dependencies: 1
2
inputs: shares border with
country