Created
September 17, 2021 11:54
-
-
Save btotr/6be1f8ea43bf80e56365ee6502ca6a4e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
| PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> | |
| PREFIX wd: <http://www.wikidata.org/entity/> | |
| PREFIX bd: <http://www.bigdata.com/rdf#> | |
| PREFIX wdt: <http://www.wikidata.org/prop/direct/> | |
| PREFIX wikibase:<http://wikiba.se/ontology#> | |
| SELECT ?dist ?monument ?shape ?shapeLabel ?image ?nummer | |
| WHERE | |
| { | |
| ?monument wdt:P1435 wd:Q916333 . | |
| ?monument wdt:P359 ?nummer . | |
| ?monument wdt:P18 ?image . | |
| SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl". } | |
| SERVICE wikibase:around { | |
| ?monument wdt:P625 ?shape . | |
| bd:serviceParam wikibase:center "Point(5.39041 52.15746)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . | |
| bd:serviceParam wikibase:radius "0.1" . | |
| bd:serviceParam wikibase:distance ?dist. | |
| } | |
| BIND('''<a href='https://monumentenregister.cultureelerfgoed.nl/monumenten/{{nummer}}'><img src="{{image}}" style="max-height:200px;"></a>'''^^rdf:HTML AS ?shapeLabel) | |
| } | |
| LIMIT 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment