-
Notifications
You must be signed in to change notification settings - Fork 34
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
ISSUE-110 Add additional types of variables to repr.ttl #111
base: master
Are you sure you want to change the base?
Conversation
Any comments @ESIPFed/semtech |
@@ -55,19 +61,54 @@ repr:Coordinates rdf:type owl:Class ; | |||
] . | |||
|
|||
|
|||
### http://sweetontology.net/repr/1D | |||
repr:1D rdf:type owl:Class ; | |||
rdfs:subClassOf repr:Representation , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have to review the whole SWEET approach in general, but at least in this case, it seems to me that repr:1D
, repr:2D
and repr:3D
should be instances and not classes themselves: you wouldn't be creating instances of repr:1D
for example.
Perhaps something like this would be more appropriate?
repr:1D rdf:type repr:Representation ,
[ rdf:type owl:Restriction ;
owl:onProperty mrela:hasDimension ;
owl:hasValue 1
] .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First a pragmatic question: would this affect any existing infrastructure that uses sweet and hardcodes certain assumptions about everything being classes, and subClassOf being the main linking predicate? For example, would this cause 1D to drop out of some ontology browser displays?
But I think we also need a definition of 1D and some use cases showing how it gets used. This is where an upper ontology can help. While I think BFO can be a little abstruse at times, it does provide a framework for distinguishing things like variables vs projections in space etc. Going along with this, I think 1D is too short a name for a class, because I don't know from the name what it is. Is it literally the value for a unit "dimension" or can it be used for a 1D entity (e.g a conceptual line between Glasgow and Edinburgh)...?
SWEET has many cases where "what was meant" can not be discerned from the content (witness the discussion of 'sample'); I think this is one of those. In which case it's on us to figure out what would be most useful. I believe that a 1D representation in SWEET is a class descriptor for all the 1D lines in the world (at least, all the 1D lines that follow the 'Representation' class constraints). I do not think these should be individuals in SWEET. I agree that '1D' is a poor name. I would like to see it deprecated in favor of something like 'one-dimensional representation', appropriately camel-cased and de-spaced and de-hyphened as needed to match SWEET. And yes, changing anything to an individual will mean certain repositories ( looking at you BioPortal) will no longer present it in the UI. But I don't think that should affect the decision-making process, and it didn't affect the recommendation I made above. |
Let me address these issues and update the PR folks. We can take it from there. Thanks for the input. |
In addition to providing the additional types of variable and accomodating descriptions for all variables now included within |
I do want to note that the Class naming issue we've identified above is more widespread across SWEET.
There is more work to be done here... |
I'm not sure it's as bad as all that. If you accept the theory that these are types of representations, then there is no need to change the classes to individuals. And in this case the '2D' or '3D' or whatever does not have to be spelled out IMHO, because the context is much more apparent. The problem with standalone '1D', '2D', etc. is that it omitted the fact these were representations. So a better suggestion than my previous is Representation_1D, which would match these other forms. Except SpaceGeometry3D, which clearly needs an underscore before 3D. |
OK @graybeal I'll update based on this. |
@lewismc As John notes, those do look like classes. Take for example By contrast, as already noted above, one wouldn't be creating instances of |
OK @graybeal I've updated based on your suggestions. I wanted to make the following reply however
This is a file IRI not a Class IRI. I would like to suggest that we limit the impact of changing the file IRI by adhering to the following
What do you think? |
@carueda thanks for the comments. I think we should address this in a separate ticket to keep things separate. |
Tempted to close this ticked off and to resubmit the suggested fix in a separate PR... however I want to clarify what our approach is to the several issues mentioned above. |
This PR addresses #110
I also noticed that data was missing for representations of dimensions e.g.
1D
,2D
and3D
which had all been changed toD
somehow...