Question: Which independent city bordered by Portsmouth, twinned administrative body of Dunedin, has the motto "Crescas"?
Choices: Roanoke
Williamsburg
Charlottesville
Suffolk
Winchester
Hampton
Chesapeake
Danville
Lynchburg
Norfolk
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Portsmouth" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Dunedin" .  ?e <motto_text> ?pv . ?pv <pred:value> "Crescas" .  }
Program:
function: Find
inputs: Dunedin
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Portsmouth
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: independent city
function: FindAll
function: FilterStr
dependencies: 6
inputs: motto text
Crescas
function: FilterConcept
dependencies: 7
inputs: independent city
function: And
dependencies: 5
8
function: What
dependencies: 9
Answer: Norfolk