Skip to content

opencaesar/trailpower-example

Repository files navigation

Trailpower Example

Build Status Release Documentation

This is a description of the Trail Power system in OML using the Sierra method.

Clone

  git clone https://github.com/opencaesar/trailpower-example.git
  cd trailpower-example

Build

Check the consistency of the dataset

./gradlew build

Start Fuseki Server

Start the Fuseki triple store

./gradlew startFuseki

Navigate to http://localhost:3030

Verify you see two datasets: trailpower.inf and trailpower.tdb

Stop Fuseki Server

Stop the Fuseki triple store

./gradlew stopFuseki

Load Dataset to Fuseki

Load the dataset to Fuseki server

./gradlew load

Navigate to http://localhost:3030/#/dataset/trailpower.inf/info

Click on count triples in all graphs and observe the triple counts

Navigate to http://localhost:3030/#/dataset/trailpower.tdb/info

Click on count triples in all graphs and observe the triple counts

Run Queries

Run the queries at src/sparql/opencaesar.io/trailpower

./gradlew query

Inspect the results at build/results/trailpower

Save Dataset from Fuseki

Assuming you have updated the trailpower dataset in Fuseki

./gradlew save

Find the updates in the src/oml/opencaesar.io/trailpower folder

Publish to Maven Local

Publish the OML dataset as an archive in the local maven repo

./gradlew publishToMavenLocal

Inspect the OML archive

ls ~/.m2/repository/io/opencaesar/trailpower

About

This is the description of the trail power system in OML using the Sierra method

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published