Question: How is Victoria, the home of Ballarat, related to South Australia?
Choices: lyrics by
said to be the same as
narrative location
taxon rank
shares border with
published in
studies
replaces
source of income
general manager
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Victoria" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Ballarat" . ?e_2 <pred:name> "South Australia" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ballarat
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Victoria
function: And
dependencies: 1
2
function: Find
inputs: South Australia
function: QueryRelation
dependencies: 3
4
Answer: shares border with