Question: How is Carson City that borders Washoe County related to the USA?
Choices:
interested in
ancestral home
country
family
set in period
affiliation
official language
office held by head of state
published in
religious order
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carson City" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Washoe County" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Washoe County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Carson City
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4