Re: How to present rules in RDF or OWL

You want RIF: http://www.w3.org/TR/rif-overview/

Regards,
—Paul

> On Jun 9, 2021, at 18:03, Joy lix <joylix4112@outlook.com> wrote:
> 
> 
> Hi, there, I'm a green hand in semantic technology , I want to use RDF or OWL to describe the following rules:
> 
> #----example1:
>     if trafficLight == "red" or "turnOff"   then    
>            barrierStatus = "down"
>     else           # trafficLight == green
>            barrierStatus = "up"
> 
> #----example2:
>      statementA        {Bob  hasDisease  diabetes}
>      if  bloodGlucose >14   then
>             statementA.certainty >0.8
>      else
>             statementA.certainty <=0.8
> 
> Would anyone please show me how to do this in RDF or OWL? (better not in shacl or sparql).
> Thank you very much for any information or suggestion.
> 
> Best,
> Joylix

Received on Thursday, 10 June 2021 14:10:02 UTC