UNL Knowledge Base
(→General syntax) |
|||
Line 5: | Line 5: | ||
UNL KB entries should have the following format: | UNL KB entries should have the following format: | ||
− | <relation type=" | + | <relation name="RNAME" type="RTYPE" frequency="RFREQ"> |
<source id="SID" attribute="ATT" lang="UNL" frequency="SFREQ" class="SCLASS">SOURCE</source> | <source id="SID" attribute="ATT" lang="UNL" frequency="SFREQ" class="SCLASS">SOURCE</source> | ||
<target id="TID" attribute="ATT" lang="UNL" frequency="TFREQ" class="TCLASS">TARGET</target> | <target id="TID" attribute="ATT" lang="UNL" frequency="TFREQ" class="TCLASS">TARGET</target> | ||
Line 11: | Line 11: | ||
Where:<br /> | Where:<br /> | ||
− | + | RNAME is the name of one existing UNL relation ("agt", "aoj", "obj", etc);<br /> | |
+ | RTYPE is the type of the existing relation | ||
RFREQ is the frequency of the relation TYPE between the SOURCE and the TARGET in the corpus;<br /> | RFREQ is the frequency of the relation TYPE between the SOURCE and the TARGET in the corpus;<br /> | ||
SFREQ is the frequency of the SOURCE in the corpus;<br /> | SFREQ is the frequency of the SOURCE in the corpus;<br /> | ||
Line 19: | Line 20: | ||
ATT is one of the existing UNL attributes ("entry", "past", etc);<br /> | ATT is one of the existing UNL attributes ("entry", "past", etc);<br /> | ||
SCLASS is the general class of the SOURCE;<br /> | SCLASS is the general class of the SOURCE;<br /> | ||
− | TCLASS is the general class of the TARGET | + | TCLASS is the general class of the TARGET;<br /> |
+ | SOURCE is the source node of the UNL relation; <br /> | ||
+ | TARGET is the target node of the UNL relation; <br /> | ||
== XML Schema == | == XML Schema == |
Revision as of 16:34, 25 October 2009
The UNL Knowledge Base, or simply UNLKB, is a network structure where UWs are interconnected through any semantic relation of UNL. In that sense, the UNL KB comprises and extends the UNL Ontology, which deals only with ontological relations. The UNLKB is claimed to improve the results of both the enconversion and the deconversion process, as it would provide them with extralinguistic information normally required for solving ambiguities, anaphora and co-reference in natural language analysis and generation. The UNL KB should be provided as XML table whose schema is presented below.
General syntax
UNL KB entries should have the following format:
<relation name="RNAME" type="RTYPE" frequency="RFREQ"> <source id="SID" attribute="ATT" lang="UNL" frequency="SFREQ" class="SCLASS">SOURCE</source> <target id="TID" attribute="ATT" lang="UNL" frequency="TFREQ" class="TCLASS">TARGET</target> </relation>
Where:
RNAME is the name of one existing UNL relation ("agt", "aoj", "obj", etc);
RTYPE is the type of the existing relation
RFREQ is the frequency of the relation TYPE between the SOURCE and the TARGET in the corpus;
SFREQ is the frequency of the SOURCE in the corpus;
TFREQ is the frequency of the TARGET in the corpus;
SID is a number used to identify the SOURCE;
TID is a number used to identify the TARGET;
ATT is one of the existing UNL attributes ("entry", "past", etc);
SCLASS is the general class of the SOURCE;
TCLASS is the general class of the TARGET;
SOURCE is the source node of the UNL relation;
TARGET is the target node of the UNL relation;