Question: How is Brisbane located in San Mateo County related to Oakland?
Choices: shares border with
theme music
replaces
family name
art director
allegiance
film distribute region
item operated
political alignment
business division
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brisbane" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "San Mateo County" . ?e_2 <pred:name> "Oakland" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: San Mateo County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Brisbane
function: And
dependencies: 1
2
function: Find
inputs: Oakland
function: QueryRelation
dependencies: 3
4
Answer: shares border with