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

Today's ontology meeting note #81

Open
samwaseda opened this issue Nov 28, 2024 · 1 comment
Open

Today's ontology meeting note #81

samwaseda opened this issue Nov 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@samwaseda
Copy link
Member

I (aka @samwaseda) showed an example notebook of how to include ontological types via type hinting:

@uniton_class
class Simulation:
    class Input:
        temperature: u(float | None, units="kelvin")

def do_something_with_temperature(temperature: Simulation.Input.temperature):
    ....

Perspective / What I want

A functioning notebook containing all the steps below:

  1. Create a workflow (Inputs: element, temperature. Output: energy, volume per atom)
  2. Execute the workflow
  3. Upload/store the data and/or workflow using PMDco (or any ontology standard)
  4. Download/retrieve the data and/or workflow for a given set of arguments (in this case element and temperature)

This is in order to mimic a typical scientist's routine "oh I would like to know the volume of Al at 300 K - can I find it somewhere?"

The same routine might not be applicable to Murnaghan or other techniques, but I really would like to see one full cycle somewhere.

Does this make sense?

@samwaseda samwaseda added the enhancement New feature or request label Nov 28, 2024
@samwaseda
Copy link
Member Author

So I’ve got a few elements that could be put together:

  • Data class: dataclass and pydantic
  • Type hinting: uniton
  • Storing of data? Tara showed me a notebook but I lost the link. I guess atomRDF must be able to offer functionality.
  • Data extraction: SPARQL (Sarath’s notebook gives a pretty complete picture)

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

No branches or pull requests

1 participant