Question: How is Concord, established in 1869, related to Walnut Creek?
Choices:
takes place in fictional universe
honorific prefix
military branch
medical condition
member of sports team
shares border with
parent organization
lyrics by
indigenous to
capital of
Program:
function: Find
inputs: Concord
function: FilterYear
dependencies: 0
inputs: inception
1869
=
function: Find
inputs: Walnut Creek
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Concord" . ?e_1 <inception> ?pv . ?pv <pred:year> 1869 . ?e_2 <pred:name> "Walnut Creek" . ?e_1 ?p ?e_2 .  }
Answer: shares border with