Question: Which county of Virginia is the twinned administrative body of a big city that serves as the twinned administrative body of Toledo (which is the twinned administrative body of Damascus) ?
Choices:
Augusta County
Reims
Arlington County
Northampton County
Prince William County
Albemarle County
Henrico County
Halifax
Fairfax County
Loudoun County
Answer: Arlington County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Virginia" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "big city" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Toledo" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Damascus" .   }
Program:
function: Find
inputs: Damascus
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Toledo
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 4
inputs: big city
function: Relate
dependencies: 5
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 6
inputs: county of Virginia
function: What
dependencies: 7