Question: Tell me the PermID, for St. Louis County (the one that shares border with St. Louis)
Choices:
4297025490
4295880606
4298210812
4296745449
4296830172
5035754446
4296767773
4296540596
4297381328
5000294906
Answer: 5035754446
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "St. Louis County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "St. Louis" .  ?e <PermID> ?pv .  }
Program:
function: Find
inputs: St. Louis
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: St. Louis County
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: PermID