<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="https://ontobee.org/ontology/view/STATO?iri=http://purl.obolibrary.org/obo/STATO_0000185"?>
<rdf:RDF xmlns="http://www.w3.org/2002/07/owl#"
     xml:base="http://www.w3.org/2002/07/owl"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:foaf="http://xmlns.com/foaf/0.1/"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:ns3="http://purl.obolibrary.org/obo/">
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Annotation properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    <AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000117"/>
    <AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000119"/>
    <AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000114"/>
    <AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/STATO_0000041"/>
    <AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000115"/>
    <AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/STATO_0000032"/>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Datatypes
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Object Properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!-- http://purl.obolibrary.org/obo/IAO_0000136 -->

    <ObjectProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000136">
        <rdfs:label xml:lang="en">is about</rdfs:label>
    </ObjectProperty>
    


    <!-- http://purl.obolibrary.org/obo/OBI_0001927 -->

    <ObjectProperty rdf:about="http://purl.obolibrary.org/obo/OBI_0001927">
        <rdfs:label>specifies value of</rdfs:label>
    </ObjectProperty>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Classes
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!-- http://purl.obolibrary.org/obo/IAO_0000027 -->

    <Class rdf:about="http://purl.obolibrary.org/obo/IAO_0000027">
        <rdfs:label xml:lang="en">data item</rdfs:label>
    </Class>
    


    <!-- http://purl.obolibrary.org/obo/IAO_0000078 -->

    <Class rdf:about="http://purl.obolibrary.org/obo/IAO_0000078"/>
    


    <!-- http://purl.obolibrary.org/obo/STATO_0000087 -->

    <Class rdf:about="http://purl.obolibrary.org/obo/STATO_0000087">
        <rdfs:label xml:lang="en">polychotomous variable</rdfs:label>
    </Class>
    


    <!-- http://purl.obolibrary.org/obo/STATO_0000090 -->

    <Class rdf:about="http://purl.obolibrary.org/obo/STATO_0000090">
        <rdfs:label xml:lang="en">dichotomous variable</rdfs:label>
    </Class>
    


    <!-- http://purl.obolibrary.org/obo/STATO_0000140 -->

    <Class rdf:about="http://purl.obolibrary.org/obo/STATO_0000140">
        <rdfs:label xml:lang="en">contingency table</rdfs:label>
    </Class>
    


    <!-- http://purl.obolibrary.org/obo/STATO_0000185 -->

    <Class rdf:about="http://purl.obolibrary.org/obo/STATO_0000185">
        <rdfs:label xml:lang="en">2 by n contingency table</rdfs:label>
        <equivalentClass>
            <Class>
                <intersectionOf rdf:parseType="Collection">
                    <Restriction>
                        <onProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000136"/>
                        <onClass>
                            <Class>
                                <intersectionOf rdf:parseType="Collection">
                                    <rdf:Description rdf:about="http://purl.obolibrary.org/obo/STATO_0000087"/>
                                    <Restriction>
                                        <onProperty rdf:resource="http://purl.obolibrary.org/obo/OBI_0001927"/>
                                        <onClass rdf:resource="http://purl.obolibrary.org/obo/IAO_0000027"/>
                                        <minQualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">2</minQualifiedCardinality>
                                    </Restriction>
                                </intersectionOf>
                            </Class>
                        </onClass>
                        <minQualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</minQualifiedCardinality>
                    </Restriction>
                    <Restriction>
                        <onProperty rdf:resource="http://purl.obolibrary.org/obo/IAO_0000136"/>
                        <onClass rdf:resource="http://purl.obolibrary.org/obo/STATO_0000090"/>
                        <qualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</qualifiedCardinality>
                    </Restriction>
                </intersectionOf>
            </Class>
        </equivalentClass>
        <rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/STATO_0000140"/>
        <ns3:IAO_0000117>Philippe Rocca-Serra</ns3:IAO_0000117>
        <ns3:STATO_0000032 xml:lang="en"></ns3:STATO_0000032>
        <ns3:IAO_0000117>Orlaith Burke</ns3:IAO_0000117>
        <ns3:IAO_0000117 xml:lang="en">Alejandra Gonzalez-Beltran</ns3:IAO_0000117>
        <ns3:IAO_0000119 xml:lang="en">STATO</ns3:IAO_0000119>
        <ns3:IAO_0000115 xml:lang="en">a 2 by n contingency table is a contingency table built for one dichotomous variable (a categorical variable with only 2 outcomes) and one polychotomous variable (a polychomotomous variable with at least 2 outcomes)</ns3:IAO_0000115>
        <ns3:STATO_0000041 xml:lang="en">xtabs(formula = ~., data = parent.frame(), subset, sparse = FALSE,
      na.action, exclude = c(NA, NaN), drop.unused.levels = FALSE)

http://stat.ethz.ch/R-manual/R-patched/library/stats/html/xtabs.html

flat contingency tables:

ftable(x, ...)

http://stat.ethz.ch/R-manual/R-patched/library/stats/html/ftable.html</ns3:STATO_0000041>
        <ns3:IAO_0000114 rdf:resource="http://purl.obolibrary.org/obo/IAO_0000122"/>
    </Class>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Individuals
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!-- http://purl.obolibrary.org/obo/IAO_0000122 -->

    <Thing rdf:about="http://purl.obolibrary.org/obo/IAO_0000122">
        <rdf:type rdf:resource="http://purl.obolibrary.org/obo/IAO_0000078"/>
        <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#NamedIndividual"/>
        <rdfs:label xml:lang="en">ready for release</rdfs:label>
    </Thing>
</rdf:RDF>



<!-- Generated by the OWL API (version 3.2.4.1806) http://owlapi.sourceforge.net -->



