<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Helen Aristar-Dry (The LINGUIST List) -->
<!--W3C Schema generated by XMLSPY v5 rel. 2 U (http://www.xmlspy.com)-->
<xs:schema targetNamespace="http://linguistics-ontology.org/ns/gold/0.45/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:bib="http://bibtexml.sf.net/" xmlns:gold="http://linguistics-ontology.org/ns/gold/0.45/" xmlns="http://linguistics-ontology.org/ns/gold/0.45/">
	<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://dublincore.org/schemas/xmls/simpledc20021212.xsd"/>
	<xs:import namespace="http://bibtexml.sf.net/" schemaLocation="http://linguistics-ontology.org/ns/gold/0.45/bibtexml-generated.xsd"/>
	<xs:element name="citation">
		<xs:annotation>
			<xs:documentation>references a bib:entry and optionally gives page number</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element ref="gold:citation" minOccurs="0"/>
				<!-- use embedded citations for e.g.: (corbett2000:20, citing stone1993), where stone is embedded in corbett -->
			</xs:choice>
			<xs:attribute name="source" type="xs:IDREF" use="required"/>
			<xs:attribute name="page" type="xs:string"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="concept">
		<xs:complexType>
			<xs:sequence>
				<xs:choice>
					<xs:element ref="gold:subclassOf"/>
					<xs:element ref="gold:valueOf"/>
				</xs:choice>
				<xs:element ref="gold:isPartOf" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="gold:label" maxOccurs="unbounded"/>
				<xs:element ref="gold:definition"/>
				<xs:element ref="gold:scopeNote" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="gold:exampleDesc" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="id" type="xs:ID" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="cref">
		<xs:annotation>
			<xs:documentation>references another concept when mentioned in definition or scopeNote</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="source" type="xs:IDREF" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="exampleRef">
		<xs:annotation>
			<xs:documentation>references an example in another location through a URI</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="uri" type="xs:anyURI" use="required"/>
			<xs:attribute name="label" type="xs:string"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="domain">
		<xs:complexType>
			<xs:attribute name="source" type="xs:IDREF" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="exampleDesc">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="gold:defBody" minOccurs="0"/>
				<xs:element ref="gold:goldTable" minOccurs="0"/>
				<xs:element ref="gold:citation" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="exampleURI" type="xs:string"/>
			<xs:attribute name="language" type="xs:string" use="optional"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="gold">
		<xs:annotation>
			<xs:documentation>root node. the ontology.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="gold:header"/>
				<xs:element ref="gold:virtualRoot"/>
				<xs:choice maxOccurs="unbounded">
					<xs:element ref="gold:concept"/>
					<xs:element ref="gold:relationship"/>
				</xs:choice>
				<xs:element ref="bib:entry" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="namespace" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="virtualRoot">
		<xs:complexType>
			<xs:attribute name="id" type="xs:ID"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="header">
		<xs:annotation>
			<xs:documentation>contains DC metadata records</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice minOccurs="0" maxOccurs="unbounded">
				<xs:element ref="dc:creator"/>
				<xs:element ref="dc:date"/>
				<xs:element ref="dc:rights"/>
				<xs:element ref="dc:title"/>
				<xs:element ref="dc:contributor"/>
				<xs:element ref="dc:coverage"/>
				<xs:element ref="dc:description"/>
				<xs:element ref="dc:format"/>
				<xs:element ref="dc:identifier"/>
				<xs:element ref="dc:language"/>
				<xs:element ref="dc:publisher"/>
				<xs:element ref="dc:relation"/>
				<xs:element ref="dc:source"/>
				<xs:element ref="dc:subject"/>
				<xs:element ref="dc:type"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="isPartOf" type="xs:IDREF">
		<xs:annotation>
			<xs:documentation>used to connect systems and features, since they are not connected directly by subclass</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="range">
		<xs:complexType>
			<xs:attribute name="source" type="xs:IDREF" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="relationship">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="gold:subrelationOf" minOccurs="0"/>
				<xs:element ref="gold:label" maxOccurs="unbounded"/>
				<xs:element ref="gold:definition"/>
				<xs:element ref="gold:scopeNote" minOccurs="0"/>
				<xs:element ref="gold:domain" minOccurs="0"/>
				<xs:element ref="gold:range" minOccurs="0"/>
				<xs:element ref="gold:citation" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="gold:exampleDesc" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="id" type="xs:ID" use="required"/>			
		</xs:complexType>
	</xs:element>
	<xs:element name="definition">
		<xs:annotation>
			<xs:documentation>a piece of prose for human consumption, describing a concept or relationship</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element ref="gold:defBody"/>
				<xs:element ref="gold:exampleRef"/>
				<xs:element ref="gold:citation"/>
				<xs:element ref="gold:cref"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="label">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base="xs:string">
					<xs:attribute name="lang" type="xs:string" use="optional" default="en"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="scopeNote">
		<xs:annotation>
			<xs:documentation>caveats and such that don't really go into the definition</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element ref="gold:defBody"/>
				<xs:element ref="gold:exampleRef"/>
				<xs:element ref="gold:citation"/>
				<xs:element ref="gold:cref"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="subclassOf">
		<xs:annotation>
			<xs:documentation>in complementary distribution with valueOf</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="source" type="xs:IDREF" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="defBody" type="xs:string">
		<xs:annotation>
			<xs:documentation>(previously 't') bucket that contains prose for definition and scopeNote</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="valueOf">
		<xs:annotation>
			<xs:documentation>in complementary distribution with subclassOf</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="source" type="xs:IDREF" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="goldTable">
		<xs:annotation>
			<xs:documentation>used to store html tables</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="goldTr" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="goldTd" type="xs:string" maxOccurs="unbounded"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="subrelationOf">
		<xs:complexType>
			<xs:attribute name="source" type="xs:IDREF" use="optional"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
