Question: What is the link between Elizabeth that is located in the Eastern Time Zone) and Newark?
Choices:
donated by
country of origin
penalty
original film format
industry
presenter
does not have part
exclave of
shares border with
chief executive officer
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Elizabeth" . ?e_1 <located_in_time_zone> ?e_3 . ?e_3 <pred:name> "Eastern Time Zone" . ?e_2 <pred:name> "Newark" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Elizabeth
function: And
dependencies: 1
2
function: Find
inputs: Newark
function: QueryRelation
dependencies: 3
4