<?xml-model uri="https://xtriples.lod.academy/xtriples.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?><!-- Example 14: Using the $resource variable in statement patterns -->
<xtriples>
    <configuration>
        <vocabularies>
            <vocabulary prefix="gods" uri="https://xtriples.lod.academy/examples/gods/"/>
            <vocabulary prefix="rdf" uri="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
            <vocabulary prefix="rdfs" uri="http://www.w3.org/2000/01/rdf-schema#"/>
            <vocabulary prefix="foaf" uri="http://xmlns.com/foaf/0.1/"/>
            <vocabulary prefix="rel" uri="http://purl.org/vocab/relationship/"/>
        </vocabularies>
        <triples>
            <statement>
                <subject prefix="gods">/@id</subject>
                <predicate prefix="rdfs">label</predicate>
                <object type="literal" lang="en">/name/english</object>
            </statement>
            <statement>
                <subject prefix="gods">/@id</subject>
                <predicate prefix="rdfs">seeAlso</predicate>
                <object type="uri" prepend="http://en.wikipedia.org/wiki/">//attribute</object>
            </statement>
        </triples>
    </configuration>
    <collection>
        <resource>
            <god id="2">
                <name>
                    <greek>Ἀπόλλων</greek>
                    <roman>Apollon</roman>
                    <english>Apollo</english>
                </name>
                <gender>male</gender>
                <olympian>1</olympian>
                <relationships>
                    <relation type="child" id="14"/>
                    <relation type="sister" id="4"/>
                </relationships>
                <attributes>
                    <attribute>music</attribute>
                    <attribute>arts</attribute>
                    <attribute>knowledge</attribute>
                    <attribute>healing</attribute>
                    <attribute>plague</attribute>
                    <attribute>prophecy</attribute>
                    <attribute>poetry</attribute>
                    <attribute>beauty</attribute>
                    <attribute>archery</attribute>
                </attributes>
                <symbols>
                    <item>laurel wreath</item>
                    <item>lyre</item>
                </symbols>
                <animals>
                    <animal>roe deer</animal>
                    <animal>swans</animal>
                    <animal>cicadas</animal>
                    <animal>hawks</animal>
                    <animal>ravens</animal>
                    <animal>crows</animal>
                    <animal>foxes</animal>
                    <animal>mice</animal>
                    <animal>snakes</animal>
                </animals>
            </god>
        </resource>
    </collection>
</xtriples>