Skip to content

Given two OWL files as input, outputs all the classes and properties they have in common.

License

Notifications You must be signed in to change notification settings

mcwdsi/onto-intersect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

onto-intersect

Given two OWL files as input, outputs all the classes and properties they have in common.

It is a strict overlap: it bases what is in common on the IRIs themselves, and the IRIs only. It does not attempt any other kind of matching. For matching on labels and other annotations, use a different tool.

The purpose of this script is purely to find what is exactly shared between two ontologies in terms of classes, object properties, annotation properties, individuals, etc.

The output is two OWL files: a ROBOT extract using a file of CURIEs from the first ontology file, and a ROBOT extract using the same file of CURIEs from the second ontology.

N.B. These two extracts will not necessarily be the same. First, the classes, properties, and even ontologies themselves can have different annotations on them in the two input OWL files. Second, the extract process, as called by the script, preserves the class and property hierachy, which can differ between the two OWL files.

Setup:

Usage:

If current directory is not in your PATH environment variable

./onto-intersect.sh file-1.owl file-2.owl

If current directory is in your PATH variable

onto-intersect.sh file-1.owl file-2.owl

About

Given two OWL files as input, outputs all the classes and properties they have in common.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages