Question: What relationship exists between Cheyenne, with a postal code of 82001-82010, and Wyoming, which has an inception time of 1890-07-10?
Choices:
family name
place of burial
soundtrack album
successful candidate
start point
award received
office held by head of the organisation
medical treatment
capital
general manager
Answer: capital
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wyoming" . ?e_1 <inception> ?pv . ?pv <pred:date> "1890-07-10"^^xsd:date . ?e_2 <pred:name> "Cheyenne" . ?e_2 <postal_code> ?pv_1 . ?pv_1 <pred:value> "82001–82010" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Wyoming
function: FilterDate
dependencies: 0
inputs: inception
1890-07-10
=
function: Find
inputs: Cheyenne
function: FilterStr
dependencies: 2
inputs: postal code
82001–82010
function: QueryRelation
dependencies: 1
3