Statistics
| Revision:

root / tmp / org.txm.core / res / org / txm / xml / xsl / tei / rdf / tei2rdf.xsl @ 187

History | View | Annotate | Download (5.6 kB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<XSL:stylesheet xmlns:XSL="http://www.w3.org/1999/XSL/Transform" version="2.0"
3
                xpath-default-namespace="http://www.tei-c.org/ns/1.0">
4
   <XSL:import href="../tools/getfiles.xsl"/>
5
   <XSL:import href="crm.xsl"/>
6
   <XSL:param name="corpus">./</XSL:param>
7
   <XSL:template match="*">
8
      <XSL:apply-templates select="*|@*|processing-instruction()|comment()|text()"/>
9
   </XSL:template>
10
   <XSL:template match="text()|comment()|@*|processing-instruction()"/>
11
   <XSL:template match="name">
12
      <XSL:call-template name="teiname"/>
13
   </XSL:template>
14
   <XSL:template match="date">
15
      <XSL:call-template name="E52"/>
16
   </XSL:template>
17
   <XSL:template match="author">
18
      <XSL:call-template name="E65"/>
19
   </XSL:template>
20
   <XSL:template match="title">
21
      <XSL:call-template name="E35"/>
22
   </XSL:template>
23
   <XSL:template match="teiHeader">
24
      <XSL:call-template name="E31"/>
25
   </XSL:template>
26
   <XSL:template match="TEI">
27
      <XSL:call-template name="TEI"/>
28
   </XSL:template>
29
   <XSL:template match="persName">
30
      <XSL:call-template name="E82"/>
31
   </XSL:template>
32
   <XSL:template match="placeName">
33
      <XSL:call-template name="E48"/>
34
   </XSL:template>
35
   <XSL:template match="birth">
36
      <XSL:call-template name="E67"/>
37
   </XSL:template>
38
   <XSL:template match="death">
39
      <XSL:call-template name="E69"/>
40
   </XSL:template>
41
   <XSL:template match="event">
42
      <XSL:call-template name="E5"/>
43
   </XSL:template>
44
   <XSL:template match="geo">
45
      <XSL:call-template name="E47"/>
46
   </XSL:template>
47
   <XSL:template match="org">
48
      <XSL:call-template name="E74"/>
49
   </XSL:template>
50
   <XSL:template match="person">
51
      <XSL:call-template name="E21"/>
52
   </XSL:template>
53
   <XSL:template match="place">
54
      <XSL:call-template name="E53"/>
55
   </XSL:template>
56
   <XSL:template match="residence">
57
      <XSL:call-template name="P74"/>
58
   </XSL:template>
59
   <XSL:template match="ab">
60
      <XSL:call-template name="anonblock"/>
61
   </XSL:template>
62
   <XSL:template name="typology">
63
      <E55_Type xmlns="http://purl.org/NET/crm-owl#"
64
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
65
                rdf:about="http://www.tei-c.org/type/place">
66
         <label xmlns="http://www.w3.org/2000/01/rdf-schema#">place</label>
67
      </E55_Type>
68
      <E55_Type xmlns="http://purl.org/NET/crm-owl#"
69
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
70
                rdf:about="http://www.tei-c.org/type/place/placeName">
71
         <label xmlns="http://www.w3.org/2000/01/rdf-schema#">contains an absolute or relative place name. </label>
72
         <P127_has_broader_term rdf:resource="http://www.tei-c.org/type/place"/>
73
      </E55_Type>
74
      <E55_Type xmlns="http://purl.org/NET/crm-owl#"
75
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
76
                rdf:about="http://www.tei-c.org/type/place/bloc">
77
         <label xmlns="http://www.w3.org/2000/01/rdf-schema#">(bloc) contains the name of a geo-political unit consisting of two or more nation states or
78
    countries.</label>
79
         <P127_has_broader_term rdf:resource="http://www.tei-c.org/type/place"/>
80
      </E55_Type>
81
      <E55_Type xmlns="http://purl.org/NET/crm-owl#"
82
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
83
                rdf:about="http://www.tei-c.org/type/place/country">
84
         <label xmlns="http://www.w3.org/2000/01/rdf-schema#">(country) contains the name of a geo-political unit, such as a nation, country, colony, or
85
    commonwealth, larger than or administratively superior to a region and smaller than a bloc.</label>
86
         <P127_has_broader_term rdf:resource="http://www.tei-c.org/type/place"/>
87
      </E55_Type>
88
      <E55_Type xmlns="http://purl.org/NET/crm-owl#"
89
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
90
                rdf:about="http://www.tei-c.org/type/place/region">
91
         <label xmlns="http://www.w3.org/2000/01/rdf-schema#">contains the name of an administrative unit such as a state, province, or county, larger
92
    than a settlement, but smaller than a country.</label>
93
         <P127_has_broader_term rdf:resource="http://www.tei-c.org/type/place"/>
94
      </E55_Type>
95
      <E55_Type xmlns="http://purl.org/NET/crm-owl#"
96
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
97
                rdf:about="http://www.tei-c.org/type/place/district">
98
         <label xmlns="http://www.w3.org/2000/01/rdf-schema#">contains the name of any kind of subdivision of a settlement, such as a parish, ward, or other administrative or geographic unit.</label>
99
         <P127_has_broader_term rdf:resource="http://www.tei-c.org/type/place"/>
100
      </E55_Type>
101
      <E55_Type xmlns="http://purl.org/NET/crm-owl#"
102
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
103
                rdf:about="http://www.tei-c.org/type/place/settlement">
104
         <label xmlns="http://www.w3.org/2000/01/rdf-schema#">contains the name of a settlement such as a city, town, or village identified as a single geo-political or administrative unit.</label>
105
         <P127_has_broader_term rdf:resource="http://www.tei-c.org/type/place"/>
106
      </E55_Type>
107
      <E55_Type xmlns="http://purl.org/NET/crm-owl#"
108
                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
109
                rdf:about="http://www.tei-c.org/type/place/geogName">
110
         <label xmlns="http://www.w3.org/2000/01/rdf-schema#">(geographical name) a name associated with some geographical feature such as Windrush Valley or Mount Sinai.</label>
111
         <P127_has_broader_term rdf:resource="http://www.tei-c.org/type/place"/>
112
      </E55_Type>
113
   </XSL:template>
114
</XSL:stylesheet>