Question: What is the postal code of the University of Kentucky's headquarter location Lexington (the one that contains University of Kentucky) ?
Choices:
8011
N1C 4AA﻿﻿
96801–96850
10027-6598
17401
CT2
94575
VLT
40506
28195
Answer: 40506
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Kentucky" . ?e_2 <pred:name> "Lexington" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "University of Kentucky" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }
Program:
function: Find
inputs: University of Kentucky
function: Find
inputs: University of Kentucky
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Lexington
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code