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

Core Safeness 3

From RIF
Jump to: navigation, search




Test TypePositiveSyntaxTest
ContributorJos de Bruijn
StatusApproved
RecordF2F13
DialectCore
PurposeTest that safe formulas are accepted.
DescriptionThe variable ?x is unbound, but (u,b) is a valid binding pattern for pred:iri-string.
SeeAlsoCore_NonSafeness Core_Safeness
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 ?z (ex:p(?x) :- And( ex:q(?z) External(pred:iri-string(?x ?z)))) ) )
XMLview RIF/XML