Skip to content

linkedtimeseries/oslo_air_poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSLO Air proof of concept

Demonstrates how Air Quality data from Luftdaten can be described with the OSLO application profile for Air Quality and exposed with the Linked Data Event Stream (LDES) specification.

Install

git clone [email protected]:linkedtimeseries/oslo_air_poc.git
cd oslo_air_poc
python src/app.py

Open http://localhost:5000/oslo to see Luftdaten observations published with LDES and described with the OSLO Application Profile Air Quality

Open http://localhost:5000/smart_data_models for Luftdaten observations using normalized Smart Data Models, and http://localhost:5000/smart_data_models_kv for its keyValues representation.

Open http://localhost:5000/json_ld_star for Luftdaten observations using the property graph model RDF* in JSON-LD format.

Configure

Adapt the src/config.toml file:

  • the Luftdaten API to fetch, for example by changing the country code in the query parameter.
  • the polling interval
  • the base URI for the generated identifiers

Docker

A Docker file is provided:

docker build -t server .
docker run -p 5000:80 server

Or use the docker-compose file:

docker build -t server .
docker-compose up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published