oeg-upm / auroral-energy-ontology

0 stars 2 forks source link

Energybenchmark #7

Open jackylbk opened 1 year ago

jackylbk commented 1 year ago

I am from VS use case vs.001 data is the following:

{ "q1": "1", "q2": "1", "q3": "1", "q1_string": "Åsele", "q5": "1", "create_time": "2023-06-19T14:10:30", "q7": "1", "shortResult": "1", "fullResult": "1", "q7_string": "Fuel oil", "shortData": "115.7442912", "q6_string": "111", "q5_string": "in units (kWh) consumed", "q8_string": "111", "q3_string": ">2", "q2_string": "1961-1980", "q4_string": "111", "f4UserResult": "14.37432", "id": 1, "f5DataResult": "129.0309784" } we are building the things description. we miss a type for our services.

Energyservices.

jackylbk commented 1 year ago

we also need a type for the properties in the things description . the measurements of our data are:

EnergyUsageIntensity: number (kWh/m2),

http://130.238.28.85:8080/question.html

jackylbk commented 1 year ago

And this is TD we have so far:

` { "@context": [ "https://www.w3.org/2022/wot/td/v1.1", "https://auroralh2020.github.io/auroral-ontology-contexts/adapters/context.json", { "eng": "https://auroralh2020.github.io/auroral-ontology-contexts/energy/context.json", "om": "http://www.ontology-of-units-of-measure.org/resource/om-2/", "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#" } ], "security": [ "nosec_sc" ], "securityDefinitions": { "nosec_sc": { "scheme": "nosec" } }, "title": "Energy benchmark", "description" : "Energy usage of users", "properties": { "energy_readings" : { "title" : "the energy readings from the service", "type": "object", "forms": [{"href": "https://mylamp.example.com/XXX"}] }

} } `

AhlemRhayem commented 11 months ago

Hello,

What do you mean by a type of energy services? could you give us examples,

and regarding the property Energy Usage Intensity and the unit of measure kwh/m2, they are already included in the ontology. we define the EnergyUseIntensity as an instance of the Energy class and we define the unit KiloWattHourSquareMeter as instance of the Unit of Measure class.