Skip to content

Convert simple OWL ontologies into SHACL shapes

License

Notifications You must be signed in to change notification settings

elevont/owl2shacl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

owl2shacl

License: AGPL-3.0-or-later REUSE status Repo Package Releases Documentation Releases Dependency Status Build Status

In cooperation with Open Source Ecology Germany

A CLI tool that tries to convert simple OWL ontologies into [SHACL] shapes. OWL ontologies define logical relationships. SHACL shapes define a data scheme, and allow to validate data against them. Striclty speaking, as these are different things, such a conversion is thus illegal/wrong in the ideological/theoretical sense. Thus this tool is not generally applicable, but only under the sircumstance, that the OWL ontolog is actually written as a data specification - if it is understood as a kind of distributed database schema, rather then for logical inference. Not only that, but it also has to conform to certain, very narrow rules, and only a few basic properties are translated into SHACL; the rest is ignored.

Supported OWL ontologies

Roughtly speaking, this tool supports a 25% subset of OWL Lite, plus some third party properties.

More specifically:

How to compile

You need to install Rust(lang) and Cargo.

Then get the whole repo plus git sub-modules with:

git clone --recurse-submodules https://github.com/hoijui/owl2shacl.git
cd owl2shacl

Then you can run:

cargo build --release

If all goes well, the executable can be found at target/release/owl2shacl.

Get the tool

As for now, you have two choices:

  1. Compile it yourself
  2. Download a Linux x86_64 statically linked binary from the releases page

About

Convert simple OWL ontologies into SHACL shapes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages