Question: Utrecht, which has an ISNI of 0000 0004 0508 3482, has a common border with South Holland, which is relative to which location?
Choices:
south-southeast
northwest
north
west-northwest
southwest
northeast
west
south
south-southwest
southeast
Answer: northeast
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "South Holland" . ?e_2 <pred:name> "Utrecht" . ?e_2 <ISNI> ?pv . ?pv <pred:value> "0000 0004 0508 3482" . ?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: South Holland
function: Find
inputs: Utrecht
function: FilterStr
dependencies: 1
inputs: ISNI
0000 0004 0508 3482
function: QueryRelationQualifier
dependencies: 0
2
inputs: shares border with
direction relative to location