NESCent/feed-ontology-closure

Name: feed-ontology-closure

Owner: National Evolutionary Synthesis Center

Description: Tool for asserting transitive closure axioms, used by the FEED project.

Created: 2014-07-30 02:37:21.0

Updated: 2015-08-18 13:55:24.0

Pushed: 2015-08-18 13:55:23.0

Homepage: null

Size: 132

Language: Scala

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

feed-ontology-closure

This tool can be used to assert all redundant subclass relationships for an input ontology. For example, given:

bClassOf B
bClassOf C

a redundant statement is added:

A subClassOf C

This is useful for preprocessing an ontology for input to systems with no reasoning capabilities.

Additionally, this tool redundantly asserts the partonomy graph as class relationships, by means of annotation assertions. For example, if:

A subClassOf (part_of some D)

then an annotation directly linking the classes is added, using an annotation property with IRI equal to the part_of property's IRI + “_some”:

A part_of_some D

Installation and running

Note: you must have a working Java installation to run this tool.

If your ontology is large you may need to increase the memory allocated to the tool. You can do this by passing the -mem argument, with the desired number in megabytes: ./feed-ontology-closure -mem 2048 input_file.owl output_file.owl

Building

Building requires the Scala build tool, sbt. If you are running Mac OS X and use Homebrew, then you can get sbt via brew install sbt. You don't need to separately install Scala?just sbt.

To package the software for download, run sbt universal:packageZipTarball. You can compile and run the code directly within sbt like so:

sbt "run input_file.owl output_file.owl"


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.