Question: What is the connection between Newport (that is located in the time zone Greenwich Mean Time) and Annapolis (whose establishment date is in 1649)?
Choices:
product or material produced
significant event
medical treatment
designed to carry
has quality
twinned administrative body
professorship
software engine
record label
has edition
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Newport" . ?e_1 <located_in_time_zone> ?e_3 . ?e_3 <pred:name> "Greenwich Mean Time" . ?e_2 <pred:name> "Annapolis" . ?e_2 <inception> ?pv . ?pv <pred:year> 1649 . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Greenwich Mean Time
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Newport
function: And
dependencies: 1
2
function: Find
inputs: Annapolis
function: FilterYear
dependencies: 4
inputs: inception
1649
=
function: QueryRelation
dependencies: 3
5