<?xml version="1.0" encoding="UTF-8"?>
<PositiveEntailmentTest
    id="RDF_Combination_Constant_Equivalence_Graph_Entailment"
    src="http://www.w3.org/2005/rules/test/repository/tc/RDF_Combination_Constant_Equivalence_Graph_Entailment" xmlns="http://www.w3.org/2009/10/rif-test#">
    <status>Approved</status>
    <dialect>Core</dialect>
    <dialect>BLD</dialect>
    <dialect>PRD</dialect>
    <Combinations>
        <profile>http://www.w3.org/ns/entailment/Simple</profile>
    </Combinations>
    <purpose>Test equivalent treatment of RDF constants and RIF symbols in simple entailment</purpose>
    <description>The syntax for constants in RIF and RDF is slightly different; RDF has a number of different kinds of constants (e.g., IRI, in a literal, typed literal), whereas RIF has a single kind of constants (i.e., pairs &lt;literal, symbol space&gt;).  In particular, in combinations, there is no distinction between plain literals and literals with type xs:string.</description>
    <ImportedDocument>
        <Normative syntax="RDF/XML">
            <name>RDF_Combination_Constant_Equivalence_Graph_Entailment-import001.rdf</name>
            <remote>http://www.w3.org/2005/rules/test/repository/tc/RDF_Combination_Constant_Equivalence_Graph_Entailment/RDF_Combination_Constant_Equivalence_Graph_Entailment-import001</remote>
        </Normative>
        <Presentation syntax="Turtle"><![CDATA[
@prefix ex: <http://example.org/example#> . 
@prefix xs: <http://www.w3.org/2001/XMLSchema#> . 
@prefix rif: <http://www.w3.org/2007/rif#> . 

 ex:a ex:p "this is a plain literal" .
]]></Presentation>
    </ImportedDocument>
    <PremiseDocument>
        <Normative syntax="RIF/XML">
            <name>RDF_Combination_Constant_Equivalence_Graph_Entailment-premise.rif</name>
            <remote>http://www.w3.org/2005/rules/test/repository/tc/RDF_Combination_Constant_Equivalence_Graph_Entailment/RDF_Combination_Constant_Equivalence_Graph_Entailment-premise.rif</remote>
        </Normative>
        <Presentation syntax="RIFBLD-PS"><![CDATA[
Document(
    Import(<http://example.org/mygraph> <http://www.w3.org/ns/entailment/Simple>)
 )
]]></Presentation>
    </PremiseDocument>
    <ConclusionDocument>
        <Normative syntax="RIF/XML">
            <name>RDF_Combination_Constant_Equivalence_Graph_Entailment-conclusion.rif</name>
            <remote>http://www.w3.org/2005/rules/test/repository/tc/RDF_Combination_Constant_Equivalence_Graph_Entailment/RDF_Combination_Constant_Equivalence_Graph_Entailment-conclusion.rif</remote>
        </Normative>
        <Presentation syntax="RIFBLD-PS"><![CDATA[
@prefix ex: <http://example.org/example#> . 
@prefix xs: <http://www.w3.org/2001/XMLSchema#> . 

 ex:a ex:p "this is a plain literal"^^xs:string .
]]></Presentation>
    </ConclusionDocument>
</PositiveEntailmentTest>
