fair_ontologies

Code for FOOPS! the OEG FAIR assessment tool for ontologies and vocabularies

https://github.com/oeg-upm/fair_ontologies

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 2 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 (14.4%) to scientific vocabulary

Keywords

fair metadata ontology ontology-metadata validator
Last synced: 6 months ago · JSON representation ·

Repository

Code for FOOPS! the OEG FAIR assessment tool for ontologies and vocabularies

Basic Info
  • Host: GitHub
  • Owner: oeg-upm
  • License: apache-2.0
  • Language: Java
  • Default Branch: main
  • Homepage: https://w3id.org/foops
  • Size: 2.27 MB
Statistics
  • Stars: 12
  • Watchers: 6
  • Forks: 4
  • Open Issues: 36
  • Releases: 4
Topics
fair metadata ontology ontology-metadata validator
Created almost 5 years ago · Last pushed 7 months ago
Metadata Files
Readme License Citation

README.md

OEG FAIR Ontologies Assessment (FOOPS!)

DOI

logo

Authors: Daniel Garijo and María Poveda, with contributions from Jacobo Mata.

FOOPS! is an application for assessing whether a vocabulary (OWL or SKOS) conforms with the FAIR data principles.

Our ISWC 2021 demo paper (best demo award) provides an overview of the FOOPS! service. Please cite our work as follows: @article{foops2021, title = {FOOPS!: An Ontology Pitfall Scanner for the FAIR Principles}, author = {Garijo, Daniel and Corcho, Oscar and Poveda-Villal{\'o}n, Mar{\i}a}, year = 2021, booktitle = {International Semantic Web Conference (ISWC) 2021: Posters, Demos, and Industry Tracks}, publisher = {CEUR-WS.org}, series = {CEUR Workshop Proceedings}, volume = 2980, url = {http://ceur-ws.org/Vol-2980/paper321.pdf} } If you are interested in more information, check our slides with the rationale of FOOPS! and the teaser video we made for ISWC 2021.

The client application has been integrated from the work in https://github.com/jacobomata/FairValidator. The client would not have been possible without the work from @jacobomata

Demo

A public demo of FOOPS! is available here: https://w3id.org/foops/

Installation instructions

The project was build and tested with JDK 11.0.11 in Ubuntu.

To create the JAR, just run:

mvn install on the server folder, or download the JAR from the releases page.

Running the server

Run the following command

java -jar -Dserver.port=PORT fair_ontologies-0.0.1.jar

Where PORT is the port you want to run the server

to test the installation, just do a curl command (if the application was run in the port 8083):

curl -X POST "http://localhost:8083/assessOntology" -H "accept: application/json;charset=UTF-8" -H "Content-Type: application/json;charset=UTF-8" -d "{ \"ontologyUri\": \"https://w3id.org/okn/o/sd\"}"

As a result, you should see a JSON in your console, such as the one in sample.json in the root of this repository.

Swagger OpenAPI

When you run the server, FOOPS! will set up a Swagger UI describing the endpoints available in the API. This API is available at http://localhost:PORT/swagger-ui/index.html#/

Running the JAR in local

To create the JAR, just run:

mvn install -f pom_jar.xml

Then run the following command to test a URI:

java -jar target/fair_ontologies-0.1.0.jar -ontURI https://w3id.org/example

You can also test one ontology from a file:

java -jar target/fair_ontologies-0.1.0.jar -ontFile filePath

As a result, you should see a JSON in your folder, such as the one in sample.json.

If you want to change the out file path you can use the flag -out

Documentation

Metrics and tests

The metrics (i.e., conceptual description of what is being assessed) and tests (i.e., implementation of a metric) supported by the tool are available at https://w3id.org/foops/catalog, along with a detail description of their rationale and means of verification.

API result specification

FOOPS! supports two result specifications, due to legacy development. The endpoints: * [POST] /assessOntology and * [POST] /assessOntologyFile

Follow the classic FOOPS! JSON format. To see an example, please see the sample json file in the code repository. This JSON is simple, but may be harder to debug.

The endpoints: * [GET] /benchmarks/{identifier} * [GET] /tests * [GET] /tests/{identifier} * [GET] /metrics * [GET] /metrics/{identifier} * [POST] /assess/resultset/{identifier} * [POST] /assess/test/{test_identifier}

Follow the FAIR test resource specification, providing machine-readable metadata (JSON-LD) on all tests, metrics and groups of tests supported by FOOPS!

Expanding the list of supported persistent registries

Test FIND3 assesses whether an ontology complies to a certain URI scheme, based on persistent identifier registries like w3id.org or purl.org. However, your organization may issue persistent URIs too. If you would like us to add your registry scheme into the supported URI schemes, please open an issue describing the URI scheme you want to support in FOOPS! and a link to a policy page describing the intention of the organization to support the resources in the long term. A reviewer will check and add it into the tool.

Owner

  • Name: Ontology Engineering Group (UPM)
  • Login: oeg-upm
  • Kind: organization
  • Email: oeg-dev@delicias.dia.fi.upm.es
  • Location: Boadilla del Monte, Madrid, Spain

Citation (CITATION.cff)

title: "FOOPS!: An Ontology Pitfall Scanner for the FAIR Principles"
license: Apache-2.0
authors:
  - family-names: Garijo
    given-names: Daniel
    orcid: "http://orcid.org/0000-0003-0454-7145"
  - family-names: Poveda-Villalón
    given-names: María
    orcid: "https://orcid.org/0000-0003-3587-0367"
cff-version: 1.2.0
message: "If you use this software, please cite both the article from preferred-citation and the software itself."
preferred-citation:
  authors:
    - family-names: Garijo
      given-names: Daniel
    - family-names: Poveda-Villalón
      given-names: María
    - family-names: Corcho
      given-names: Oscar
  title: "FOOPS!: An Ontology Pitfall Scanner for the FAIR Principles"
  type: article
  year: 2021
  url: http://ceur-ws.org/Vol-2980/paper321.pdf

GitHub Events

Total
  • Create event: 2
  • Release event: 2
  • Issues event: 73
  • Watch event: 7
  • Issue comment event: 67
  • Push event: 63
  • Pull request review event: 5
  • Pull request review comment event: 5
  • Pull request event: 45
  • Fork event: 1
Last Year
  • Create event: 2
  • Release event: 2
  • Issues event: 73
  • Watch event: 7
  • Issue comment event: 67
  • Push event: 63
  • Pull request review event: 5
  • Pull request review comment event: 5
  • Pull request event: 45
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 50
  • Total pull requests: 18
  • Average time to close issues: almost 2 years
  • Average time to close pull requests: about 15 hours
  • Total issue authors: 5
  • Total pull request authors: 3
  • Average comments per issue: 0.86
  • Average comments per pull request: 0.11
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 31
  • Pull requests: 18
  • Average time to close issues: 5 months
  • Average time to close pull requests: about 15 hours
  • Issue authors: 4
  • Pull request authors: 3
  • Average comments per issue: 0.52
  • Average comments per pull request: 0.11
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • dgarijo (52)
  • coolharsh55 (3)
  • Sergio-Carulli (1)
  • rduyme (1)
  • mariapoveda (1)
  • stefanbischof (1)
Pull Request Authors
  • juanjemdIos (25)
  • kalili99 (3)
  • andriumon (2)
  • dgarijo (1)
Top Labels
Issue Labels
enhancement (10) FAIRIMPACT enhancement (8) bug (7) documentation (7)
Pull Request Labels

Dependencies

pom.xml maven
  • com.google.code.gson:gson 2.8.6
  • net.sourceforge.owlapi:owlapi-distribution 5.1.14
  • org.jsoup:jsoup 1.13.1
  • org.slf4j:slf4j-api 1.7.30
  • org.slf4j:slf4j-simple 1.7.30
  • org.springframework.boot:spring-boot-starter-web
  • junit:junit 4.13.1 test
  • org.springframework.boot:spring-boot-starter-test test
.github/workflows/ttl-change.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v5 composite
doc/web_generation_scripts/requirements.txt pypi
  • Markdown *
  • isodate *
  • pyparsing *
  • pystache *
  • rdflib *
  • requests *