Skip to content

BastyZ/RDFPlayground

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

RDF Playground

This project allows web users to write RDF as Turtle, check its syntax, visualize the data as a graph, and use SPARQL, RDFS, OWL, SHACL and ShEx.

The project is intended to provide many functionalities in one system, and is intended to be used for small examples (e.g., for teaching or demos).

You can see a demo here. Note that the demo is not intended to be a production system. If you intend to use RDF Playground regularly (e.g., for a class), we would recommend to install and run it locally in a server you control.

Installation and running

Back end (mimir folder)

The backend is written in Kotlin using the Spring Boot framework; dependencies and configurations are done using Maven. The code also has a fork of the (Python) OWL-RL reasoner inside, so you have to create and environment for this code before executing the backend.

For this to work you should use Python 3.5+ and Pip

Go to src/main/reasoner/owlrl and create a virtualenv (we use venv) according to venv documentation and install BastyZ/OWL-RL:

# Create venv environment
python3 -m venv venv

# Activate
source venv/bin/activate

# Install BastyZ/OWL-RL on the current environment
python setup.py install

Then, having maven installed, you go to mimir/ directory where pom.xml is and write in your terminal:

# install dependencies
mvn install

And you can run it with:

# Activate venv before running SpringBoot
source src/main/reasoner/owlrl/venv/bin/activate

mvn spring-boot:run

Front end (odin folder)

The frontend is written in Javascript + HTML using Vuetify framework and nodejs 13; having that and npm installed you can go to the odin/ directory and write:

# install dependencies
npm install

And you can run it with:

# run for development
npm run-script serve

# create a production build
npm run-script build

This last command produces a production-ready bundle in the dist/ directory, see https://cli.vuejs.org/guide/cli-service.html#vue-cli-service-build for more information.

For more information on the serve command see https://cli.vuejs.org/guide/cli-service.html#vue-cli-service-serve.

Configuration

For configurations on the backend and frontend see their respective README files.

Copyright © 2020 Bastián Inostroza, Licensed under the Apache License, Version 2.0.

About

A web interface for Linked Data courses, tailored for CC7220 "La Web de Datos" course at Universidad de Chile

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •