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

Core NonSafeness 2

From RIF
Jump to: navigation, search




Test TypeNegativeSyntaxTest
ContributorJos de Bruijn
StatusApproved
RecordF2F13
DialectPRD
PurposeTest that non-safe formulas are not accepted.
DescriptionThe variables ?x and ?z are unbound in the first disjunct of the condition, and (u,u) is not a valid binding pattern for pred:iri-string.
SeeAlsoCore_NonSafeness Core_Safeness_3
SpecRefhttp://www.w3.org/2005/rules/wiki/Core#safeness-example
Input
Presentation SyntaxDocument( Prefix(ex <http://example.org/example#>) Prefix(pred <http://www.w3.org/2007/rif-builtin-predicate#>) Group( Forall ?x ?y ?z (ex:p() :- Or( External(pred:iri-string(?x ?z)) And( ex:q(?x) ex:r(?z)))) ) )
XMLview RIF/XML