[tei-council] Some place tests

Daniel O'Donnell daniel.odonnell at uleth.ca
Mon Mar 26 00:06:10 EST 2007


My tests are below. I tried a place that was destroyed and rebuilt as a
museum somewhere else (Fort Hamilton/Fort Whoop Up); a place that has a
huge number of names and is in a district that changed names
(Coalbanks/Lethbridge/Sikohktoks), and a river (Belly/Old Man).

I've added some comments on issues that arose interlinealy in the code.
I also ran all the examples against an rng schema produced from this
afternoon's ODD: the problems are indicated by comments. All the ones
that did not have any problems have been cut back out. (I'm reproducing
it here in case attachments aren't allowed).

-dan

P.S. a problem independent of place came up: if I want to encode the
orgName 

North West Mounted Police (NWMP)/Royal Canadian Mounted Police (RCMP),
the "Mounties"

How does one do that? I original wanted to do

<orgName>
 <choice>
  <expan>North West Mounted Police</expan>
<abbr>NWMP</abbr>
<soCalled>Mounties</soCalled>
<choice>

But soCalled wasn't allowed in the choice. I'm wondering if there is a
way of getting all three or five names, nicknames, and abbreviations
into a single ancestor element while indicating the connection between
them in a fashion similar to my typography above.

-----------------

<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="file:/home/dan/Desktop/testplace(3).rng"
type="xml"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
    <teiHeader>
        <fileDesc>
            <titleStmt>
                <title>Place Test</title>
            </titleStmt>
            <publicationStmt>
                <p>Sample test</p>
            </publicationStmt>
            <sourceDesc>
                <p>Born electronic</p>
            </sourceDesc>
        </fileDesc>
    </teiHeader>
    <text>
        <body>
            <listPlace>
                <place>
                    <placeName from="1869" notAfter="1915"
type="official">Fort Hamilton</placeName>
                    <placeName notBefore="1869">Fort Whoop
Up</placeName>
                    <!-- Locale not permitted -->
                    <locale>Trading fort and later museum/interpretative
centre.</locale>
                    <!-- Location not permitted @from, @notAfter,
@notBefore -->
                    <location type="political">
                        <!-- the distrinct name changed in the course of
the life of this place-->
                        <country>Canada</country>
                        <district>Alberta</district>
                    </location>
                    <location from="1869" notAfter="1915">
                        <rs>Confluence of the <placeName>St.
Mary's</placeName> and <placeName>Old
                                Man</placeName>
(<placeName>Belly</placeName>) rivers</rs>
                    </location>
                    <location from="1869" notAfter="1915">
                        <measure
type="Lat-Long">49.626502,-112.886925</measure>
                    </location>
                    <location from="1967">
                        <measure>49.714491,-112.861862</measure>
                    </location>
                    <location from="1967">
                        <country>Canada</country>
                        <district>Alberta</district>
                        <name>City of Lethbridge</name>
                        <geogName>Indan Battle Park</geogName>
                    </location>
                    <placeEvent type="Established" from="1869">
                        <p>Established as a trading fort by
<persName>J.J. Healy</persName> and
                                <persName>A.B. Hamilton</persName></p>
                    </placeEvent>
                    <placeEvent type="Historical" notBefore="1874">
                        <p>Policed by the <orgName>
                                <choice>
                                    <expan>North West Mounted
Police</expan>
                                    <abbr>NWMP</abbr>
                                </choice>
                            </orgName></p>
                    </placeEvent>
                    <placeEvent type="Abandoned" notBefore="1890"
notAfter="1892">
                        <p>Abandoned sometime between 1890 and 1892.</p>
                    </placeEvent>
                    <placeEvent type="Destroyed" from="1915">
                        <p>Washed away in flood of the
<placeName>Oldman</placeName> river</p>
                    </placeEvent>
                    <placeEvent type="Recreated" from="1967">
                        <p>Recreated as a Centenial project in a new
location.</p>
                    </placeEvent>
                    <placeEvent type="Synopsis">
                        <p>Fort Hamilton/Fort Whoop Up was established
as a trading fort at the
                            confluence of the St. Mary's and Belly (now
Oldman) rivers in 1869 by
                                <persName>J.J. Healy</persName> and
<persName>A.B.
                            Hamilton</persName>, American traders from
                            <placeName>Montana</placeName>. The fort was
established in large part
                            in response to the enactment of laws
forbidding the sale of alcohol on
                            the nearby Montana Reserves that same year.
Although the fort carried
                            out legitimate trade, the fort also rapidly
became one of the more
                            notorious Whiskey trading posts in the
Canadian North West. Prompted in
                            part by the threat these forts posed to good
order (Whiskey traders
                            massacred a number of Assiniboine in the
nearby Cyprus Hills in 1873)
                            and in part by the threat to sovereinty
posed by the largely
                            American-run Whiskey trade (Fort Whoop Up
used a flag that closely
                            resembled the U.S. Stars and Stripes), in
1874 the government of the new
                            Dominion of Canada established the <orgName>
                                <choice>
                                    <expan>North West Mounted
Police</expan>
                                    <abbr>NWMP</abbr>
                                </choice>
                            </orgName> (later the <orgName>
                                <choice>
                                    <expan>Royal Canadian Mounted
Police</expan>
                                    <abbr>RCMP</abbr>
                                </choice>
                            </orgName>) to police the new territories.
By the fall of 1874, the NWMP
                            had established a presence in the area (they
even rented barack space
                            from Healy and Hamilton at the fort), and
brought the whiskey trade
                            under control. The fort continued as a
legitimate trading post until it
                            was abandoned in the early 1890s. The last
remnants of the original
                            structures were washed away in a flood of
the Oldman (formerly Belly)
                            river in 1915.</p>
                        <p>The fort was recreated as a museum and
interpretative centre
                            approximately 7 km downstream (NW) of the
original site in Indian Battle
                            Park, an urban park of the City of
Lethbridge, as a Centennial project
                            in 1967.</p>
                    </placeEvent>
                </place>
                <place>
                    <placeName type="official" notBefore="1885-05"
from="1885-10-15">Lethbridge</placeName>
                    <placeName type="official" notBefore="1882-10"
to="1885-10-15">Coalbanks</placeName>
                    <placeName type="official">
                        <foreign xml:lang="bla"
xml:id="sikohkotoks0001">Sikohkotoks</foreign>
                        <gloss target="#sikohkotoks0001">Black
Rocks</gloss>
                    </placeName>
                    <!-- Not all of these native names are equally
accurate or use equally preferred spellings. It would be nice to be able
to rank them in some way -->
                    <placeName type="official">
                        <foreign xml:lang="bla"
xml:id="sikokotoks0001">Sikokotoks</foreign>
                        <gloss target="#sikokotoks0001">Black
Rocks</gloss>
                    </placeName>
                    <placeName type="official">
                        <foreign xml:lang="bla"
xml:id="sikoohkotoks0001">Sikoohkotoks</foreign>
                        <gloss target="#sikoohkotoks0001">Black
Rocks</gloss>
                    </placeName>
                    <placeName>
                        <foreign xml:lang="bla"
xml:id="aksaysim0001">Aksaysim</foreign>
                        <gloss target="#aksaysim0001">Steep
Banks</gloss>
                    </placeName>
                    <placeName>
                        <foreign xml:lang="bla"
xml:id="aksiiksahko0001">Aksiiksahko</foreign>
                        <gloss target="#aksiiksahko0001">Steep
Banks</gloss>
                    </placeName>
                    <placeName>
                        <foreign xml:lang="bla"
xml:id="mek-kio-towaghs0001">Mek-kio-towaghs</foreign>
                        <gloss target="#mek-kio-towaghs0001">Painted
Rock, Red Painted Rock,
                            Medicine Stone</gloss>
                    </placeName>
                    <placeName>
                        <foreign xml:lang="bla"
xml:id="miiksskoowa0001">Miiksskoowa</foreign>
                        <gloss target="#miiksskoowa0001">Painted Rock,
Red Painted Rock, Medicine
                            Stone</gloss>
                    </placeName>
                    <placeName>
                        <foreign xml:lang="bla"
xml:id="assini-etomochi0001">Assini-etomochi</foreign>
                        <gloss target="#assini-etomochi0001">Where We
Slaughtered the Crees</gloss>
                    </placeName>
                    <placeName>
                        <foreign xml:lang="bla"
xml:id="asinaawaiitomottsaawa0001"
                            >Asinaawaiitomottsaawa</foreign>
                        <gloss target="#asinaawaiitomottsaawa0001">Where
We Slaughtered the
                        Crees</gloss>
                    </placeName>
                    <placeName>
                        <foreign xml:lang="sar"
xml:id="chadish-kashi0001">Chadish-kashi</foreign>
                        <gloss target="#chadish-kashi0001">Black
Rocks</gloss>
                    </placeName>
                    <placeName>
                        <foreign xml:lang="cre"
xml:id="kuskusukisay-guni0001">Kuskusukisay-guni</foreign>
                        <gloss target="#kuskusukisay-guni0001">Black
Rocks</gloss>
                    </placeName>
                    <placeName>
                        <foreign xml:lang="sto"
xml:id="ipubin-saba-akabin0001">Ipubin-saba-akabin</foreign>
                        <gloss target="#ipubin-saba-akabin0001">Digging
coal</gloss>
                    </placeName>
                    <placeName type="nickname">
                        <choice>
                            <abbr>LA</abbr>
                            <expan>Lethbridge, Alberta</expan>
                        </choice>
                    </placeName>
                    <!-- the distrinct name changed in the course of the
life of this place -->
                    <location type="political">
                        <country>Canada</country>
                        <district>Alberta</district>
                    </location>
                    <location>
                        <measure type="lat-long">49.7000,
-112.8330</measure>
                    </location>
                    <!-- This info all comes from the last census
figures
http://www12.statcan.ca/english/profil01/CP01/Details/Page.cfm?Lang=E&Geo1=CSD&Code1=4802012&Geo2=PR&Code2=48&Data=Count&SearchText=Lethbridge&SearchType=Begins&SearchPR=01&B1=All&Custom=; I wonder if there is a way of keeping the tabular data? -->
                    <placeTrait type="population" from="2001">
                        <label>Population (2001 Census)</label>
                        <p>67,374</p>
                    </placeTrait>
                    <placeTrait type="population" notBefore="1999">
                        <label>Population (1999 Census)</label>
                        <p>63,053</p>
                    </placeTrait>
                    <placeTrait type="area">
                        <label>Land Area (2001 Census)</label>
                        <p>
                            <measure unit="km2">121.83</measure>
                        </p>
                    </placeTrait>
                    <placeTrait type="populationDensity">
                        <label>Population Density (2001 Census)</label>
                        <p>
                            <measure
unit="population/km2">121.83</measure>
                        </p>
                    </placeTrait>
                    <placeTrait type="TotalPrivateDwellings">
                        <label>Total Private Dwellings (2001
Census)</label>
                        <p>
                            <measure unit="units">553.0</measure>
                        </p>
                    </placeTrait>
                    <placeTrait type="population20-24Male"
notBefore="2001">
                        <label>Population, Male 20-24 (2001
Census)</label>
                        <p>3,050</p>
                    </placeTrait>
                    <placeTrait type="population20-24Female"
notBefore="2001">
                        <label>Population, Female 20-24 (2001
Census)</label>
                        <p>3,270</p>
                    </placeTrait>
                    <placeTrait type="populationCommonLaw"
notBefore="2001">
                        <label>Population, Common Law Status (Total,
2001 Census)</label>
                        <p>3,670</p>
                    </placeTrait>
                    <placeTrait type="populationCommonLawMale"
notBefore="2001">
                        <label>Population, Common Law Status (Male, 2001
Census)</label>
                        <p>1,820</p>
                    </placeTrait>
                    <placeTrait type="populationCommonLawFemale"
notBefore="2001">
                        <label>Population, Common Law Status (Female,
2001 Census)</label>
                        <p>1,850</p>
                    </placeTrait>
                    <placeTrait type="averageWageIncome"
notBefore="2001">
                        <p>
                            <measure type="currency"
unit="CAD">27,090</measure>
                        </p>
                    </placeTrait>
                    <placeEvent type="firstEuropeanActivity"
notBefore="1869">
                        <p>The first European activity occurred in the
early 1870s when a coal mine
                            was established by Nicolas Sheran to supply
Fort Hamilton NWMP posts in
                            the area.</p>
                    </placeEvent>
                    <placeEvent type="firstEuropeanSettlement"
from="1882-10">
                        <p>The first significant European settlement was
established in 1882 when
                            Sir Alexander Galt and the <choice>
                                <expan>North West Coal and Navigation
Company</expan>
                                <abbr>NWC&amp;NC</abbr>
                            </choice> opened a more significant mine
across the river. This
                            settlement was initially known as
<placeName>Coalbanks</placeName> (a
                            calque of the Blackfoot name for the
area).</p>
                    </placeEvent>
                    <placeEvent type="firstEuropeanSettlement"
from="1885-10-15">
                        <p>The town was renamed
<placeName>Lethbridge</placeName> after the then
                            president of the NWC&amp;NC,
<persName>William
                            Lethbridge</persName>.</p>
                    </placeEvent>
                    <placeEvent type="incorporation" from="1891-01-15">
                        <p>Lethbridge is incorporated as a town with
proclaimation of Ordinance No.
                            24.</p>
                    </placeEvent>
                    <placeEvent type="incorporation" from="1906-05-09">
                        <p>Lethbridge is incorporated as a city by an
act of the Alberta
                            Legislature.</p>
                    </placeEvent>
                </place>
                <place>
                    <placeName>Oldman River</placeName>
                    <placeName>Belly River</placeName>
                    <location type="headwater">
                        <geogName>Mount Gass</geogName>
                    </location>
                    <location type="headwater">
                        <measure
type="lat-long">50.120578,-114.674263</measure>
                    </location>
                    <location type="confluenceWithCrowsnestRiver">
                        <measure
type="lat-long">49.600698,-114.048729</measure>
                    </location>
                    <location type="confluenceWithCrowsnestRiver">
                        <rs>Oldman Reservoir</rs>
                    </location>
                    <location type="town">
                        <rs>Fort Macleod</rs>
                    </location>
                    <location type="confluenceWithWillowCreek">
                        <measure
type="lat-long">49.756651,-113.362427</measure>
                    </location>
                    <location type="confluenceWithSt.Marys">
                        <measure
type="lat-long">49.626502,-112.886925</measure>
                    </location>
                    <location type="town">
                        <rs>Lethbridge</rs>
                    </location>
                    <location type="confluenceWithLittleBow">
                        <measure
type="lat-long">49.886451,-112.474937</measure>
                    </location>
                    <location type="confluenceWithBow">
                        <measure
type="lat-long">49.931887,-111.692505</measure>
                    </location>
                    <placeTrait type="basin">
                        <p>
                            <measure type="East-West"
unit="km">209</measure>
                            <measure type="North-South"
unit="km">241</measure>
                        </p>
                    </placeTrait>
                    <placeTrait type="basinArea">
                        <p>
                            <measure type="area"
unit="km2">25,100</measure>
                        </p>
                    </placeTrait>
                    <!-- it would be nice to be able to correlate the
following with locations: perhaps by using nested placeNames even though
these are realy region types rather than geographic names? -->
                    <placeTrait type="Cordillera">
                        <p>
                            <quote>The mountainous region of the
watershed serves as the headwaters
                                for the Oldman River and its
tributaries. Headwaters for the Belly,
                                Waterton, and St. Marys rivers begin in
Montana. The coldwater
                                streams of the mountain and foothill
regions support a large sport
                                fishery. This region is largely forested
with stands of aspen and
                                lodgepole pine. The stands become more
continuous with elevation,
                                and include white spruce, douglas fir,
engelmann spruce, alpine fir,
                                and alpine larch.</quote>
                            <ref
target="http://www.uoguelph.ca/gwmg/wcp_home/Pages/O_ne.htm"/>
                        </p>
                    </placeTrait>
                    <placeTrait type="Foothills">
                        <p>
                            <quote>The foothills region is characterised
by rolling hills, and a
                                fragile foothills fescue vegetation
ecosystem that is threatened by
                                introduction of non-native vegetation
and extensive cattle grazing.
                                The foothills are a result of uplifting
of the Rocky Mountains in
                                the Cenozoic era (65 million years to
present), when shale and
                                sandstone deposits were broken and
pushed eastward in ripples</quote>
                            <ref
target="http://www.uoguelph.ca/gwmg/wcp_home/Pages/O_ne.htm"/>
                        </p>
                    </placeTrait>
                    <placeTrait type="Plains">
                        <p>
                            <quote>The plains region comprises
approximately 80 percent of the
                                watershed. The area is characterised by
dark brown chernozemic soils
                                that are well suited to agriculture. The
conversion of natural
                                prairie vegetation to agricultural crop
production and cattle
                                grazing has resulted in the natural
prairie ecosystem being the most
                                threatened ecosystem in Alberta. The
most urbanised section of the
                                watershed is the eastern portion, around
the City of Lethbridge, and
                                the towns of Coaldale and Taber. Here
the landscape is fragmented by
                                multiple land uses. The Oldman River
above Lethbridge supports some
                                coldwater and warmwater fisheries, while
the area downstream of
                                Lethbridge is a warmwater
fishery.</quote>
                            <ref
target="http://www.uoguelph.ca/gwmg/wcp_home/Pages/O_ne.htm"/>
                        </p>
                    </placeTrait>
                    <placeTrait type="climate">
                        <p>
                            <quote>The climate of Southern Alberta is
semi-arid with extremes of
                                weather, and great day-to-day potential
variation in local climate.
                                Climate conditions in the Oldman River
watershed vary across two
                                climatic regions. The Rocky Mountains in
the western portion of the
                                watershed are part of the Cordillera
climatic region. This region is
                                characterized by short, cool summers and
highly variable weather.
                                The Prairie region is characterized by
warm-to-hot summers, extreme
                                seasonal temperature variations, dry
artic winter air, rain shadow
                                effects, and moisture deficits.
Precipitation in the region also
                                follows a gradient whereby the mountains
receive up to 110 cm per
                                year, compared to 35 cm near Taber, in
the eastern portion of the
                                watershed.</quote>
                            <ref
target="http://www.uoguelph.ca/gwmg/wcp_home/Pages/O_ne.htm"/>
                        </p>
                    </placeTrait>
                    <placeTrait type="waterflows">
                        <p>
                            <quote>Approximately 60 percent of the
annual discharge of the Oldman
                                River and its tributaries flows between
April and June, due to snow
                                melt in the mountains. In addition to
high streamflows from spring
                                melting, flooding is often caused by
high intensity rainfall events
                                occurring in early- to mid-summer. This
was the case on June 5,
                                1995, when flooding caused $88,000,000
in damages in the watershed.
                                Streamflows are typically the lowest
during the months of August and
                                September, making low water levels a
particular concern in the late
                                summer and fall. Drought conditions in
2000 and 2001 highlighted the
                                susceptibility of the region to drought.
It is expected that given
                                future climate change and variability
there will be more intense and
                                numerous periods of drought.</quote>
                            <ref
target="http://www.uoguelph.ca/gwmg/wcp_home/Pages/O_ne.htm"/>
                        </p>
                    </placeTrait>
                    <placeEvent>
                        <label>Headwaters</label>
                        <p>The Oldman river has its headwaters near Mt.
Gass, Alberta. It is also
                            fed by the Mt. Lyall glacier.</p>
                    </placeEvent>
                    <placeEvent>
                        <label>Mouth</label>
                        <p>The Oldman river ends when it combines with
the Bow to form the South
                            Saskatchewan river</p>
                    </placeEvent>
                </place>
                <place xml:id="LYON1"
                    xmlns:rng="http://relaxng.org/ns/structure/1.0"
                    xmlns:gml="http://www.opengis.net/gml">
                    <placeName notBefore="1400">Lyon</placeName>
                    <placeName notAfter="-0056">Lugdunum</placeName>
                    <location>
                        <Polygon xmlns="http://www.opengis.net/gml">
                            <exterior
xmlns="http://www.opengis.net/gml">
                                <LinearRing
xmlns="http://www.opengis.net/gml"> 45.256 -110.45 46.46 -109.48 43.84
-109.86 45.8 -109.2 45.256 -110.45 </LinearRing>
                            </exterior>
                        </Polygon>
                    </location>
                    <!-- locale not permitted -->
                    <locale>city</locale>
                </place>
                <place xml:id="LYON2"
                    xmlns:rng="http://relaxng.org/ns/structure/1.0"
                    xmlns:gml="http://www.opengis.net/gml">
                    <placeName notBefore="1400">Lyon</placeName>
                    <placeName notAfter="-0056">Lugdunum</placeName>
                    <location>
                        <bloc>EU</bloc>
                        <country>France</country>
                    </location>
                    <!-- locale not permitted -->
                    <locale>city</locale>
                </place>
                <place type="building"
                    xmlns:rng="http://relaxng.org/ns/structure/1.0"
                    xmlns:gml="http://www.opengis.net/gml">
                    <placeName>Brasserie Georges</placeName>
                    <location>
                        <country key="#FR"/>
                        <settlement type="city">Lyon</settlement>
                        <district
type="arrondissement">Perrache</district>
                        <placeName type="street">Rue de la
Charité</placeName>
                    </location>
                    <!-- locale not permitted -->
                    <locale>Restaurant</locale>
                </place>
                <place xml:id="LYON3"
                    xmlns:rng="http://relaxng.org/ns/structure/1.0"
                    xmlns:gml="http://www.opengis.net/gml">
                    <placeName notBefore="1400">Lyon</placeName>
                    <placeName notAfter="-0056">Lugdunum</placeName>
                    <!-- location not after/before not permitted -->
                    <location notAfter="-0056">
                        <Polygon xmlns="http://www.opengis.net/gml">
                            <exterior
xmlns="http://www.opengis.net/gml">
                                <LinearRing
xmlns="http://www.opengis.net/gml"> 45.1 -110.23 46.48 -99.08 31.74
-108.86 45.3 -78.2 42.25 -103.45 </LinearRing>
                            </exterior>
                        </Polygon>
                    </location>
                    <!-- location not after/before not permitted -->
                    <location notBefore="1950">
                        <Polygon xmlns="http://www.opengis.net/gml">
                            <exterior
xmlns="http://www.opengis.net/gml">
                                <LinearRing
xmlns="http://www.opengis.net/gml"> 45.256 -110.45 46.46 -109.48 43.84
-109.86 45.8 -109.2 45.256 -110.45 </LinearRing>
                            </exterior>
                        </Polygon>
                    </location>
                </place>
                <place xml:id="HARRYS"
                    xmlns:rng="http://relaxng.org/ns/structure/1.0"
                    xmlns:gml="http://www.opengis.net/gml">
                    <!-- text not permitted in location --> 
                    <location>Junction of Park Street and Charlotte
Street</location>
                    <locale>fire hydrant</locale>
                </place>
                <place
                    xmlns:rng="http://relaxng.org/ns/structure/1.0"
                    xmlns:gml="http://www.opengis.net/gml">
                    <!-- placename typo in example -should be placeName
-->
                    <placename>Atlantis</placename>
                    <!-- text not permitted in location --> 
                    <location>Unknown</location>
                </place>
                <place xml:id="MYF"
                    xmlns:rng="http://relaxng.org/ns/structure/1.0"
                    xmlns:gml="http://www.opengis.net/gml">
                    <placeName notAfter="1969">Yasgur's Farm</placeName>
                    <placeName notBefore="1969">Woodstock Festival
Site</placeName>
                    <location>
                        <!-- distance not allowed here -->
                        <distance>one mile</distance>
                        <!-- offset not allowed here -->
                        <offset>north west of</offset>
                        <settlement>Bethel</settlement>
                        <region>New York</region>
                    </location>
                    <!-- text not permitted in location --> 
                    <location scheme="LatLong">41.687142
-74.870109</location>
                </place>
                <place
                    xmlns:rng="http://relaxng.org/ns/structure/1.0"
                    xmlns:gml="http://www.opengis.net/gml">
                    <country>Lithuania</country>
                    <country xml:lang="lt">Lietuva</country>
                    <place>
                        <settlement>Vilnius</settlement>
                    </place>
                    <place>
                        <settlement>Kaunas</settlement>
                    </place>
                </place>
            </listPlace>
        </body>
    </text>
</TEI>

-- 
Daniel Paul O'Donnell, PhD
Director, Digital Medievalist Project http://www.digitalmedievalist.org/
Associate Professor and Chair, Department of English
University of Lethbridge
Lethbridge AB T1K 3M4
Canada
Vox: +1 403 329-2378
Fax: +1 403 382-7191




More information about the tei-council mailing list