Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need a pre-check to ensure that NOR requests are checked for illegal URI schemes #91

Open
matentzn opened this issue Jun 27, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@matentzn
Copy link
Contributor

ROBOT report has:

https://github.com/ontodev/robot/blob/master/robot-core/src/main/resources/report_queries/invalid_entity_uri.rq

https://github.com/ontodev/robot/blob/master/robot-core/src/main/resources/report_profile.txt#L32

However, when someone (see e.g. OBOFoundry/OBOFoundry.github.io#2371) creates completely malformed URIs (https, and different ID scheme), the automatic base extractor misses all classes (e.g. no class is tested in the Report).

We need some efficient way to run the above checks before the base extraction.

@bpeters42
Copy link

My stab at this would be to do a pre-check for each term URI if it contains "obolibrary.org". And if it does, check if it conforms with the overall format "http://purl.obolibrary.org/obo/XXX". Of course this wouldn't catch instances of misspelled obolibrary.org. And there might be a weird case where such a URI is not intended to be an obolibray term - but in those cases I would question if there isn't another problem (I don't think we want to encourage URIs like HTTP://better_than_obolibray.org' or 'google.com?obolibray.org)...

@pfabry
Copy link

pfabry commented Jun 28, 2023

In my opinion, these checks could initially be carried out manually by the NOR manager until sufficiently reliable automatic checks are available. Right now, I've followed the NOR manager SOP to the letter (maybe too much in fact) that is to configure the NOR dashboard for new ontologies and, when everything is green, pass it to the reviewer.

I feel there are additional tasks that could be done prior to the review, tasks that would have to be done manually as a first step. The illegal URIs is one, but there are also problems with the object properties cf. OBOFoundry/obo-nor.github.io#52
Regarding GNDO as an example, the fact that it is a taxonomy without any "transversal" axioms using object properties or the fact that BFO:role is extensively used without specifying bearers or realizing processes should raise questions for the authors before even going to the review.

Maybe we could split the review process into form and content:

  • form would be the actual NOR review + additional checks (URIs, Object properties, Imports, release artefacts, etc.)
  • content would be focused on the domain knowledge the ontology is about and how it fits with the OBO foundry

@matentzn
Copy link
Contributor Author

In my opinion, these checks could initially be carried out manually by the NOR manager until sufficiently reliable automatic checks are available.

I agree, I made a PR to that end, but I put this in the ballpark of the main reviewer. Can you make an alternative PR with your NOR plus review?

@pfabry
Copy link

pfabry commented Jun 29, 2023

Will do.
In addition, there are actually 2 places where the NOR manager SOP are documented: in docs\SOP.md and in docs\roles\RoleNORManager.md, the latter being much more detailed.
I'd propose to give an overview of the NOR Manager role in SOP.md and add a link to RoleNORManager.md where the SOP are fully described.

@matentzn
Copy link
Contributor Author

Agreed!

@anitacaron anitacaron added the enhancement New feature or request label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants