Question: What is the motto text of the US state which contains Douglas County (the one that shares border with Placer County)?
Choices:
Unidad, Paz, Justicia
In supremæ dignitatis
Deo vindice
Майка и Родина са по-ценни от царството небесно
Jednotná v rozmanitosti
Единство - дисциплина - труд
Unidade, Asaun, Progresu
Rhydd, sofran ac annibynnol
All For Our Country
Justice – Paix – Travail
Answer: All For Our Country
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Douglas County" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Placer County" .  ?e <motto_text> ?pv .  }
Program:
function: Find
inputs: Placer County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Douglas County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: QueryAttr
dependencies: 5
inputs: motto text