Question: How is Portland, located in Pacific Time Zone, related to Portland with 207 as the local dialing code ?
Choices:
manufacturer
filmography
contains administrative territorial entity
contains settlement
appears in the form of
writing system
foundational text
language used
named after
field of this occupation
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Portland" . ?e_1 <located_in_time_zone> ?e_3 . ?e_3 <pred:name> "Pacific Time Zone" . ?e_2 <pred:name> "Portland" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> "207" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Pacific Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Portland
function: And
dependencies: 1
2
function: Find
inputs: Portland
function: FilterStr
dependencies: 4
inputs: local dialing code
207
function: QueryRelation
dependencies: 3
5