Question: How is Dallas County (the one whose ISNI is 0000 0004 0382 4312) connected to Selma, that shares a border with Montgomery?
Choices:
capital
parent club
influenced by
mascot
award disciplines or subjects
fictional universe described in
main subject
production designer
had as last meal
office contested
Answer: capital
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dallas County" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0004 0382 4312" . ?e_2 <pred:name> "Selma" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Montgomery" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dallas County
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0382 4312
function: Find
inputs: Montgomery
function: Relate
dependencies: 2
inputs: shares border with
forward
function: Find
inputs: Selma
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5