Question: How is Guildford whose population is 146100 related to Surrey whose GSS code (2011) is E10000030?
Choices:
tributary
applies to jurisdiction
position played on team / speciality
candidacy in election
opposite of
participant
located in the administrative territorial entity
chairperson
record label
time period
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Guildford" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "146100"^^xsd:double . ?e_2 <pred:name> "Surrey" . ?e_2 <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E10000030" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Guildford
function: FilterNum
dependencies: 0
inputs: population
146100
=
function: Find
inputs: Surrey
function: FilterStr
dependencies: 2
inputs: GSS code (2011)
E10000030
function: QueryRelation
dependencies: 1
3