Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Import Process
Drupal Sync Service
Commits
08e2ed75
Commit
08e2ed75
authored
Jun 30, 2020
by
Jonas Waeber
Browse files
Update municipalities
parent
3e30cb56
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
README.md
View file @
08e2ed75
...
...
@@ -27,7 +27,7 @@ WHERE
https://query.wikidata.org/
```
sparql
SELECT
?item
?postalCode
?adminUnit
?labelDE
?labelFR
?labelIT
(
GROUP_CONCAT
(
DISTINCT
?coordinates
;
SEPARATOR
=
","
)
as
?groupedCoordinates
)
SELECT
?item
(
GROUP_CONCAT
(
DISTINCT
?postalCode
;
SEPARATOR
=
","
)
as
?groupedPostalCode
)
?adminUnit
?labelDE
?labelFR
?labelIT
(
GROUP_CONCAT
(
DISTINCT
?coordinates
;
SEPARATOR
=
","
)
as
?groupedCoordinates
)
WHERE
{
?item
wdt:
P31
wd:
Q70208
.
# swiss municipalities
...
...
@@ -49,5 +49,5 @@ WHERE
}
}
GROUP
BY
?item
?postalCode
?adminUnit
?labelDE
?labelFR
?labelIT
GROUP
BY
?item
?adminUnit
?labelDE
?labelFR
?labelIT
```
\ No newline at end of file
src/main/resources/municipalities.tsv
View file @
08e2ed75
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment