<?xml version="1.0" encoding="UTF-8"?>
<PositiveEntailmentTest
    id="OWL_Combination_Vocabulary_Separation_Inconsistency_2"
    src="http://www.w3.org/2005/rules/test/repository/tc/OWL_Combination_Vocabulary_Separation_Inconsistency_2" 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/OWL-Direct</profile>
    </Combinations>
    <purpose>Test that violation of separation of the (object and datatype value property) vocabulary leads to inconsistency</purpose>
    <description>The same property cannot have both individuals and data values in its range. In particular, since ex:hasChild is an owl:ObjectProperty, there may be no concrete data values (e.g., strings) in its range.  Since in this case, there is a data value ("John") in its range, the combination is inconsistent, and an inconsistent atom ("a"="b") is derived.</description>
    <ImportedDocument>
        <Normative syntax="RDF/XML">
            <name>OWL_Combination_Vocabulary_Separation_Inconsistency_2-import001.rdf</name>
            <remote>http://www.w3.org/2005/rules/test/repository/tc/OWL_Combination_Vocabulary_Separation_Inconsistency_2/OWL_Combination_Vocabulary_Separation_Inconsistency_2-import001</remote>
        </Normative>
        <Presentation syntax="Turtle"><![CDATA[
@prefix ex: <http://example.org/example#> . 
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 
@prefix owl: <http://www.w3.org/2002/07/owl#> . 

 _:o rdf:type owl:Ontology .
 ex:hasChild rdf:type owl:ObjectProperty .
]]></Presentation>
    </ImportedDocument>
    <PremiseDocument>
        <Normative syntax="RIF/XML">
            <name>OWL_Combination_Vocabulary_Separation_Inconsistency_2-premise.rif</name>
            <remote>http://www.w3.org/2005/rules/test/repository/tc/OWL_Combination_Vocabulary_Separation_Inconsistency_2/OWL_Combination_Vocabulary_Separation_Inconsistency_2-premise.rif</remote>
        </Normative>
        <Presentation syntax="RIFBLD-PS"><![CDATA[
Document(
  Prefix(ex  <http://example.org/example#>)

  Import(<http://example.org/mygraph> <http://www.w3.org/ns/entailment/OWL-Direct>)

  Group (
   ex:myiri[ex:hasChild -> "John"]
  )
 )
]]></Presentation>
    </PremiseDocument>
    <ConclusionDocument>
        <Normative syntax="RIF/XML">
            <name>OWL_Combination_Vocabulary_Separation_Inconsistency_2-conclusion.rif</name>
            <remote>http://www.w3.org/2005/rules/test/repository/tc/OWL_Combination_Vocabulary_Separation_Inconsistency_2/OWL_Combination_Vocabulary_Separation_Inconsistency_2-conclusion.rif</remote>
        </Normative>
        <Presentation syntax="RIFBLD-PS"><![CDATA[
"a"="b"
]]></Presentation>
    </ConclusionDocument>
</PositiveEntailmentTest>
