OpenEnergyPlatform / ontology

Repository for the Open Energy Ontology (OEO)
Creative Commons Zero v1.0 Universal
108 stars 23 forks source link

Add object properties "has aggregation type" and "has time stamp alignment" #1901

Closed DevPy129387 closed 2 weeks ago

DevPy129387 commented 2 months ago

Description of the issue

We would like to define / specify a time series with OEO. Therefore we define a "data set", which has a series of "data items". Now we have to to specify for every "data item" (or better for the whole dataset) an "aggregation type" and a "time stamp alignment". But I can't find appropriate object properties to set these properties.

(Is it possible to specify "unit", "aggregation type" and "time stamp alignment" only once for the whole "data set"?)

Ideas of solution

Add the object properties "has aggregation type" and "has time stamp alignment" to the oeo.

Workflow checklist

I am aware that

stap-m commented 2 months ago

Thanks for the issue @DevPy129387. It would be reasonable to add the requested relations to OEO.

For the "has aggregation type" I suggest the follonging:

EDIT: Maybe we should apply the aggregation types even to data item: data set is a subclass thereof and thus, it would be applicable to both: signe items or data sets.??

stap-m commented 2 months ago

Here some first ideas for "has time stamp alignment":

[^1]: A time step is a one-dimensional temporal region that has a start time and an ending time and thus a finite duration. [^2]:A time series is a data set that references to a set of time steps or zero-dimensional temporal regions.

DevPy129387 commented 2 months ago

These suggestion sound very good! To have the aggregation type for both - data items and data sets would be good.

stap-m commented 1 month ago

Any feedback from oeo devs?

l-emele commented 1 month ago
  • Add data property has time stamp alignment: A relation between a time step or time series2: and a time stamp alignment that indicates the position of the time stamps that refer to the time step(s).

The two classes time step and time series are of two very different types: the first is a temporal region and thus an occurent while the latter is a data item and thus a generically dependent continunant). I don't think that it is as good and future-proof solution to implement one object property that has two so very different concepts as their range. Instead we should implement here two distinct object properties.

stap-m commented 1 month ago
  • Add data property has time stamp alignment: A relation between a time step or time series2: and a time stamp alignment that indicates the position of the time stamps that refer to the time step(s).

The two classes time step and time series are of two very different types: the first is a temporal region and thus an occurent while the latter is a data item and thus a generically dependent continunant). I don't think that it is as good and future-proof solution to implement one object property that has two so very different concepts as their range. Instead we should implement here two distinct object properties.

That's a good point. I think, the best solution would be to only refer to the entities describing the temporal regions (GDC), not the temporal regions itself. In our case, probably time stamp instead of time step.

stap-m commented 1 month ago

Any more comments or can we implement?

stap-m commented 2 weeks ago

@madbkr oeo-model seems also the right place to me