Question: What is the connection between St. Clair County (the one that shares border with Macomb County) to United States of America?
Choices:
composer
donated by
country
make-up artist
league
practiced by
production company
art director
designed to carry
has quality
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "St. Clair County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Macomb County" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Macomb County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: St. Clair County
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4