slimmer

Slims ontologies.

https://github.com/enanomapper/slimmer

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.2%) to scientific vocabulary

Keywords

java ontologies owl-api
Last synced: 4 months ago · JSON representation ·

Repository

Slims ontologies.

Basic Info
Statistics
  • Stars: 8
  • Watchers: 7
  • Forks: 7
  • Open Issues: 4
  • Releases: 4
Topics
java ontologies owl-api
Created about 11 years ago · Last pushed over 2 years ago
Metadata Files
Readme License Citation

README.md

build DOI

Slimmer is a slim tool to slim ontologies as part of ontology integration. It allows users to provide configuration files that specify which parts of an ontology should be kept and/or removed, allowing to just select parts of the ontology you like. Rewiring the ontology is part of the features, allowing you to define new super terms.

Configuring the slimming

The configuration of the slimming of an ontology consists of two files. The first file is a Java properties file, listing the ontology, a pointer to the second configuration file, and the URI of the output ontology. Details are found at https://github.com/enanomapper/slimmer/wiki/Slimmer-configuration-files and in https://enanomapper.github.io/tutorials/Added%20ontology%20terms/README.html

For example:

owl=http://www.bioassayontology.org/bao/bao_complete.owl iris=bao.iris slimmed=http://purl.enanomapper.org/onto/external/bao-slim.owl

The second, .iris file configures the slicing of the ontology:

+D(http://purl.bioontology.org/ontology/npo#NPO_1436):http://www.bioassayontology.org/bao#BAO_0000697 detection instrument +D(http://purl.obolibrary.org/obo/IAO_0000030):http://www.bioassayontology.org/bao#BAO_0000179 endpoint +D(http://purl.obolibrary.org/obo/OBI_0000070):http://www.bioassayontology.org/bao#BAO_0000015 bioassay

This configuration file uses a custom syntax which is briefly explained here. By default it removes all content.

The first character indicates if the something needs to be included (+) or excluded from a previously defined inclusion (-). The second character indicates whether a whole upper (U) or down (D) tree should be included or excluded. After the colon the URI of the resource is given to be in- or excluded, followed by a user-oriented comment. Finally, before the colon and in brackets an optional superclass of this resource can be specified, possibly from other ontologies.

Compile

shell mvn clean compile assembly:single

Run

shell java -cp target/slimmer-1.0.0-SNAPSHOT-jar-with-dependencies.jar com.github.enanomapper.Slimmer src/main/resources

Funding

The project has had contributions from various European Commission projects. The eNanoMapper project was funded by the European Union’s Seventh Framework Programme for research, technological development and demonstration (FP7-NMP-2013-SMALL-7) under grant agreement no. 604134. NanoCommons has received funding from European Union Horizon 2020 Programme (H2020) under grant agreement nº 731032. NanoSolveIt has received funding from European Union Horizon 2020 Programme (H2020) under grant agreement no. 814572.

Owner

  • Name: eNanoMapper
  • Login: enanomapper
  • Kind: organization
  • Location: Europe

Funded from the European Union’s FP7 for research, technological development and demonstration under grant agreement no 604134.

Citation (CITATION.cff)

cff-version: 1.2.0
message: If you use this tool, please cite the software version and the eNanoMapper ontology article.
title: Slimmer
version: 1.0.3
date-released: 2023-06-18
doi: 10.5281/zenodo.4546420
url: https://github.com/enanomapper/slimmer/
preferred-citation:
  type: article
  authors:
    - family-names: Hastings
      given-names: Janna
    - family-names: Jeliazkova
      given-names: Nina
    - family-names: Owen
      given-names: Gareth
    - family-names: Tsiliki
      given-names: Georgia
    - family-names: Munteanu
      given-names: 'Cristian R.'
    - family-names: Steinbeck
      given-names: Christoph
    - family-names: Willighagen
      given-names: Egon
  title: 'eNanoMapper: harnessing ontologies to enable data integration for nanomaterial risk assessment'
  year: 2015
  month: 3
  day: 21
  journal: Journal of Biomedical Semantics
  volume: 6
  issue: 10
  doi: 10.1186/S13326-015-0005-5

GitHub Events

Total
  • Watch event: 1
  • Fork event: 1
Last Year
  • Watch event: 1
  • Fork event: 1

Dependencies

pom.xml maven
  • net.sourceforge.owlapi:owlapi-distribution 5.1.20
  • org.junit.jupiter:junit-jupiter-api 5.8.2 test
  • org.junit.jupiter:junit-jupiter-engine 5.8.2 test