Question: What is the connection between Kingdom of Greece to Athens (the one whose postal code is 10xxx, 11xxx, 120xx)?
Choices:
sponsor
kit supplier
capital
diplomatic relation
has quality
approved by
narrative location
item operated
manner of death
published in
Answer: capital
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kingdom of Greece" . ?e_2 <pred:name> "Athens" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "10xxx, 11xxx, 120xx" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kingdom of Greece
function: Find
inputs: Athens
function: FilterStr
dependencies: 1
inputs: postal code
10xxx, 11xxx, 120xx
function: QueryRelation
dependencies: 0
2