Question: What is the detail map for the state of Germany containing Hildesheim, which has the German district key of 03254?
Choices:
Wuppertal.png
Gem-Groningen-2014Q1.jpg
Lower Saxony, administrative divisions - de - colored.svg
Dakar map osm.png
ColorChongqingMap.png
Karte des Deutschen Reiches, Weimarer Republik-Drittes Reich 1919–1937.svg
Europe, administrative divisions - de - colored.svg
North Sea map-de.png
Shanghai administrative.png
Mediterranean Sea Bathymetry map.svg
Program:
function: Find
inputs: Hildesheim
function: FilterStr
dependencies: 0
inputs: German district key
03254
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: state of Germany
function: QueryAttr
dependencies: 3
inputs: detail map
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Hildesheim" . ?e_1 <German_district_key> ?pv_1 . ?pv_1 <pred:value> "03254" . ?e <detail_map> ?pv .  }
Answer: Lower Saxony, administrative divisions - de - colored.svg