Linked Data Instance of the Municipality of Zurich | Read-only mirror of https://github.com/StatistikStadtZuerich/ld.stadt-zuerich.ch — Stadt Zürich. Issues & pull requests at the source.
  • HTML 95.1%
  • Dockerfile 3.4%
  • JavaScript 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-06-29 10:33:40 +02:00
.changeset Version Packages 2023-06-29 08:30:46 +00:00
lib feat: added plugin to send 405 for unhandled HEAD requests 2021-02-27 17:25:56 +01:00
views Fix URL shortener 2021-05-01 15:39:45 +07:00
.dockerignore Update Trifid, rewrite Dockerfile & switch to GH actions 2020-09-28 11:30:53 +02:00
.gitignore hydra tests 2017-08-12 19:39:13 +02:00
.gitlab-ci.yml ci: be able to run the docker steps 2023-06-14 15:19:44 +02:00
CHANGELOG.md Version Packages 2023-06-29 08:30:46 +00:00
config.json build(deps): update ssz-views 2023-03-22 09:40:30 +01:00
config.local.json add endpoint so that we can test the instance locally 2023-03-22 09:57:51 +01:00
Dockerfile chore(docker): use node 18 2022-11-22 15:22:10 +01:00
LICENSE Create LICENSE 2018-08-20 12:45:13 +02:00
package-lock.json fix: missing \n 2023-06-29 10:30:03 +02:00
package.json Version Packages 2023-06-29 08:30:46 +00:00
README.md updated README 2018-08-23 13:37:05 +02:00

ld.stadt-zuerich.ch

This server provides a Linked Data interface to the linked open statistical data published by the Statistics Office of the City of Zurich.

Features:

  • Provides a SPARQL web frontend
  • Provides dereferencing via HTTP (a.k.a. follow your nose), go here to find out ...

Visit the live installation:

Installation

This server is based on Trifid, a Node.js based Linked Data Server. To install and run it you need Node.js on your system.

Clone the Github repository and run

npm install

to install all module dependencies.

Depending on the environment, specifiying the password for the SPARQL Endpoint as environment variable might be necessary:

export SPARQL_ENDPOINT_PASSWORD=foopass!_987

To start the server with the default configuration (config.json), execute the following command:

npm start

Continuous Integration and Deployment

Commits pushed to master are automatically deployed to integration :

Tags pushed are automatically deployed to production :

Simple monitoring:

License

Copyright 2018 Statistik Stadt Zürich

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

https://opensource.org/licenses/BSD-3-Clause