Retract

From RIF
Revision as of 18:18, 25 August 2010 by Smitchel (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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