Warning:
This wiki has been archived and is now read-only.

Retract

From RIF
Jump to: navigation, search




Test TypeNegativeEntailmentTest
ContributorAdrian Paschke
StatusApproved
Record
DialectPRD
PurposeRetract Action of RIF PRD
DescriptionDemonstrates the retract action in RIF PRD. The rule retracts the existing customer object.
SeeAlsoAssert, AssertRetract
SpecRefhttp://www.w3.org/2005/rules/wiki/PRD
Premises
Presentation SyntaxDocument( Prefix(ex <http://example.org/example#>) Group ( Forall ?X ( If ?X[ex:status -> "normal"] Then Do ( Retract (?X) ) ) ex:john[ex:status -> "normal" ex:test -> "some value"] ) )
XMLview RIF/XML
Non-conclusion
Presentation Syntaxex:john[ex:test -> "some value"]
XMLview RIF/XML