简体   繁体   中英

Protege Merging Individuals

I have created an ontology. There is a temperature sensor class and humidity sensor class. the can have sensor values.

Now I want to define a class where if the temperature sensor has value less than 25 and humidity sensor has value less than 20 then it will define a normal state. I m not sure should I define a class or something else. In the result I want that when a temperature sensor's and a humidity sensor's value is less than defined rule I can call them as a member of normal state. but any of the sensor violate the rule neither sensor will be the member of that class

PREFIX rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 

PREFIX rdfs: http : //www.w3.org/2000/01/rdf-schema# PREFIX temp: http : //www.sensor.com/Temper# select * {?temp:value?c} if(value > 25“ NORMAL”,“ NON-NORMAL”)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM