Question: Pennsylvania shares which of its borders with Maryland [area 12407 square miles]?
Choices:
Moldova–Russia relations
Llanito
Denmark–Germany border
Iraq–Russia relations
Germany–United Arab Emirates relations
France–Thailand relations
Maryland–Pennsylvania border
Serbia–Syria relations
Australia–East Timor relations
Chile–Israel relations
Program:
function: Find
inputs: Pennsylvania
function: Find
inputs: Maryland
function: FilterNum
dependencies: 1
inputs: area
12407 square mile
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: shares border with
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Pennsylvania" . ?e_2 <pred:name> "Maryland" . ?e_2 <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> "12407"^^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 .  }
Answer: Maryland–Pennsylvania border