Question: Which directional border does Prince George's County have in common with Washington, D.C.?
Choices:
south-southwest
west
north-northwest
south
southeast
east
west-northwest
north
southwest
northeast
Answer: west
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Prince George's County" . ?e_2 <pred:name> "Washington, D.C." . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv .  }
Program:
function: Find
inputs: Prince George's County
function: Find
inputs: Washington, D.C.
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
direction relative to location