<?xml version="1.0" encoding="UTF-8"?>
<PositiveSyntaxTest id="Core_Safeness"
    src="http://www.w3.org/2005/rules/test/repository/tc/Core_Safeness" xmlns="http://www.w3.org/2009/10/rif-test#">
    <status>Approved</status>
    <dialect>Core</dialect>
    <dialect>BLD</dialect>
    <dialect>PRD</dialect>
    <purpose>Test that safe formulas are accepted. Note that this ruleset does not have finite models, and is not strongly safe.</purpose>
    <description/>
    <InputDocument>
        <Normative syntax="RIF/XML">
            <name>Core_Safeness-input.rif</name>
            <remote>http://www.w3.org/2005/rules/test/repository/tc/Core_Safeness/Core_Safeness-input.rif</remote>
        </Normative>
        <Presentation syntax="RIFBLD-PS"><![CDATA[
Document( 
    Prefix(ex <http://example.org/example#>) 
    Prefix(func <http://www.w3.org/2007/rif-builtin-function#>)  
    Group( 
      ex:p(0) 
      Forall ?x (ex:p(External(func:numeric-add(?x 1))) :- ex:p(?x)) 
    ) 
  )
]]></Presentation>
    </InputDocument>
</PositiveSyntaxTest>
