<?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="tei" uri="http://www.tei-c.org/ns/1.0"/>
            <vocabulary prefix="cd" uri="http://correspsearch.bbaw.de/ontology/0.1/correspDesc#"/>
            <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/"/>
            <vocabulary prefix="owltime" uri="http://www.w3.org/2006/time#"/>
        </vocabularies>
        <triples>
            <statement>
                <subject>//tei:correspAction[@type='sent']/tei:persName/@ref</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="foaf" type="uri">Person</object>
            </statement>
            <statement>
                <subject>//tei:correspAction[@type='sent']/tei:persName/@ref</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="cd" type="uri">Sender</object>
            </statement>
            <statement>
                <subject>//tei:correspAction[@type='sent']/tei:persName/@ref</subject>
                <predicate prefix="rdfs">label</predicate>
                <object type="literal" lang="de">//tei:correspAction[@type='sent']/tei:persName/text()</object>
            </statement>
            <statement>
                <subject>//tei:correspAction[@type='received']/tei:persName/@ref</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="foaf" type="uri">Person</object>
            </statement>
            <statement>
                <subject>//tei:correspAction[@type='received']/tei:persName/@ref</subject>
                <predicate prefix="rdf">type</predicate>
                <object prefix="cd" type="uri">Recipient</object>
            </statement>
            <statement>
                <subject>//tei:correspAction[@type='received']/tei:persName/@ref</subject>
                <predicate prefix="rdfs">label</predicate>
                <object type="literal" lang="de">//tei:correspAction[@type='received']/tei:persName/text()</object>
            </statement>
            <statement>
                <subject>//tei:correspAction[@type='sent']/tei:persName/@ref</subject>
                <predicate prefix="cd">sending</predicate>
                <object type="uri">//tei:correspAction[@type='received']/tei:persName/@ref</object>
            </statement>
        </triples>
    </configuration>
    <collection uri="https://correspSearch.bbaw.de/api/v1.1/tei-xml.xql?correspondent=http://d-nb.info/gnd/118540238&amp;startdate=1793-01-01&amp;enddate=1808-02-02" max="10">
        <resource uri="{//tei:correspDesc}"/>
    </collection>
</xtriples>