Question: What is the connection between Riverside County to Orange County (the one that has the capital Santa Ana)?
Choices: basic form of government
depicts
lifestyle
indigenous to
military conflicts
board member
shares border with
professional or sports partner
has parts of the class
applies to jurisdiction
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Riverside County" . ?e_2 <pred:name> "Orange County" . ?e_3 <capital_of> ?e_2 . ?e_3 <pred:name> "Santa Ana" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Riverside County
function: Find
inputs: Santa Ana
function: Relate
dependencies: 1
inputs: capital of
forward
function: Find
inputs: Orange County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: shares border with