Question: For West Java is located in or next to Indian Ocean, it is relative to which location?
Choices:
north
west-northwest
northwest
southeast
northeast
consolidated city-county
north-northwest
southwest
south
south-southeast
Answer: south
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "West Java" . ?e_2 <pred:name> "Indian Ocean" . ?e_1 <located_in_or_next_to_body_of_water> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_or_next_to_body_of_water> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv .  }
Program:
function: Find
inputs: West Java
function: Find
inputs: Indian Ocean
function: QueryRelationQualifier
dependencies: 0
1
inputs: located in or next to body of water
direction relative to location