-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfracas-problems.dtd
53 lines (37 loc) · 1.42 KB
/
fracas-problems.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT fracas-problems (comment|problem)+>
<!-- miscellaneous comment, not necessarily on a specific problem -->
<!ELEMENT comment (#PCDATA)>
<!ATTLIST comment
class (intro|section|subsection|subsubsection) #IMPLIED>
<!ELEMENT problem (p+,q?,h,a?,why?,note?)>
<!-- fracas_answer is one of four canonical answers for Fracas problems -->
<!ATTLIST problem
id CDATA #REQUIRED
fracas_answer (yes|no|unknown|undef) #IMPLIED
fracas_nonstandard (true) #IMPLIED
language (fa|de|zh) #IMPLIED>
<!-- premise elements, possibly more than one -->
<!ELEMENT p (#PCDATA)>
<!ATTLIST p
idx (1|2|3|4|5) #REQUIRED>
<!-- question element, optional -->
<!ELEMENT q (#PCDATA)>
<!-- hypothesis element -->
<!ELEMENT h (#PCDATA)>
<!-- original answer for FraCaS problem (sometimes non-standard) -->
<!ELEMENT a (#PCDATA)>
<!-- justification for FraCaS answer -->
<!ELEMENT why (#PCDATA)>
<!-- miscellaneous note or comment about problem -->
<!ELEMENT note (#PCDATA)>
<!-- translation in the target language script -->
<!ELEMENT script (#PCDATA)>
<!-- transliteration of the target language translation -->
<!ELEMENT translit (#PCDATA)>
<!-- morphological representation of the target language -->
<!ELEMENT morph (#PCDATA)>
<!-- ipa transcription for the target language -->
<!ELEMENT ipa (#PCDATA)>
<!-- original English sentence -->
<!ELEMENT english (#PCDATA)>