Question: What is the link between Surrey (whose official website is http://www.surreycc.gov.uk/) and Kingston upon Thames?
Choices:
doctoral advisor
instrumentation
religious order
candidate
designed to carry
headquarters location
geographic distribution
has part
patron saint
series spin-off
Program:
function: Find
inputs: Surrey
function: FilterStr
dependencies: 0
inputs: official website
http://www.surreycc.gov.uk/
function: Find
inputs: Kingston upon Thames
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Surrey" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.surreycc.gov.uk/" . ?e_2 <pred:name> "Kingston upon Thames" . ?e_1 ?p ?e_2 .  }
Answer: headquarters location