-
Notifications
You must be signed in to change notification settings - Fork 19
Make versioning and operators ontology accessible over HTTP #983
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
Comments
Just a nitpick, but I notice the value of the
...whereas I tend to favour avoiding BNodes wherever possible, and indeed gist itself uses a Named Individual for it's
So in other words, to be consistent, should this ontology do likewise, i.e.,:
...? |
That is a personal choice. It can work either way - implementer's choice. There is the slight overhead of thinking up and creating IRIs for each version number. It would require a way to distinguish different version numbers, so the example above would not be ideal. |
Ah, yes, of course! I hadn't actually realized that each new version would indeed require a newly minted NamedIndividual! And yeah sure, you can leave it as a personal choice if you like - it's just that I much offering prescriptive guidelines - i.e., telling people you prefer one specific convention, and that you use it consistently everywhere yourself (i.e., leading by example), instead of leaving it up to them to have to make decisions for themselves (just 'cos most people prefer not to have to make decisions, especially on stuff (like this particular question, most likely!) that they just don't care about). But it seems your publishing process is already treating the 'source' Turtle file (here) as a template with placeholders for the 'current' version number, i.e., the use of "X.x.x" in two triples here:
So given that you're doing this search-and-replace in two places already for this ontology, I think I'd opt to do it a third time just to get rid of that pesky Blank Node, i.e., update the 'template Turtle' to be:
But yeah, it's not a biggie - I just saw an opportunity to squish a BNode and couldn't resist :) ! |
We use anonymous classes throughout the ontology for restrictions, unions, and intersections. I would find it bothersome to create named classes for each of these. |
I think it's mostly a matter of personal taste, rather than good practice. |
Oh yeah @rjyounes, I wouldn't propose trying to squish all the BNodes, as I wouldn't think it's feasible when using OWL extensively (at least not while maintaining a high degree of readability). I was really just referring to squishing this one non-OWL-related BNode in the metadata of the ontology itself, that's all.
Yep, for sure, it is @uscholdm - no argument there. But my point was simply that, personally, I'd still stipulate a 'gist community' preference/Best Practice for all these kinds of things. My reason is literally just to try and maintain a degree of consistency, because inconsistency (i.e., leaving it to 'personal taste') just causes confusion and angst for newbies (as they wonder which one is 'better', or which one they 'should use' themselves for their ontologies when they inevitably come across all the different personal tastes). For me, it's the very reason that Prettier took off so massively in the JavaScript world - i.e., most people really don't care, and they don't want to have to 'make decisions', or to decide on what their 'personal taste' is. Instead, they'd just prefer someone or something that's explicitly 'opinionated' to tell them what to do (or even better, to do it for them - i.e., (And yes, I would be very interested in seeing someone develop a Prettier plug-in for Turtle - maybe Inrupt, if only we could find the time...) |
Needed to support gist imports of these ontologies. See #979.
The text was updated successfully, but these errors were encountered: