W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2021

Re: How to present rules in RDF or OWL

From: Paul Tyson <phtyson@sbcglobal.net>
Date: Thu, 10 Jun 2021 09:06:44 -0500
Message-Id: <8ABA3A0E-DC88-4288-B648-EA821C3F6DC2@sbcglobal.net>
Cc: www-rdf-interest@w3.org, semantic-web@w3.org
To: Joy lix <joylix4112@outlook.com>
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

This archive was generated by hypermail 2.4.0 : Thursday, 10 June 2021 14:11:40 UTC