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

Create annotations for definitions generated by scripts #63

Open
wdduncan opened this issue Nov 21, 2019 · 3 comments
Open

Create annotations for definitions generated by scripts #63

wdduncan opened this issue Nov 21, 2019 · 3 comments
Assignees

Comments

@wdduncan
Copy link
Member

A number of definitions appear to be generated programmatically. In these cases, it is helpful to add an annotation to say which script and/or design pattern generated the definition.

@matentzn
Copy link
Contributor

Absolutely all ECTO definitions are currently generated by DOSDP. I think this is a general community issue. Should ALL pattern generated definitions (logical or otherwise) get an axiom annotation pointing to the generating pattern?

A equivalent to R some C [generated by "purl/exposure.yaml"]
A rdfs:label "some name" [generated by "purl/exposure.yaml"]
A rdfs:comment "some comment" [generated by "purl/exposure.yaml"]

This will seriously bloat the ontology, but may be useful. Opinions, @cmungall @balhoff @dosumis?

@dosumis
Copy link

dosumis commented Nov 22, 2019

Should ALL pattern generated definitions (logical or otherwise) get an axiom annotation pointing to the generating pattern?

I think so. I always intended this to be the case. Main question is whether to annotate Class or axioms.

@matentzn
Copy link
Contributor

Yeah agreed. Advantage of class would be: less bloating. disadvantage: In mixed modes (some stuff is generated, some is manually curated) you dont know what has been generated using the class solution. The axioms annotation solution is much more bloated, but can clearly distinguish generated vs non-generated ones (although even here there is a bit of a line, where the TSV files are used to manually create annotations .. are such annotations to be considered as "generated" by dosdp or not? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants