Skip to content

About

The reference implementation of the LinkedFactory APIs.

Resources

Contributing

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Repository files navigation

Docker

LinkedFactory Pod

LinkedFactory Pod is the reference implementation of the LinkedFactory architecture.

It connects descriptions of industrial assets with their time-series measurements. The structure of a system, its components and their relationships, is described in an RDF knowledge graph. Measurements are stored under the same component IRIs, combined with a property IRI and a timestamp. Asset descriptions and measurements can then be queried together, for example with SPARQL.

LinkedFactory semantic linking

Pod is built on the semantic platform eniLINK, which provides model management, the SPARQL endpoint, and user management.

Quickstart

Start Pod with Docker:

docker run -p 127.0.0.1:8080:8080 -v linkedfactory-pod-workspace:/linkedfactory-pod/workspace linkedfactory/linkedfactory-pod

Pod is then available at http://localhost:8080/linkedfactory/.

Write a measurement:

curl -H "Content-Type: application/json" http://localhost:8080/linkedfactory/values -d '{
  "https://example.org/Press/Frame/StrainGauge": {
    "p:force": [{ "value": 7.10096884, "time": 1541521440000 }]
  }
}'

Read it back:

curl -G -d "item=https://example.org/Press/Frame/StrainGauge" -d "property=p:force" http://localhost:8080/linkedfactory/values

Important

The image is configured for local development: it contains default credentials and keeps asset descriptions in memory. Read Secure a deployment before running Pod anywhere else.

Documentation

The documentation is in docs/.

To … Read
get a first overview Overview, Quickstart
understand the concept and its limits KVIN data model, Architecture and limits
write and read measurements Ingest measurements, Query measurements and asset descriptions, Time-series API
create models (named graphs) and describe assets Create and manage models, Describe assets in RDF
control who may read or change data Grant access to models with groups, Users, groups, and permissions
search literal values by keyword Enable full-text search
run Pod for others Secure a deployment, Configuration
integrate a client HTTP interfaces

Contributing

To build Pod from source, run tests, or change the documentation, see CONTRIBUTING.md.

License

Pod is licensed under the Apache License 2.0.

About

The reference implementation of the LinkedFactory APIs.

Resources

Contributing

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages