Question: What association does Warwickshire have to Warwick (United Kingdom)?
Choices:
approved by
stated in
head of government
capital
rector
patron saint
given name
characters
professorship
military rank
Program:
function: Find
inputs: Warwickshire
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Warwick
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Warwickshire" . ?e_2 <pred:name> "Warwick" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: capital