Question: What first-level administrative country subdivision shares a border with Greater Poland Voivodeship and has a Dewey Decimal Classification of 2--43822?
Choices:
Minas Gerais
Tasmania
Pomeranian Voivodeship
New South Wales
England
Lublin Voivodeship
Podlaskie Voivodeship
Chiapas
Punjab
Upper Austria
Program:
function: Find
inputs: Greater Poland Voivodeship
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
2--43822
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Greater Poland Voivodeship" .  ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--43822" .  }
Answer: Pomeranian Voivodeship