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

[CC, EAL] Pattern-based classes add (desc for issues) #1228

Closed

Conversation

KrishnaTO
Copy link
Contributor

@KrishnaTO KrishnaTO commented Oct 29, 2021

Creates classes from patterns per issues from Agronomy project
MAJOR REVISION (nov 15,2021): gathering all pattern-based class additions into this PR. Reverted previous terms in CC to EAL to place classes appropriately.

Chemical Concentration [CC]
closes #394
closes #401
closes #402
closes #403
closes #404
closes #405
closes #406
closes #407
closes #408
closes #409
closes #410
closes #411
closes #412
closes #414

Entity Attribute Location [EAL]
closes #369
closes #370
closes #371
closes #372
closes #373
closes #374
closes #396
closes #413
closes #429

Entity Attribute [EA]
closes #368
closes #360
closes #361 (associated term in PR #1244)
closes #366 (formerly PR #1235)

@KrishnaTO
Copy link
Contributor Author

Note on Chemical_concentration.owl file deletions: the output was made using the classes to be added only (the old classes [ENVO:3100001: ENVO:3200059] were re-added for record keeping to chemical_concentration.csv).

Possible explanation for danger of using existing classes in csv: was re-introducing old terms, which may have had manually updated annotations and causing mismatch?

Ran dosdp run per previous commit with current class substitution.
@cmungall cmungall requested a review from pbuttigieg November 1, 2021 03:01
@cmungall
Copy link
Member

cmungall commented Nov 1, 2021

This looks good to me. I don't fully understand the deletion issue. It is important to have well-defined SOPs for DPs, see https://docs.google.com/document/d/1KXv-Tm3HvypjucFZeLLPjCdgkof5f0Re5_5GbFfQLWU/edit#heading=h.i814vcicxu55

@KrishnaTO
Copy link
Contributor Author

@cmungall Resolved! I was attempting to go by the backroads on that one, without noting the highway (make recipe).

Need to add make instruction somewhere (wiki, README in folders /modules or /pattern, README-editors.md, or SOP):
run in /src/envo/: make modules/$.owl

@KrishnaTO KrishnaTO marked this pull request as draft November 15, 2021 19:12
@KrishnaTO KrishnaTO changed the title Added CC pattern classes (desc for issues list) [CC, EAL] Pattern-based classes add (desc for issues) Nov 15, 2021
Corrected previous commit's EAL pattern ids
Imported pato term: duration
Added class 'hours of sunshine' using EA pattern and revised label to correct string
@KrishnaTO KrishnaTO marked this pull request as ready for review December 7, 2021 16:18
@KrishnaTO
Copy link
Contributor Author

Added additional terms per patterns templates:

Chemical Concentration [CC]
exchangeable potassium content in soil | #415
residual water content in soil | #417
exchangeable calcium content in soil | #418

Entity Attribute [EA]
soil water infiltration speed | #395
topsoil thickness | #398
soil drainage speed | #420
air temperature amplitude | #432

@KrishnaTO
Copy link
Contributor Author

As of now, all pattern based terms are added from the Agronomy project of ENVO and this PR can be committed.

@pbuttigieg
Copy link
Member

pbuttigieg commented Aug 10, 2022

Conflicting IDs in the entity_attribute.txt file below, changing to ENVO:09200032 and ENVO:09200033

ENVO:09200022,,PATO:0001309,duration,ENVO:01001211,stellar radiation
ENVO:09200023,,PATO:0001025,pressure,ENVO:01000268,atmospheric water vapour

entity_attribute.owl needs regeneration.

@pbuttigieg
Copy link
Member

Most changes to envo-edit.owl all need definitional, placement, content-level, grammatical, and logical review.

@pbuttigieg
Copy link
Member

The pato_terms.txt conflicts are trivial, but the import is severely compromised. Regeneration needed.

@pbuttigieg
Copy link
Member

pbuttigieg commented Aug 10, 2022

  • regenerate pato_import.owl
  • regenerate entity_attribute.owl

Copy link
Member

@pbuttigieg pbuttigieg left a comment

Choose a reason for hiding this comment

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

See #1330

pbuttigieg added a commit that referenced this pull request Aug 10, 2022
* Added CC pattern classes (desc for issues list)

Addresses issues
#369 #370 #371 #372 #373 #374  #401 #402 #403 #404 #405 #406 #407 #408 #409 #410 #411 #412 #414

* Added CC pattern class per issue #394

Ran dosdp run per previous commit with current class substitution.

* Revert "Added CC pattern class per issue #394"

This reverts commit e74d8aa.

* Revert "Added CC pattern classes (desc for issues list)"

This reverts commit 0064be2.

* Rerun pattern add using make recipe

* Revert "Rerun pattern add using make recipe"

This reverts commit d8e1124.

* Added EAL and CC pattern-based classes

See issues from list for classes added:
Chemical Concentration [CC]
 closes #369
 closes #394
 closes #401
 closes #402
 closes #403
 closes #404
 closes #405
 closes #406
 closes #407
 closes #408
 closes #409
 closes #410
 closes #411
 closes #412
 closes #414

Entity Attribute Location [EAL]
 closes #367
 closes #370
 closes #371
 closes #372
 closes #373
 closes #374
 closes #396
 closes #413
 closes #429

* #368 [EA] Added class 'color of soil'

* #360 Added class 'hours of sunshine'

Corrected previous commit's EAL pattern ids
Imported pato term: duration
Added class 'hours of sunshine' using EA pattern and revised label to correct string

* #366 Add class 'pressure of vapour'

* #361 [EA] Added class 'runoff volume'

closes #361

* #353,#354,#355 [EA] Added 'evaporation', 'evapotranspiration', 'rain' volumes

* Added classes for water infiltration

Added classes:
- water infiltration
- soil water infiltration

* #415 added classes for exchangeable potassium

Added classes:
- exchangeable potassium
- exchangeable ion

* #417 added class 'residual water'

* Added class 'exchangeable calcium'

* Added class 'cation exchange capacity'

* update DL 'exchangeable ion'

relation to 'CEC'

* #422 added class 'percentage base saturation'

* #415 #417 #418 Added CC patterns

Added patterns for classes:
- exchangeable potassium content in soil
- residual water content in soil
- exchangeable calcium content in soil

* Update 'water infiltration' DL

* #395 #398 #420 #432 Added classes in EA pattern

Added classes:
- soil water infiltration speed
- topsoil thickness
- soil drainage speed
- air temperature amplitude

* run robot dosdp patterns for CC & EA

Imported PATO term
corrected EA IRI

* regenerating pato_import.owl

* fixing semantics for manually added classes in #1228

* fixing unsatisfiable axiom https://github.com/EnvironmentOntology/envo/runs/7767526832?check_suite_focus=true#step:4:26

* deleting envo-edit-module-merged.owl

* fixing erroneous EAL patterns, manual reconfig of generated classes, IDs commented out in EAL txt module file

* attempting fix of https://github.com/EnvironmentOntology/envo/runs/7771430536?check_suite_focus=true#step:4:26

* regenerating all modules

Co-authored-by: Krishna Udaiwal <[email protected]>
Co-authored-by: pier.buttigieg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment