Question: What is the connection between Richmond (the one that shares border with Henrico County) to Confederate States of America?
Choices:
capital of
source of income
employer
located in the administrative territorial entity
approved by
family name
general manager
published in
airline alliance
culture
Answer: capital of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richmond" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Henrico County" . ?e_2 <pred:name> "Confederate States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Henrico County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Richmond
function: And
dependencies: 1
2
function: Find
inputs: Confederate States of America
function: QueryRelation
dependencies: 3
4