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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed definitions of Compose units #1845

Merged
merged 5 commits into from May 21, 2024
Merged

Changed definitions of Compose units #1845

merged 5 commits into from May 21, 2024

Conversation

NormanZielke
Copy link
Contributor

@NormanZielke NormanZielke commented Apr 24, 2024

Summary of the discussion

Moved and updated definitions of composed units:
megawatt-hour
gigawatt-hour
terawatt-hour
petawatt-hour

Type of change (CHANGELOG.md)

Update

  • Updated definitions:
    megawatt-hour , gigawatt-hour, terawatt-hour , petawatt-hour
  • #1830

Workflow checklist

Automation

Closes #1830

PR-Assignee

Reviewer

  • 馃悪 Follow the Reviewer Guide
  • 馃悪 Provided feedback and show sufficient appreciation for the work done

@NormanZielke NormanZielke self-assigned this Apr 24, 2024
@github-actions github-actions bot added this to Review in progress in Issues Apr 24, 2024
@github-actions github-actions bot added oeo-physical changes the oeo-physical module oeo.omn changes the oeo.omn -module labels Apr 24, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@l-emele l-emele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file oeo.omn should not change. Please move your changes to oeo-physical.

@stap-m
Copy link
Contributor

stap-m commented Apr 25, 2024

The file oeo.omn should not change. Please move your changes to oeo-physical.

Here's a wiki article on how to do that easyly (instead of oeo-import-edits choose oeo-physical...)

@NormanZielke
Copy link
Contributor Author

I moved my changes from oeo.omn to oeo-physical.

Copy link
Contributor

@l-emele l-emele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now some classes do not have any SubClassOf axioms. From a strictly ontological view that is fine, however that causes some problems on the OEP (e.g. the OEO viewer cannot display these properly). So could you please reinclude for the equivalent classes:

    SubClassOf:
                <http://purl.obolibrary.org/obo/UO_1000223>

The rest of the implementation looks fine.

Should we also add the equivalence axioms for the UO class kilowatt-hour in the file oeo-import-edits.owl? @stap-m : What do you think?

@NormanZielke
Copy link
Contributor Author

NormanZielke commented Apr 27, 2024

Sry for the delay. I added the SubClassOf axioms for:
megawatt-hour
gigawatt-hour
terawatt-hour
petawatt-hour
Now we have:
Equvalent To watt-hour based unit
and
SubClass Of watt-hour based unit
for every new composed unit.

As @l-emele already noted:
for kilowatt-hour equivalence axioms are still missing.

@stap-m
Copy link
Contributor

stap-m commented Apr 29, 2024

I just noticed, that we have already this annotation: http://www.geneontology.org/formats/oboInOwl#hasExactSynonym "MWh"
However, we agreed on using http://purl.obolibrary.org/obo/IAO_0000118. I'd either change the axion, or add alternanative label MWh on top.

@stap-m
Copy link
Contributor

stap-m commented Apr 29, 2024

Should we also add the equivalence axioms for the UO class kilowatt-hour in the file oeo-import-edits.owl? @stap-m : What do you think?

I am ok with that, don't have a strong opinion, though.

@l-emele
Copy link
Contributor

l-emele commented Apr 29, 2024

I just noticed, that we have already this annotation: http://www.geneontology.org/formats/oboInOwl#hasExactSynonym "MWh"
However, we agreed on using http://purl.obolibrary.org/obo/IAO_0000118. I'd either change the axion, or add alternanative label MWh on top.

We agreed to use (in line with UO) has exact synoym for unit abbreviations. See e.g. use in exajoule, gigajoule, metric ton, ton of oil equivalent and various others.

@stap-m
Copy link
Contributor

stap-m commented Apr 30, 2024

I just noticed, that we have already this annotation: http://www.geneontology.org/formats/oboInOwl#hasExactSynonym "MWh"
However, we agreed on using http://purl.obolibrary.org/obo/IAO_0000118. I'd either change the axion, or add alternanative label MWh on top.

We agreed to use (in line with UO) has exact synoym for unit abbreviations. See e.g. use in exajoule, gigajoule, metric ton, ton of oil equivalent and various others.

Ok. Do we have a documentation for this/such decisions?
We'll have to check with OEKG that MWh and other units will be found anyway. FYI @adelmemariani

@l-emele
Copy link
Contributor

l-emele commented Apr 30, 2024

Ok. Do we have a documentation for this/such decisions?

I searched yesterday a bit in the wiki, but found nothing. It is probably in one of our many oeo dev meeting protocols.
We definitely should document more general decisions, design patterns and so on.

@stap-m
Copy link
Contributor

stap-m commented May 2, 2024

Ok. Do we have a documentation for this/such decisions?

I searched yesterday a bit in the wiki, but found nothing. It is probably in one of our many oeo dev meeting protocols. We definitely should document more general decisions, design patterns and so on.

We talked about that in the oeo-dev-meeting today, see meeting notes. I think this PR is not touched directly by the discussion.

@stap-m
Copy link
Contributor

stap-m commented May 14, 2024

@NormanZielke can you finish this PR please.

@NormanZielke
Copy link
Contributor Author

NormanZielke commented May 15, 2024

I addressed the requested changes of @l-emele. I noticed that every composed unit has the axiom has ExactSynonym and its specific unit abbreviations, which is what i understood you wanted to see.
I understand that no more changes to make. If that is the case @stap-m , I go on and finish this PR, but someone need to approve this PR.

@NormanZielke
Copy link
Contributor Author

I resolved the remaining conflicts with my new branch. I only need a review approve from @l-emele .

@stap-m
Copy link
Contributor

stap-m commented May 21, 2024

The requested changes were made and thus I merge without approval of @l-emele

@stap-m stap-m merged commit f474776 into dev May 21, 2024
4 checks passed
Issues automation moved this from Review in progress to Done May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oeo.omn changes the oeo.omn -module oeo-physical changes the oeo-physical module
Projects
Issues
  
Done
Development

Successfully merging this pull request may close these issues.

Compose Megawatt-hour and other units - oeox paper quick fix
4 participants