-
Notifications
You must be signed in to change notification settings - Fork 3
Multiple Choice Question Analysis Output Format
Digo edited this page Sep 9, 2014
·
3 revisions
<!ELEMENT TOPIC_SET (METADATA,TOPIC*)>
<!ELEMENT METADATA (RUNID,DESCRIPTION)>
<!ELEMENT RUNID (#PCDATA)>
<!ELEMENT DESCRIPTION (#PCDATA)>
<!ELEMENT TOPIC (CHOICE)*>
<!ATTLIST TOPIC
ID CDATA #REQUIRED>
<!ELEMENT CHOICE (ASSERTION)*>
<!ATTLIST CHOICE
ID CDATA #REQUIRED>
<!ELEMENT ASSERTION (TEXT,KEYTERMS*)>
<!ATTLIST ASSERTION
AFFIRMATIVE CDATA #REQUIRED
ID CDATA #REQUIRED>
<!ELEMENT TEXT (#PCDATA)>
<!ELEMENT KEYTERMS (KEYTERM)*>
<!ELEMENT KEYTERM (#PCDATA)>
<!ATTLIST KEYTERM
SCORE CDATA #IMPLIED>
<TOPIC_SET>
<METADATA>
<RUNID>TEAM1-EN-QA-01</RUNID>
<DESCRIPTION>We used OpenNLP for tokenization.</DESCRIPTION>
</METADATA>
<TOPIC ID="Q1">
<CHOICE ID="C1">
<ASSERTION AFFIRMATIVE="TRUE" ID="S1">
<TEXT>Ouyang Xiu and Su Shi are writers representative
of the Tang period.
</TEXT>
<KEYTERMS>
<KEYTERM SCORE="1.0">Ouyang Xiu</KEYTERM>
<KEYTERM SCORE="1.0">Su Shi</KEYTERM>
<KEYTERM SCORE="0.9">writers</KEYTERM>
<KEYTERM SCORE="0.8">representative</KEYTERM>
<KEYTERM SCORE="0.1">Tang period</KEYTERM>
</KEYTERMS>
</ASSERTION>
</CHOICE>
<CHOICE ID="C2">
<ASSERTION AFFIRMATIVE="TRUE" ID="S1">
<TEXT>Yan Zhenqing is a calligrapher representative
of the Song period.
</TEXT>
</ASSERTION>
</CHOICE>
</TOPIC>
<TOPIC ID="Q2">
<CHOICE ID="C1">
<ASSERTION AFFIRMATIVE="TRUE" ID="S1">
<TEXT>Liu Bang defeated Xiang Yu and made Chang'an
the capital.
</TEXT>
<KEYTERMS>
<KEYTERM SCORE="1.0">Liu Bang</KEYTERM>
<KEYTERM SCORE="0.9">defeated</KEYTERM>
<KEYTERM SCORE="1.0">Xiang Yu</KEYTERM>
<KEYTERM SCORE="0.8">made</KEYTERM>
<KEYTERM SCORE="1.0">Chang'an</KEYTERM>
<KEYTERM SCORE="0.8">capital</KEYTERM>
</KEYTERMS>
</ASSERTION>
<ASSERTION AFFIRMATIVE="TRUE" ID="S2">
<TEXT>Yelü Dashi built the Kara-Khitan Khanate.
</TEXT>
<KEYTERMS>
<KEYTERM>Yelü Dashi</KEYTERM>
<KEYTERM>built</KEYTERM>
<KEYTERM>Kara-Khitan Khanate</KEYTERM>
</KEYTERMS>
</ASSERTION>
</CHOICE>
<CHOICE ID="C2">
<ASSERTION AFFIRMATIVE="TRUE" ID="S1">
<TEXT>Liu Bang defeated Xiang Yu and made Chang'an
the capital.
</TEXT>
<KEYTERMS>
<KEYTERM SCORE="1.0">Liu Bang</KEYTERM>
<KEYTERM SCORE="0.9">defeated</KEYTERM>
<KEYTERM SCORE="1.0">Xiang Yu</KEYTERM>
<KEYTERM SCORE="0.8">made</KEYTERM>
<KEYTERM SCORE="1.0">Chang'an</KEYTERM>
<KEYTERM SCORE="0.8">capital</KEYTERM>
</KEYTERMS>
</ASSERTION>
<ASSERTION AFFIRMATIVE="FALSE" ID="S2">
<TEXT>Yelü Dashi built the Kara-Khitan Khanate.
</TEXT>
<KEYTERMS>
<KEYTERM>Yelü Dashi</KEYTERM>
<KEYTERM>built</KEYTERM>
<KEYTERM>Kara-Khitan Khanate</KEYTERM>
</KEYTERMS>
</ASSERTION>
</CHOICE>
</TOPIC>
</TOPIC_SET>