Skip to content
forked from de-husk/owLint

A configurable, command line OWL file linter.

Notifications You must be signed in to change notification settings

joshhanna/owLint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

owLint

owLint is a configurable, command line OWL file linter. It utilizes the OWL API.

Usage

owLint will look in the defined directory for a .owlint configuration file and .owl files to lint.

an example .owlint file is seen below

{
  "entities-must-have-descriptions" : true
  ...
}

This will enable the "entities-must-have-descriptions" test. By default all of the tests are enabled.

List of linter tests

TODO

Development

To add more tests add to the lintTestMappings Map [String, Tuple2[Function1[OWLOntology, (Boolean, List[(String, String)])], String]] in OwLint.scala, and be sure to add the implementation of the linked Function1 you define. See the existing mappings for examples

Every lint tester function has the following defintion: ###Input:

  • an OWLOntology object

###Output:

  • A Tuple containing whether or not the test was successful, and an OffendingInstance case class object.

Screenshots

screenshot

About

A configurable, command line OWL file linter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published