<?xml-model uri="https://xtriples.lod.academy/xtriples.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<xtriples>
    <configuration>
        <vocabularies>
            <vocabulary prefix="epidat" uri="http://www.steinheim-institut.de/cgi-bin/epidat?id="/>
            <vocabulary prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
            <vocabulary prefix="rdf" uri="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
            <vocabulary prefix="dc" uri="http://purl.org/dc/elements/1.1/"/>
            <vocabulary prefix="owl" uri="http://www.w3.org/2002/07/owl#"/>
            <vocabulary prefix="owltime" uri="http://www.w3.org/2006/time#"/>
            <vocabulary prefix="geo" uri="http://www.w3.org/2003/01/geo/wgs84_pos#"/>
            <vocabulary prefix="tgn" uri="http://vocab.getty.edu/tgn/"/>
            <vocabulary prefix="skos" uri="http://www.w3.org/2004/02/skos/core#"/>
            <vocabulary prefix="foaf" uri="http://xmlns.com/foaf/0.1/"/>
            <vocabulary prefix="bio" uri="http://purl.org/vocab/bio/0.1/"/>
            <vocabulary prefix="crm" uri="http://www.cidoc-crm.org/cidoc-crm/"/>
            <vocabulary prefix="unit" uri="http://qudt.org/vocab/unit/"/>
        </vocabularies>
        <triples>

        	<!-- 
        		REPOSITORY: EPIDAT 
        	-->
        	<!-- epidat uri represents: a physical thing, a skos concept -->
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E18_Physical_Thing</object>
            </statement>
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="skos" type="uri">Concept</object>
            </statement>
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="skos">prefLabel</predicate>
                <object type="literal" lang="en">Gravestone</object>
            </statement>
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="rdf">comment</predicate>
                <object type="literal" lang="en">Instance of the gravestone</object>
            </statement>

        	<!-- XML version of the article
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="rdf">seeAlso</predicate>
                <object type="uri">/concat("http://www.steinheim-institut.de/cgi-bin/epidat?id=", .//tei:idno[@type='epidat'], "-t")</object>
            </statement> -->

        	<!-- depictions/images of the stone -->
            <statement>
                <condition>/exists(.//tei:graphic/@url)</condition>
                <subject type="uri">//tei:graphic/@url</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="foaf" type="uri">Image</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:graphic/@url)</condition>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="foaf">depiction</predicate>
                <object type="uri">//tei:graphic/@url</object>
            </statement>

        	<!-- date -->
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="owltime">xsdDateTime</predicate>
                <object type="literal">//tei:history/tei:origin/tei:date</object>
            </statement>

        	<!-- TGN relation -->
            <statement>
                <condition>/exists(.//tei:settlement[contains(@key, "tgn")])</condition>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="skos">relatedMatch</predicate>
                <object type="uri">http://vocab.getty.edu/tgn/7004449</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:settlement[contains(@key, "tgn")])</condition>
                <subject type="uri">http://vocab.getty.edu/tgn/7004449</subject>
                <predicate prefix="rdf">label</predicate>
                <object type="literal" lang="de">Mainz</object>
            </statement>

        	<!-- material -->
            <statement>
                <condition>/exists(.//tei:material)</condition>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="crm">consists_of</predicate>
                <object type="bnode">/concat("E57_Material-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:material)</condition>
                <subject type="bnode">/concat("E57_Material-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E57_Material</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:material)</condition>
                <subject type="bnode">/concat("E57_Material-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P3_has_note</predicate>
                <object type="literal" lang="de">//tei:material</object>
            </statement>

        	<!-- location -->
            <statement>
                <condition>/exists(.//tei:geo)</condition>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="crm">P1_is_identified_by</predicate>
                <object type="bnode">/concat("E44_Place_Appellation-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:geo)</condition>
                <subject type="bnode">/concat("E44_Place_Appellation-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E44_Place_Appellation</object>
            </statement>
        	<!-- name -->
            <statement>
                <condition>/exists(.//tei:geo)</condition>
                <subject type="bnode">/concat("E44_Place_Appellation-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P87_is_identified_by</predicate>
                <object type="bnode">/concat("E45_Place_Name-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:geo)</condition>
                <subject type="bnode">/concat("E45_Place_Name-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E45_Place_Name</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:geo)</condition>
                <subject type="bnode">/concat("E45_Place_Name-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P3_has_note</predicate>
                <object type="literal" lang="de">//tei:geogName/text()[1]</object>
            </statement>
        	<!-- coordinates -->
            <statement>
                <condition>/exists(.//tei:geo)</condition>
                <subject type="bnode">/concat("E44_Place_Appellation-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P87_is_identified_by</predicate>
                <object type="bnode">/concat("E47_Spatial_Coordinates-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:geo)</condition>
                <subject type="bnode">/concat("E47_Spatial_Coordinates-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E47_Spatial_Coordinates</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:geo)</condition>
                <subject type="bnode">/concat("E47_Spatial_Coordinates-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P3_has_note</predicate>
                <object type="literal">//tei:geo</object>
            </statement>

        	<!-- person -->
            <statement>
                <condition>/exists(.//tei:person[@sex &gt; 0])</condition>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="skos">relatedMatch</predicate>
                <object type="bnode">//tei:person[@sex &gt; 0]/@xml:id</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:person[@sex &gt; 0])</condition>
                <subject type="bnode">//tei:person[@sex &gt; 0]/@xml:id</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="foaf" type="uri">Person</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:person[@sex &gt; 0])</condition>
                <subject type="bnode">//tei:person[@sex &gt; 0]/@xml:id</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="skos" type="uri">Concept</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:person[@sex &gt; 0])</condition>
                <subject type="bnode">//tei:person[@sex &gt; 0]/@xml:id</subject>
                <predicate prefix="skos">prefLabel</predicate>
                <object type="literal" lang="en">Person</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:person[@sex &gt; 0])</condition>
                <subject type="bnode">//tei:person[@sex &gt; 0]/@xml:id</subject>
                <predicate prefix="rdf">comment</predicate>
                <object type="literal" lang="en">Instance(s) of the person(s) the gravestone is for</object>
            </statement>

        	<!-- name of person -->
            <statement>
                <condition>/exists(.//tei:person[@sex &gt; 0])</condition>
                <subject type="bnode">//tei:person[@sex &gt; 0]/@xml:id</subject>
                <predicate prefix="foaf">name</predicate>
                <object type="literal">//tei:person[@sex &gt; 0]/tei:persName</object>
            </statement>

        	<!-- gender of person -->
            <statement>
                <condition>/exists(.//tei:person[@sex = 1])</condition>
                <subject type="bnode">//tei:person[@sex = 1]/@xml:id</subject>
                <predicate prefix="foaf">gender</predicate>
                <object type="literal" lang="en">male</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:person[@sex = 2])</condition>
                <subject type="bnode">//tei:person[@sex = 2]/@xml:id</subject>
                <predicate prefix="foaf">gender</predicate>
                <object type="literal" lang="en">female</object>
            </statement>

        	<!-- date of death -->
            <statement>
                <condition>/exists(.//tei:event[@type="dateofdeath"])</condition>
                <subject type="bnode">//tei:person[@sex &gt; 0]/@xml:id</subject>
                <predicate prefix="bio">agent</predicate>
                <object type="bnode">//tei:person[@sex &gt; 0]/@xml:id/concat(., "-event-", position())</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:event[@type="dateofdeath"])</condition>
                <subject type="bnode">//tei:person[@sex &gt; 0]/@xml:id/concat(., "-event-", position())</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="bio" type="uri">Death</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:event[@type="dateofdeath"])</condition>
                <subject type="bnode">//tei:person[@sex &gt; 0]/@xml:id/concat(., "-event-", position())</subject>
                <predicate prefix="dc">date</predicate>
                <object type="literal">//tei:person[@sex &gt; 0]/tei:event[@type="dateofdeath"]/@when</object>
            </statement>

        	<!-- inscription -->
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="crm">P56_bears_feature</predicate>
                <object type="bnode">/concat("E34_Inscription-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E34_Inscription-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E34_Inscription</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E34_Inscription-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P3_has_note</predicate>
                <object type="literal" lang="he">//tei:div[@type='edition']/functx:remove-elements-deep(., "head")</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E34_Inscription-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P73_has_translation</predicate>
                <object type="bnode">/concat("E33_Linguistic_Object-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E33_Linguistic_Object-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E33_Linguistic_Object</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E33_Linguistic_Object-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P3_has_note</predicate>
                <object type="literal" lang="de">//tei:div[@type='translation']/functx:remove-elements-deep(., "head")</object>
            </statement>

        	<!-- 
        		REPOSITORY: SPATIAL STORE 
        	-->

        	<!-- the spatial thing -->
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="skos">relatedMatch</predicate>
                <object type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="geo" type="uri">SpatialThing</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="skos" type="uri">Concept</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</subject>
                <predicate prefix="skos">prefLabel</predicate>
                <object type="literal" lang="en">Pointcloud Data</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</subject>
                <predicate prefix="rdf">comment</predicate>
                <object type="literal" lang="en">Instance of the spatial data from the pointcloud for the gravestone</object>
            </statement>

        	<!-- geometry -->
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</subject>
                <predicate prefix="rdf">value</predicate>
                <object type="literal" resource="http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181.xml">//geom</object>
            </statement>

        	<!-- creator -->
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</subject>
                <predicate prefix="dc">creator</predicate>
                <object type="literal" resource="http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181.xml">//creator</object>
            </statement>

        	<!-- creation date -->
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</subject>
                <predicate prefix="owltime">xsdDateTime</predicate>
                <object type="literal" resource="http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181.xml">//lastModify</object>
            </statement>

        	<!-- size -->
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</subject>
                <predicate prefix="skos">relatedMatch</predicate>
                <object type="bnode">/concat("squareMetre-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="bnode">/concat("squareMetre-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="unit" type="uri">squareMetre</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="bnode">/concat("squareMetre-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="skos" type="uri">Concept</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="bnode">/concat("squareMetre-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="skos">prefLabel</predicate>
                <object type="literal" lang="en">m²</object>
            </statement>

        	<!-- viewpoints -->
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="bnode">/concat("squareMetre-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">value</predicate>
                <object type="literal" datatype="double" resource="http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181.xml">//size</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri">http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181</subject>
                <predicate prefix="skos">relatedMatch</predicate>
                <object type="uri" resource="http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181.xml">//viewpoint/@href</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri" resource="http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181.xml">//viewpoint/@href</subject>
                <predicate prefix="rdf">type</predicate>
                <object type="uri" prefix="skos">Concept</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri" resource="http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181.xml">//viewpoint/@href</subject>
                <predicate prefix="skos">prefLabel</predicate>
                <object type="literal" lang="en">Viewpoint</object>
            </statement>
            <statement>
                <condition>/exists(.//tei:idno[@type='epidat'][contains(text(), 'mz2-2208')])</condition>
                <subject type="uri" resource="http://ibr.spatialhumanities.de/gedenkfriedhof/rest/JuedischerGedenkfriedhof/features/181.xml">//viewpoint/@href</subject>
                <predicate prefix="rdf">comment</predicate>
                <object type="literal" lang="en">A viewpoint (of the laserscanner) within the pointcloud</object>
            </statement>

        	<!-- 
        		REPOSITORY: RIR 
        	-->

        	<!-- see also gravestone description -->
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="owl">seeAlso</predicate>
                <object type="uri">http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml</object>
            </statement>

        	<!-- level 1: is composed of -->
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="crm">P46_is_composed_of</predicate>
                <object type="bnode" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/object/translate(@type, '/', '-')</object>
            </statement>
            <statement>
                <subject type="bnode" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/object/translate(@type, '/', '-')</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E18_Physical_Thing</object>
            </statement>
            <statement>
                <subject type="bnode" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/object[1]/translate(@type, '/', '-')</subject>
                <predicate prefix="rdf">label</predicate>
                <object type="literal" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/object[1]/@type</object>
            </statement>
            <statement>
                <subject type="bnode" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/object[2]/translate(@type, '/', '-')</subject>
                <predicate prefix="rdf">label</predicate>
                <object type="literal" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/object[2]/@type</object>
            </statement>
            <statement>
                <subject type="bnode" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/object[3]/translate(@type, '/', '-')</subject>
                <predicate prefix="rdf">label</predicate>
                <object type="literal" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/object[3]/@type</object>
            </statement>

        	<!-- dimensions: height -->
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="crm">P43_has_dimension</predicate>
                <object type="bnode">/concat("E54_Dimension-Height-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Height-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E54_Dimension</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Height-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P9_has_value</predicate>
                <object type="literal" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/@height</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Height-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P2_has_type</predicate>
                <object type="bnode">/concat("E54_Dimension-Height-E55_Type-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Height-E55_Type-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E55_Type</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Height-E55_Type-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">label</predicate>
                <object type="literal">height</object>
            </statement>

        	<!-- dimensions: width -->
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="crm">P43_has_dimension</predicate>
                <object type="bnode">/concat("E54_Dimension-Width-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Width-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E54_Dimension</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Width-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P9_has_value</predicate>
                <object type="literal" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/@width</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Width-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P2_has_type</predicate>
                <object type="bnode">/concat("E54_Dimension-Width-E55_Type-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Width-E55_Type-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E55_Type</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Width-E55_Type-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">label</predicate>
                <object type="literal">width</object>
            </statement>

        	<!-- dimensions: depth -->
            <statement>
                <subject prefix="epidat">//tei:idno[@type='epidat']</subject>
                <predicate prefix="crm">P43_has_dimension</predicate>
                <object type="bnode">/concat("E54_Dimension-Depth-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Depth-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E54_Dimension</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Depth-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P9_has_value</predicate>
                <object type="literal" resource="http://baugeschichte.a.tu-berlin.de/bg/RiR/data/mz2_gravestonedescription.xml">//object[@invnr='2208']/@depth</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Depth-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="crm">P2_has_type</predicate>
                <object type="bnode">/concat("E54_Dimension-Depth-E55_Type-", .//tei:idno[@type='epidat'])</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Depth-E55_Type-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="crm" type="uri">E55_Type</object>
            </statement>
            <statement>
                <subject type="bnode">/concat("E54_Dimension-Depth-E55_Type-", .//tei:idno[@type='epidat'])</subject>
                <predicate prefix="rdf">label</predicate>
                <object type="literal">depth</object>
            </statement>
        </triples>
    </configuration>
    <collection>
        <resource uri="http://www.steinheim-institut.de/cgi-bin/epidat?id=mz2-2208-t"/>
    </collection>
</xtriples>