Prolex / ProLMF_3_1 /ProLMF_3_1.xsd
de-francophones's picture
Upload 14 files
f720151 verified
raw
history blame
30.1 kB
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pxb="http://www.cnrtl.fr/lexiques/prolex/"
targetNamespace="http://www.cnrtl.fr/lexiques/prolex/" elementFormDefault="qualified">
<annotation>
<documentation xml:lang="en">
Copyright 2013 Beatrice BOUCHOU, Denis Maurel,
beatrice.bouchou@univ-tours.fr, denis.maurel@univ-tours.fr
This schema defines the LMF compliant structure of ProLMF.
ProLMF is the LMF version of Prolexbase,
a multilingual lexical resource on proper names and their relations.
This schema and ProLMF are free resources: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License For Linguistic Resources.
This schema and ProLMF are distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License For Linguistic Resources for more details.
You should have received a copy of the GNU Lesser General Public License For Linguistic Resources,
along with this schema and ProLMF. If not, see http://tln.li.univ-tours.fr/Tln_LGPL-LR.html.
</documentation>
</annotation>
<annotation>
<documentation xml:lang="en">
The following Data Categories are used in ProLMF (unspecified DC numbers
denote a not yet defined DC):
abbreviation "http://www.isocat.org/datcat/DC-1418"
accessibilityContext "http://www.isocat.org/datcat/DC-"
acronym "http://www.isocat.org/datcat/DC-334"
adjective "http://www.isocat.org/datcat/DC-1230"
associativeRelation "http://www.isocat.org/datcat/DC-"
classifyingContext "http://www.isocat.org/datcat/DC-"
commonlyUsed "http://www.isocat.org/datcat/DC-1984"
determiner "http://www.isocat.org/datcat/DC-1272"
diachronic "http://www.isocat.org/datcat/DC-"
diaphasic "http://www.isocat.org/datcat/DC-"
diastratic "http://www.isocat.org/datcat/DC-"
diastraticQuasiSynonym "http://www.isocat.org/datcat/DC-"
diatopicQuasiSynonym "http://www.isocat.org/datcat/DC-"
entrySource "http://www.isocat.org/datcat/DC-207"
explanation "http://www.isocat.org/datcat/DC-223"
externalReference "http://www.isocat.org/datcat/DC-1975"
externalSystem "http://www.isocat.org/datcat/DC-1974"
feminine "http://www.isocat.org/datcat/DC-1880"
feminineRelationalName "http://www.isocat.org/datcat/DC-"
frequency "http://www.isocat.org/datcat/DC-1965"
fullForm "http://www.isocat.org/datcat/DC-321"
grammaticalGender "http://www.isocat.org/datcat/DC-1297"
grammaticalMood "http://www.isocat.org/datcat/DC-366"
grammaticalNumber "http://www.isocat.org/datcat/DC-2176"
grammaticalPerson "http://www.isocat.org/datcat/DC-1328"
grammaticalTense "http://www.isocat.org/datcat/DC-1286"
infrequentlyUsed "http://www.isocat.org/datcat/DC-1985"
introducer "http://www.isocat.org/datcat/DC-2245"
label "http://www.isocat.org/datcat/DC-1857"
languageCoding "http://www.isocat.org/datcat/DC-2008"
languageIdentifier "http://www.isocat.org/datcat/DC-279"
locativePreposition "http://www.isocat.org/datcat/DC-"
masculine "http://www.isocat.org/datcat/DC-1883"
masculineFeminine "http://www.isocat.org/datcat/DC-249"
masculineRelationalName "http://www.isocat.org/datcat/DC-"
noun "http://www.isocat.org/datcat/DC-1333"
orthographyName "http://www.isocat.org/datcat/DC-2176"
partitiveRelation "http://www.isocat.org/datcat/DC-"
partOfSpeech "http://www.isocat.org/datcat/DC-1345"
possessiveAdjective "http://www.isocat.org/datcat/DC-3017"
prefix "http://www.isocat.org/datcat/DC-1365"
quasiRelationalAdjective "http://www.isocat.org/datcat/DC-"
quasiRelationalName "http://www.isocat.org/datcat/DC-"
quasiSynonymy "http://www.isocat.org/datcat/DC-"
rarelyUsed "http://www.isocat.org/datcat/DC-1986"
relationalAdjective "http://www.isocat.org/datcat/DC-"
relationalName "http://www.isocat.org/datcat/DC-"
resourceName "http://www.isocat.org/datcat/DC-2544"
restrictionRank "http://www.isocat.org/datcat/DC-1862"
script "http://www.isocat.org/datcat/DC-1855"
shortForm "http://www.isocat.org/datcat/DC-332"
subjectField "http://www.isocat.org/datcat/DC-489"
termProvenance "http://www.isocat.org/datcat/DC-509"
transcribedForm "http://www.isocat.org/datcat/DC-322"
translationVariant "http://www.isocat.org/datcat/DC-"
usageNote "http://www.isocat.org/datcat/DC-526"
variant "http://www.isocat.org/datcat/DC-1851"
verb "http://www.isocat.org/datcat/DC-1424"
version "http://www.isocat.org/datcat/DC-2547"
</documentation>
</annotation>
<element name="LexicalResource" type="pxb:LexicalResource_type">
<annotation>
<documentation xml:lang="en">
This element is the document root, cf. LexicalResource_type for its content.
</documentation>
</annotation>
<key name="senseAxis_key">
<annotation>
<documentation xml:lang="en">
Each element SenseAxis is uniquely identified in the whole
document by its attribute 'id'.
</documentation>
</annotation>
<selector xpath="./pxb:SenseAxis"/>
<field xpath="@id"/>
</key>
<keyref name="senseAxis_sense_references" refer="pxb:senseAxis_key">
<annotation>
<documentation xml:lang="en">
Elements Sense in each lexicon reference elements SenseAxis
with their attribute 'refSenseAxis'.
</documentation>
</annotation>
<selector xpath="./pxb:Lexicon/pxb:LexicalEntry/pxb:Sense"/>
<field xpath="@refSenseAxis"/>
</keyref>
<keyref name="senseAxis_senseAxisRelation_references" refer="pxb:senseAxis_key">
<annotation>
<documentation xml:lang="en">
Elements SenseAxisRelation reference elements SenseAxis
with their attribute 'refSenseAxis'.
</documentation>
</annotation>
<selector xpath="./pxb:SenseAxis/pxb:SenseAxisRelation"/>
<field xpath="@refSenseAxis"/>
</keyref>
<unique name="senseAxisRelation_unique">
<annotation>
<documentation xml:lang="en">
The value of attribute 'id' of elements SenseAxisRelation is unique,
if it exists.
</documentation>
</annotation>
<selector xpath="./pxb:SenseAxis/pxb:SenseAxisRelation"/>
<field xpath="@id"/>
</unique>
<keyref name="senseAxisRelation_syntacticBehaviour_references"
refer="pxb:senseAxisRelation_unique">
<annotation>
<documentation xml:lang="en">
Elements SyntacticBehaviour in each lexicon reference elements
SenseAxisRelation with their attribute 'refSenseAxisRelation'.
</documentation>
</annotation>
<selector xpath="./pxb:Lexicon/pxb:LexicalEntry/pxb:Sense/pxb:SyntacticBehaviour"/>
<field xpath="@refSenseAxisRelation"/>
</keyref>
</element>
<element name="GlobalInformation" type="pxb:GlobalInformation_type">
<annotation>
<documentation xml:lang="en">
This element documents the Lexical Resource,
cf. GlobalInformation_type for its content.
</documentation>
</annotation>
</element>
<element name="Lexicon" type="pxb:Lexicon_type">
<annotation>
<documentation xml:lang="en">
This element represents one lexicon, in one language,
cf. Lexicon_type for its content.
</documentation>
</annotation>
<key name="subcategorizationFrame_key">
<annotation>
<documentation xml:lang="en">
Within the scope of a lexicon, elements SubcategorizationFrame
are uniquely identified by their attribute 'id'.
</documentation>
</annotation>
<selector xpath="./pxb:SubcategorizationFrame"/>
<field xpath="@id"/>
</key>
<keyref name="syntacticBehaviour_ref" refer="pxb:subcategorizationFrame_key">
<annotation>
<documentation xml:lang="en">
Within the scope of a lexicon, elements SyntacticBehaviour reference
elements SubcategorizationFrame with their attribute 'refSubcategorizationFrame'.
</documentation>
</annotation>
<selector xpath="./pxb:LexicalEntry/pxb:Sense/pxb:SyntacticBehaviour"/>
<field xpath="@refSubcategorizationFrame"/>
</keyref>
</element>
<element name="LexicalEntry" type="pxb:LexicalEntry_type">
<annotation>
<documentation xml:lang="en">
This element represents one lexical entry in one lexicon,
cf. LexicalEntry_type for its content.
</documentation>
</annotation>
</element>
<element name="Lemma" type="pxb:Word_type">
<annotation>
<documentation xml:lang="en">
This element represents one lemma of one lexical entry,
cf. Word_type for its content.
</documentation>
</annotation>
</element>
<element name="WordForm" type="pxb:WordForm_type">
<annotation>
<documentation xml:lang="en">
This element represents one word form of one lexical entry,
cf. WordForm_type for its content.
</documentation>
</annotation>
</element>
<element name="FormRepresentation" type="pxb:FormRepresentation_type">
<annotation>
<documentation xml:lang="en">
This element represents one form representation of one lexical entry,
cf. FormRepresentation_type for its content.
</documentation>
</annotation>
</element>
<element name="Sense" type="pxb:Sense_type">
<annotation>
<documentation xml:lang="en">
This element represents one sense of one lexical entry,
cf. Sense_type for its content.
</documentation>
</annotation>
</element>
<element name="MonolingualExternalRef" type="pxb:ExternalRef_type">
<annotation>
<documentation xml:lang="en">
This element represents one link, from one sense to an external description,
cf. ExternalRef_type for its content.
</documentation>
</annotation>
</element>
<element name="SyntacticBehaviour" type="pxb:SyntacticBehaviour_type">
<annotation>
<documentation xml:lang="en">
This element represents one syntactic behaviour for one sense of one lexical entry,
cf. SyntacticBehaviour_type for its content.
</documentation>
</annotation>
</element>
<element name="SubcategorizationFrame" type="pxb:SubcategorizationFrame_type">
<annotation>
<documentation xml:lang="en">
This element represents one frame of behaviour, common to several
components of a lexicon.
cf. SubcategorizationFrame_type for its content.
</documentation>
</annotation>
</element>
<element name="SenseAxis" type="pxb:SenseAxis_type">
<annotation>
<documentation xml:lang="en">
This element represents one sense axis, or pivot, at the multilingual level,
cf. SenseAxis_type for its content.
</documentation>
</annotation>
</element>
<element name="SenseAxisRelation" type="pxb:SenseAxisRelation_type">
<annotation>
<documentation xml:lang="en">
This element represents one relation between two sense axis, at the multilingual
level, cf. SenseAxisRelation_type for its content.
</documentation>
</annotation>
</element>
<element name="InterlingualExternalRef" type="pxb:ExternalRef_type">
<annotation>
<documentation xml:lang="en">
This element represents one link, from one sense axis to an external description,
cf. ExternalRef_type for its content.
</documentation>
</annotation>
</element>
<complexType name="LexicalResource_type">
<annotation>
<documentation xml:lang="en">
Content of LexicalResource, the root element: several lexica
and, for the multilingual level, several SenseAxis.
</documentation>
</annotation>
<sequence>
<element ref="pxb:GlobalInformation"/>
<element ref="pxb:Lexicon" maxOccurs="unbounded"/>
<element ref="pxb:SenseAxis" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="GlobalInformation_type">
<annotation>
<documentation xml:lang="en">
Content of the global info: six mandatory attributes.
</documentation>
</annotation>
<attribute name="entrySource" type="string" use="required"/>
<attribute name="languageCoding" type="string" use="required"/>
<attribute name="scriptCoding" type="string" use="required"/>
<attribute name="characterCoding" type="string" use="required"/>
<attribute name="resourceName" type="string" use="required"/>
<attribute name="version" type="string" use="required"/>
</complexType>
<complexType name="Lexicon_type">
<annotation>
<documentation xml:lang="en">
Content of a lexicon: several lexical entries and several behaviour descriptions,
must have an attribute declaring the language of the lexicon and may have an
attribute declaring the script used for words in the lexicon.
</documentation>
</annotation>
<sequence>
<element ref="pxb:LexicalEntry" maxOccurs="unbounded"/>
<element ref="pxb:SubcategorizationFrame" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="languageIdentifier" use="required">
<simpleType>
<restriction base="string">
<pattern value="[a-z][a-z][a-z]"/>
</restriction>
</simpleType>
</attribute>
<attribute name="script" type="string" use="optional"/>
</complexType>
<complexType name="LexicalEntry_type">
<annotation>
<documentation xml:lang="en">
Content of a lexical entry: one lemma, zero or several word forms, several senses.
Must have an attribute declaring the part of speech, with 4 possible values.
</documentation>
</annotation>
<sequence>
<element ref="pxb:Lemma"/>
<element ref="pxb:WordForm" maxOccurs="unbounded"/>
<element ref="pxb:Sense" maxOccurs="unbounded"/>
</sequence>
<attribute name="partOfSpeech" use="required">
<simpleType>
<restriction base="string">
<enumeration value="adjective"/>
<enumeration value="noun"/>
<enumeration value="prefix"/>
<enumeration value="verb"/>
</restriction>
</simpleType>
</attribute>
</complexType>
<complexType name="Word_type">
<annotation>
<documentation xml:lang="en">
Content of a lemma and a form representation: a string and 2 optional attributes
for declaring the script (e.g. arabic) and orthography name (e.g. with points).
</documentation>
</annotation>
<simpleContent>
<extension base="string">
<attribute name="script" type="string" use="optional"/>
<attribute name="orthographyName" type="string" use="optional"/>
</extension>
</simpleContent>
</complexType>
<complexType name="WordForm_type">
<annotation>
<documentation xml:lang="en">
Content of a word form: same as for a lemma, but with 5 more optional attributes
for declaring grammatical features.
</documentation>
</annotation>
<sequence>
<element ref="pxb:FormRepresentation" maxOccurs="unbounded"/>
</sequence>
<simpleContent>
<extension base="string">
<attribute name="script" type="string" use="optional"/>
<attribute name="orthographyName" type="string" use="optional"/>
<attribute name="grammaticalCase" type="pxb:Case_type" use="optional"/>
<attribute name="grammaticalGender" type="pxb:Gender_type" use="optional"/>
<attribute name="grammaticalNumber" type="pxb:Number_type" use="optional"/>
<attribute name="grammaticalAnimacy" type="pxb:Animacy_type" use="optional"/>
<attribute name="grammaticalDefiniteness" type="pxb:Definiteness_type" use="optional"/>
<attribute name="grammaticalDegree" type="pxb:Degree_type" use="optional"/>
<attribute name="grammaticalTAM" type="pxb:TAM_type" use="optional"/>
<attribute name="grammaticalPerson" type="string" use="optional"/>
</extension>
</simpleContent>
</complexType>
<simpleType name="Degree_type">
<restriction base="string">
<enumeration value="positive"/>
</restriction>
</simpleType>
<simpleType name="Definiteness_type">
<restriction base="string">
<enumeration value="definite"/>
<enumeration value="indefinite"/>
</restriction>
</simpleType>
<simpleType name="Animacy_type">
<restriction base="string">
<enumeration value="animate"/>
<enumeration value="nonAnimate"/>
</restriction>
</simpleType>
<simpleType name="Case_type">
<restriction base="string">
<enumeration value="accusative"/>
<enumeration value="dative"/>
<enumeration value="genitive"/>
<enumeration value="instrumental"/>
<enumeration value="locative"/>
<enumeration value="nominative"/>
<enumeration value="vocative"/>
</restriction>
</simpleType>
<simpleType name="TAM_type">
<restriction base="string">
<enumeration value="imperfective"/>
<enumeration value="infinitive"/>
<enumeration value="perfective"/>
</restriction>
</simpleType>
<simpleType name="Gender_type">
<restriction base="string">
<enumeration value="masculine"/>
<enumeration value="feminine"/>
<enumeration value="masculineFeminine"/>
<enumeration value="humanMasculine"/>
<enumeration value="animateMasculine"/>
<enumeration value="inanimateMasculine"/>
<enumeration value="neuter"/>
</restriction>
</simpleType>
<simpleType name="Number_type">
<restriction base="string">
<enumeration value="singular"/>
<enumeration value="plural"/>
<enumeration value="singularPlural"/>
<enumeration value="none"/>
</restriction>
</simpleType>
<complexType name="FormRepresentation_type">
<annotation>
<documentation xml:lang="en">
Content of a form representation: a string and 3 optional attributes
for declaring the script (e.g. arabic), geographicalVariant (e.g. USA) and orthography name (e.g. with points).
</documentation>
</annotation>
<simpleContent>
<extension base="string">
<attribute name="script" type="string" use="optional"/>
<attribute name="geographicalVariant" type="string" use="optional"/>
<attribute name="orthographyName" type="string" use="optional"/>
</extension>
</simpleContent>
</complexType>
<complexType name="Sense_type">
<annotation>
<documentation xml:lang="en">
Content of a sense: zero or several syntactic behaviours and zero or several
links to external descriptions. Attributes allow to declare its link to the sense axis
at multilingual level, its situation among items of the same prolexeme, and its frequency.
</documentation>
</annotation>
<sequence>
<element ref="pxb:SyntacticBehaviour" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pxb:MonolingualExternalRef" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="idSense" type="token" use="required"/>
<attribute name="refSenseAxis" type="integer" use="required"/>
<attribute name="refSense" type="token" use="optional"/>
<attribute name="label" use="optional">
<simpleType>
<restriction base="string">
<enumeration value="derivative"/>
<enumeration value="properName"/>
</restriction>
</simpleType>
</attribute>
<attribute name="termProvenance" use="required">
<simpleType>
<restriction base="string">
<enumeration value="fullForm"/>
<enumeration value="abbreviation"/>
<enumeration value="variant"/>
<enumeration value="shortForm"/>
<enumeration value="diatopicQuasiSynonym"/>
<enumeration value="diastraticQuasiSynonym"/>
<enumeration value="transcribedForm"/>
<enumeration value="acronym"/>
<enumeration value="explanation"/>
<enumeration value="translationVariant"/>
<enumeration value="relationalAdjective"/>
<enumeration value="possessiveAdjective"/>
<enumeration value="quasiRelationalAdjective"/>
<enumeration value="relationalName"/>
<enumeration value="quasiRelationalName"/>
<enumeration value="masculineRelationalName"/>
<enumeration value="feminineRelationalName"/>
<enumeration value="prefix"/>
</restriction>
</simpleType>
</attribute>
<attribute name="frequency">
<simpleType>
<restriction base="string">
<enumeration value="infrequentlyUsed"/>
<enumeration value="rarelyUsed"/>
<enumeration value="commonlyUsed"/>
</restriction>
</simpleType>
</attribute>
</complexType>
<complexType name="ExternalRef_type">
<annotation>
<documentation xml:lang="en">
Content of an external reference: 2 attributes for declaring the external system and
the reference in that system.
</documentation>
</annotation>
<attribute name="externalSystem" type="string" use="required"/>
<attribute name="externalReference" type="string" use="required"/>
</complexType>
<complexType name="SyntacticBehaviour_type">
<annotation>
<documentation xml:lang="en">
Content of a syntactic behaviour: must have an attribute to refer to a behaviour
frame, may have an attribute to refer to the multingual relation it instanciates.
</documentation>
</annotation>
<attribute name="refSubcategorizationFrame" type="token" use="required"/>
<attribute name="refSenseAxisRelation" type="integer" use="optional"/>
</complexType>
<complexType name="SubcategorizationFrame_type">
<annotation>
<documentation xml:lang="en">
Content of a behaviour frame: a string with the kind of described behaviour (4 values),
grammatical features.
</documentation>
</annotation>
<simpleContent>
<extension base="string">
<attribute name="introducer" use="required">
<simpleType>
<restriction base="string">
<enumeration value="determiner"/>
<enumeration value="locativePreposition"/>
<enumeration value="classifyingContext"/>
<enumeration value="accessibilityContext"/>
</restriction>
</simpleType>
</attribute>
<attribute name="id" type="token" use="required"/>
<attribute name="grammaticalGender" type="pxb:Gender_type" use="optional"/>
<attribute name="grammaticalNumber" type="pxb:Number_type" use="optional"/>
<attribute name="restrictionRank" type="integer" use="optional"/>
</extension>
</simpleContent>
</complexType>
<complexType name="SenseAxis_type">
<annotation>
<documentation xml:lang="en">
Content of a sense axis: zero or several sense axis relations and zero or several
links to external descriptions. Must have an id value.
</documentation>
</annotation>
<sequence>
<element ref="pxb:InterlingualExternalRef" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pxb:SenseAxisRelation" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="integer" use="required"/>
</complexType>
<complexType name="SenseAxisRelation_type">
<annotation>
<documentation xml:lang="en">
Content of a sense axis relation, contained in a sense axis (the source of
the relation): a label (3 values), a refernce to the target sense axis, a subject
field (12 values), and a kind of relation (3 values).
</documentation>
</annotation>
<attribute name="id" type="integer" use="optional"/>
<attribute name="label" use="required">
<simpleType>
<restriction base="string">
<enumeration value="partitiveRelation"/>
<enumeration value="quasiSynonym"/>
<enumeration value="associativeRelation"/>
</restriction>
</simpleType>
</attribute>
<attribute name="refSenseAxis" type="integer" use="required"/>
<attribute name="subjectField" use="optional">
<simpleType>
<restriction base="string">
<enumeration value="relative"/>
<enumeration value="capital"/>
<enumeration value="leader"/>
<enumeration value="founder"/>
<enumeration value="follower"/>
<enumeration value="creator"/>
<enumeration value="manager"/>
<enumeration value="tenant"/>
<enumeration value="heir"/>
<enumeration value="headquarters"/>
<enumeration value="rival"/>
<enumeration value="companion"/>
</restriction>
</simpleType>
</attribute>
<attribute name="usageNote" use="optional">
<simpleType>
<restriction base="string">
<enumeration value="diaphasic"/>
<enumeration value="diachronic"/>
<enumeration value="diastratic"/>
</restriction>
</simpleType>
</attribute>
</complexType>
</schema>