
<xsl:stylesheet xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:g2o="http://gams.uni-graz.at/ontology/#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:t="http://www.tei-c.org/ns/1.0" xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xs xd" version="2.0">
  <xsl:output encoding="UTF-8" indent="no"></xsl:output>
  <xsl:variable name="pid" select="/t:TEI/t:teiHeader/t:fileDesc/t:publicationStmt/t:idno"></xsl:variable>
  <xsl:template match="/">
    <rdf:RDF>
      <rdf:Description rdf:about="http://gams.uni-graz.at/{$pid}">
        <g2o:journal>
          <xsl:value-of select="normalize-space(//t:sourceDesc//t:title)"></xsl:value-of>
        </g2o:journal>
        <g2o:country>
          <xsl:value-of select="//t:sourceDesc//t:placeName"></xsl:value-of>
        </g2o:country>
        <g2o:lang>
          <xsl:value-of select="//t:langUsage/t:language/@ident"></xsl:value-of>
        </g2o:lang>
        <xsl:for-each select="//t:profileDesc/t:textClass/t:keywords/t:term">
          <g2o:keyword>
            <xsl:value-of select="normalize-space(t:term[@xml:lang=&apos;en&apos;])"></xsl:value-of>
          </g2o:keyword>
        </xsl:for-each>
      </rdf:Description>
    </rdf:RDF>
  </xsl:template>
</xsl:stylesheet>
