openagri-eu / OCSM

OpenAgri Common Semantic Model
European Union Public License 1.2
1 stars 0 forks source link

Pest infestation prediction with the use of OCSM #8

Open nikoskal opened 1 week ago

nikoskal commented 1 week ago

For the needs of the "Pest and Disease Mgmt service" we need to model the reply of the service (REST API) in OCSM format. The reply should contain: a) The type of the pest/disease that the prediction is made for, e.g. "Uncinula necator", "Plasmopara viticola". We can also use EPPO and/or agrovoc taxonomy for this b) the predicted pest infestation risk, a numerical value: 0-100%. The risk value should be connected with date-time slots.

An interesting and potential reusable approach is implemented by Farmtopia here: https://gitlab.com/Farmtopia/farmtopia-semantic-model/-/blob/main/FarmtopiaSemanticModel.rdf?ref_type=heads

<owl:ObjectProperty rdf:about="http://www.farmtopia.com/ontology/farmtopia#eppoCode">
    <rdfs:subPropertyOf rdf:resource="skos:notation"/>  
    <rdfs:domain rdf:resource="pcsm:Crop"/>
    <rdfs:domain rdf:resource="fsm:PestInfestationRisk"/>
</owl:ObjectProperty>
JackJackUM commented 6 days ago

I had a look at the EPPO Codes. It looks like a 6-character string with the unique identifier of the pest/disease at hand. I reused the eppoCode property above. The riskLevel is still in terms of low, medium, high....if that needs to be in percentage, then let me know.