Skip to content

opencaesar/firesat-example

Repository files navigation

FireSat Example

Build Status Release Documentation Gitpod

This is a description of a FireSat project expressed in OML

Clone

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

Prerequisites

  • You need JDK 11 installed in the environment

  • if you run 'generateDocs', you also need Bikeshed installed in the environment

Quick Start

Run the following

./gradlew clean
./gradlew startFuseki
./gradlew owlQuery
./gradlew stopFuseki

Inspect results of query in folder: build/results

Build

Equivalent to owlReason task

./gradlew build

Generate Docs

./gradlew generateDocs

Run OWL Reasoner

./gradlew owlReason

Load to Fuseki Dataset

./gradlew owlLoad

Pre-req: A Fuseki server with a firesat dataset must be running at http://localhost:3030/firesat (see Start Fuseki Server below)

Run SPARQL Queries

./gradlew owlQuery

Pre-req: A Fuseki server with a firesat dataset must be running at http://localhost:3030/firesat (see Start Fuseki Server below)

Results will be in the folder 'build/results'

Run SHACL Rules

./gradlew owlShacl

Pre-req: A Fuseki server with a firesat dataset must be running at http://localhost:3030/firesat (see Start Fuseki Server below)

Publish to Maven Local

./gradlew publishToMavenLocal

Start Headless Fuseki Server

./gradlew startFuseki

You need to run this once at the start before running any action involving Fuseki

Stop Headless Fuseki Server

./gradlew stopFuseki

You need to run this once at the end after you are done running actions involving Fuseki