File size: 67,157 Bytes
6fa4bc9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
{
    "paper_id": "P01-1019",
    "header": {
        "generated_with": "S2ORC 1.0.0",
        "date_generated": "2023-01-19T09:29:32.224414Z"
    },
    "title": "An Algebra for Semantic Construction in Constraint-based Grammars",
    "authors": [
        {
            "first": "Ann",
            "middle": [],
            "last": "Copestake",
            "suffix": "",
            "affiliation": {
                "laboratory": "",
                "institution": "Computer Laboratory University of Cambridge New Museums Site Pembroke St",
                "location": {
                    "settlement": "Cambridge",
                    "country": "UK"
                }
            },
            "email": ""
        },
        {
            "first": "Alex",
            "middle": [],
            "last": "Lascarides",
            "suffix": "",
            "affiliation": {
                "laboratory": "",
                "institution": "University of Edinburgh",
                "location": {
                    "addrLine": "2 Buccleuch Place Edinburgh",
                    "country": "Scotland, UK"
                }
            },
            "email": ""
        },
        {
            "first": "Dan",
            "middle": [],
            "last": "Flickinger",
            "suffix": "",
            "affiliation": {
                "laboratory": "",
                "institution": "CSLI",
                "location": {
                    "addrLine": "Stanford University and YY Software Ventura Hall",
                    "postCode": "220, 94305",
                    "settlement": "Panama St Stanford",
                    "region": "CA",
                    "country": "USA"
                }
            },
            "email": "danf@csli.stanford.edu"
        }
    ],
    "year": "",
    "venue": null,
    "identifiers": {},
    "abstract": "We develop a framework for formalizing semantic construction within grammars expressed in typed feature structure logics, including HPSG. The approach provides an alternative to the lambda calculus; it maintains much of the desirable flexibility of unificationbased approaches to composition, while constraining the allowable operations in order to capture basic generalizations and improve maintainability.",
    "pdf_parse": {
        "paper_id": "P01-1019",
        "_pdf_hash": "",
        "abstract": [
            {
                "text": "We develop a framework for formalizing semantic construction within grammars expressed in typed feature structure logics, including HPSG. The approach provides an alternative to the lambda calculus; it maintains much of the desirable flexibility of unificationbased approaches to composition, while constraining the allowable operations in order to capture basic generalizations and improve maintainability.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Abstract",
                "sec_num": null
            }
        ],
        "body_text": [
            {
                "text": "Some constraint-based grammar formalisms incorporate both syntactic and semantic representations within the same structure. For instance, Figure 1 shows representations of typed feature structures (TFSs) for Kim, sleeps and the phrase Kim sleeps, in an HPSG-like representation, loosely based on Sag and Wasow (1999) . The semantic representation expressed is intended to be equivalent to r name(x, Kim) \u2227 sleep(e, x). 1 Note:",
                "cite_spans": [
                    {
                        "start": 296,
                        "end": 316,
                        "text": "Sag and Wasow (1999)",
                        "ref_id": "BIBREF5"
                    }
                ],
                "ref_spans": [
                    {
                        "start": 138,
                        "end": 144,
                        "text": "Figure",
                        "ref_id": null
                    }
                ],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "1. Variable equivalence is represented by coindexation within a TFS.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "2. The coindexation in Kim sleeps is achieved as an effect of instantiating the SUBJ slot in the sign for sleeps.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "3. Structures representing individual predicate applications (henceforth, elementary predications, or EPs) are accumulated by an append operation. Conjunction of EPs is implicit.",
                "cite_spans": [
                    {
                        "start": 61,
                        "end": 106,
                        "text": "(henceforth, elementary predications, or EPs)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Introduction",
                "sec_num": "1"
            },
            {
                "text": "A similar approach has been used in a large number of implemented grammars (see Shieber (1986) for a fairly early example). It is in many ways easier to work with than \u03bb-calculus based approaches (which we discuss further below) and has the great advantage of allowing generalizations about the syntax-semantics interface to be easily expressed. But there are problems. The operations are only specified in terms of the TFS logic: the interpretation relies on an intuitive correspondence with a conventional logical representation, but this is not spelled out. Furthermore the operations on the semantics are not tightly specified or constrained. For instance, although HPSG has the Semantics Principle (Pollard and Sag, 1994) this does not stop the composition process accessing arbitrary pieces of structure, so it is often not easy to conceptually disentangle the syntax and semantics in an HPSG. Nothing guarantees that the grammar is monotonic, by which we mean that in each rule application the semantic content of each daughter subsumes some portion of the semantic content of the mother (i.e., no semantic information is dropped during composition): this makes it impossible to guarantee that certain generation algorithms will work effectively. Finally, from a theoretical perspective, it seems clear that substantive generalizations are being missed.",
                "cite_spans": [
                    {
                        "start": 80,
                        "end": 94,
                        "text": "Shieber (1986)",
                        "ref_id": null
                    },
                    {
                        "start": 703,
                        "end": 726,
                        "text": "(Pollard and Sag, 1994)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "All signs have an index functioning somewhat like a \u03bb-variable.",
                "sec_num": "4."
            },
            {
                "text": "Minimal Recursion Semantics (MRS: Copestake et al (1999) , see also Egg (1998)) tightens up the specification of composition a little. It enforces monotonic accumulation of EPs by making all rules append the EPs of their daughters (an approach which was followed by Sag and Wasow (1999)) but it does not fully spec-",
                "cite_spans": [
                    {
                        "start": 50,
                        "end": 56,
                        "text": "(1999)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "All signs have an index functioning somewhat like a \u03bb-variable.",
                "sec_num": "4."
            },
            {
                "text": "Kim \uf8ee \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8f0 SYN \uf8ee \uf8f0 np HEAD noun SUBJ < > COMPS < > \uf8f9 \uf8fb SEM \uf8ee \uf8ef \uf8f0 INDEX 5 ref-ind RESTR < RELN R NAME INSTANCE 5 NAME KIM > \uf8f9 \uf8fa \uf8fb \uf8f9 \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fb sleeps \uf8ee \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8f0 SYN \uf8ee \uf8ef \uf8ef \uf8f0 HEAD verb SUBJ < SYN np SEM INDEX 6 RESTR 7 > COMPS < > \uf8f9 \uf8fa \uf8fa \uf8fb SEM \uf8ee \uf8ef \uf8f0 INDEX 15 event RESTR < RELN SLEEP SIT 15 ACT 6 > \uf8f9 \uf8fa \uf8fb \uf8f9 \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fb Kim sleeps \uf8ee \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8ef \uf8f0 SYN HEAD 0 verb SEM \uf8ee \uf8ef \uf8f0 INDEX 2 event RESTR 10 < RELN R NAME INSTANCE 4 NAME KIM > \u2295 11 < RELN SLEEP SIT 2 event ACT 4 > \uf8f9 \uf8fa \uf8fb HEAD-DTR.SEM INDEX 2 RESTR 10 NON-HD-DTR.SEM.RESTR 11 \uf8f9 \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fa \uf8fb",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "All signs have an index functioning somewhat like a \u03bb-variable.",
                "sec_num": "4."
            },
            {
                "text": "Figure 1: Expressing semantics in TFSs ify compositional principles and does not formalize composition. We attempt to rectify these problems, by developing an algebra which gives a general way of expressing composition. The semantic algebra lets us specify the allowable operations in a less cumbersome notation than TFSs and abstracts away from the specific feature architecture used in individual grammars, but the essential features of the algebra can be encoded in the hierarchy of lexical and constructional type constraints. Our work actually started as an attempt at rational reconstruction of semantic composition in the large grammar implemented by the LinGO project at CSLI (available via http://lingo.stanford.edu). Semantics and the syntax/semantics interface have accounted for approximately nine-tenths of the development time of the English Resource Grammar (ERG), largely because the account of semantics within HPSG is so underdetermined. In this paper, we begin by giving a formal account of a very simplified form of the algebra and in \u00a73, we consider its interpretation. In \u00a74 to \u00a76, we generalize to the full algebra needed to capture the use of MRS in the LinGO English Resource Grammar (ERG). Finally we conclude with some comparisons to the \u03bb-calculus and to other work on unification based grammar.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "All signs have an index functioning somewhat like a \u03bb-variable.",
                "sec_num": "4."
            },
            {
                "text": "The following shows the equivalents of the structures in Figure 1 in our algebra:",
                "cite_spans": [],
                "ref_spans": [
                    {
                        "start": 57,
                        "end": 65,
                        "text": "Figure 1",
                        "ref_id": null
                    }
                ],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "Kim: [x 2 ]{[] subj , [] comp }[r name(x 2 , Kim)]{} sleeps: [e 1 ]{[x 1 ] subj , [] comp }[sleep(e 1 , x 1 )]{} Kim sleeps: [e 1 ]{[] subj , [] comp }[sleep(e 1 , x 1 ), r name(x 2 , Kim)]{x 1 = x 2 }",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "The last structure is semantically equivalent to:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "[sleep(e 1 , x 1 ), r name(x 1 , Kim)].",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "In the structure for sleeps, the first part, [e 1 ], is a hook and the second part ([x 1 ] subj and [] comp ) is the holes. The third element (the lzt) is a bag of elementary predications (EPs). 2 Intuitively, the hook is a record of the value in the semantic entity that can be used to fill a hole in another entity during composition. The holes record gaps in the semantic form which occur because it represents a syntactically unsaturated structure. Some structures have no holes, such as that for Kim. When structures are composed, a hole in one structure (the semantic head) is filled with the hook of the other (by equating the variables) and their lzts are appended. It should be intuitively obvious that there is a straightforward relationship between this algebra and the TFSs shown in Figure 1 , although there are other TFS architectures which would share the same encoding.",
                "cite_spans": [],
                "ref_spans": [
                    {
                        "start": 795,
                        "end": 803,
                        "text": "Figure 1",
                        "ref_id": null
                    }
                ],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "We now give a formal description of the algebra. In this section, we simplify by assuming that each entity has only one hole, which is unlabelled, and only consider two sorts of variables: events and individuals. The set of semantic entities is built from the following vocabulary:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "1. The absurdity symbol \u22a5.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "2. indices i 1 , i 2 , . . ., consisting of two subtypes of indices: events e 1 , e 2 , . . . and individuals",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "x 1 , x 2 , . . ..",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "3. n-place predicates, which take indices as arguments 4. =.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "Equality can only be used to identify variables of compatible sorts: e.g., x 1 = x 2 is well formed, but e = x is not. Sort compatibility corresponds to unifiability in the TFS logic. Equality Conditions:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "Where i 1 and i 2 are in- dices, i 1 = i 2 is an equality condition. Definition 2 The Set \u03a3 of Simple semantic Enti- ties (SSEMENT) s \u2208 \u03a3 if and only if s = \u22a5 or s = s 1 , s 2 , s 3 , s 4 such that: \u2022 s 1 = {[i]} is a hook; \u2022 s 2 = \u2205 or {[i ]} is a hole;",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "\u2022 s 3 is a bag of SEPs(the lzt)",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "\u2022 s 4 is a set of equalities between variables (the eqs).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "We write a SSEMENT as:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "[i 1 ][i 2 ][SEPs]",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "{EQs}. Note for convenience we omit the set markers {} from the hook and hole when there is no possible confusion. The SEPs, and EQs are (partial) descriptions of the fully specified formulae of first order logic.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "A simple semantic algebra",
                "sec_num": "2"
            },
            {
                "text": "A Semantic Algebra defined on vocabulary V is the algebra \u03a3, op where:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 3 The Semantic Algebra",
                "sec_num": null
            },
            {
                "text": "\u2022 \u03a3 is the set of SSEMENTs defined on the vocabulary V , as given above;",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 3 The Semantic Algebra",
                "sec_num": null
            },
            {
                "text": "\u2022 op : \u03a3 \u00d7 \u03a3 \u2212\u2192 \u03a3 is the operation of semantic composition. It satisfies the following conditions. If a 1 = \u22a5 or a 2 = \u22a5 or hole(a 2 ) = \u2205, then op(a 1 , a 2 ) = \u22a5. Otherwise:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 3 The Semantic Algebra",
                "sec_num": null
            },
            {
                "text": "1. hook(op(a 1 , a 2 )) = hook(a 2 ) 2. hole(op(a 1 , a 2 )) = hole(a 1 ) 3. lzt(op(a 1 , a 2 )) = lzt(a 1 ) \u2295 lzt(a 2 ) 4. eq(op(a 1 , a 2 )) = T r(eq(a 1 ) \u222a eq(a 2 )\u222a hook(a 1 ) = hole(a 2 )})",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 3 The Semantic Algebra",
                "sec_num": null
            },
            {
                "text": "where T r stands for transitive closure (i.e., if S = {x = y, y = z}, then T r(S) = {x = y, y = z, x = z}).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 3 The Semantic Algebra",
                "sec_num": null
            },
            {
                "text": "This definition makes a 2 the equivalent of a semantic functor and a 1 its argument.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Definition 3 The Semantic Algebra",
                "sec_num": null
            },
            {
                "text": "If a 1 = a 3 and a 2 = a 4 , then a 5 = op(a 1 , a 2 ) = op(a 3 , a 4 ) = a 6 . Thus op is a function. Furthermore, the range of op is within \u03a3. So \u03a3, op is an algebra.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "We can assume that semantic composition always involves two arguments, since we can define composition in ternary rules etc as a sequence of binary operations. Grammar rules (i.e., constructions) may contribute semantic information, but we assume that this information obeys all the same constraints as the semantics for a sign, so in effect such a rule is semantically equivalent to having null elements in the grammar. The correspondence between the order of the arguments to op and linear order is specified by syntax.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "We use variables and equality statements to achieve the same effect as coindexation in TFSs. This raises one problem, which is the need to avoid accidental variable equivalences (e.g., accidentally using x in both the signs for cat and dog when building the logical form of A dog chased a cat). We avoid this by adopting a convention that each instance of a lexical sign comes from a set of basic sements that have pairwise distinct variables. The equivalent of coindexation within a lexical sign is represented by repeating the same variable but the equivalent of coindexation that occurs during semantic composition is an equality condition which identifies two different variables. Stating this formally is straightforward but a little long-winded, so we omit it here.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "The SEPs and EQs can be interpreted with respect to a first order model E, A, F where:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "1. E is a set of events 2. A is a set of individuals 3. F is an interpretation function, which assigns tuples of appropriate kinds to the predicates of the language.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "The truth definition of the SEPs and EQs (which we group together under the term SMRS, for simple MRS) is as follows:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "1. For all events and individuals v,",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "[ [v] ] M,g = g(v).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "2. For all n-predicates P n ,",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "[ [P n ] ] M,g = { t 1 , . . . , t n : t 1 , . . . , t n \u2208 F (P n )}. 3. [ [P n (v 1 , . . . , v n )] ] M,g = 1 iff [ [v 1 ] ] M,g , . . . , [ [v n ] ] M,g \u2208 [ [P n ] ] M,g . 4. [ [\u03c6 \u2227 \u03c8] ] M,g = 1 iff [ [\u03c6] ] M,g = 1 and [ [\u03c8] ] M,g = 1.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "Thus, with respect to a model M , an SMRS can be viewed as denoting an element of P(G), where G is the set of variable assignment functions (i.e., elements of G assign the variables e, . . . and x, . . . their denotations):",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "[ [smrs] ] M = {g :",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "g is a variable assignment function and M |= g smrs} We now consider the semantics of the algebra. This must define the semantics of the operation op in terms of a function f which is defined entirely in terms of the denotations of op's arguments. In",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "other words, [ [op(a 1 , a 2 )] ] = f ([ [a 1 ] ], [ [a 2 ] ])",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "for some function f . Intuitively, where the SMRS of the SEMENT a 1 denotes G 1 and the SMRS of the SEMENT a 2 denotes G 2 , we want the semantic value of the SMRS of op(a 1 , a 2 ) to denote the following:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "G 1 \u2229 G 2 \u2229 [ [hook(a 1 ) = hole(a 2 )]",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "] But this cannot be constructed purely as a function of G 1 and G 2 .",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "The solution is to add hooks and holes to the denotations of SEMENTS (cf. Zeevat, 1989) . We define the denotation of a SEMENT to be an element of I \u00d7 I \u00d7 P(G), where I = E \u222a A, as follows:",
                "cite_spans": [
                    {
                        "start": 69,
                        "end": 87,
                        "text": "(cf. Zeevat, 1989)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "Definition 4 Denotations of SEMENTs If a = \u22a5 is a SEMENT, [[a]] M = [i], [i ], G where: 1. [i] = hook(a) 2. [i ] = hole(a) 3. G = {g : M |= g smrs(a)} [[\u22a5]] M = \u2205, \u2205, \u2205",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "So, the meanings of SEMENTs are ordered threetuples, consisting of the hook and hole elements (from I) and a set of variable assignment functions that satisfy the SMRS.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "We can now define the following operation f over these denotations to create an algebra:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "Definition 5 Semantics of the Semantic Construction Algebra I \u00d7 I \u00d7 P(G), f is an algebra, where:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "f ( \u2205, \u2205, \u2205 , [i 2 ], [i 2 ], G 2 ) = \u2205, \u2205, \u2205 f ( [i 1 ], [i 1 ], G 1 , \u2205, \u2205, \u2205 ) = \u2205, \u2205, \u2205 f ( [i 1 ], [i 1 ], G 1 , [i 2 ], \u2205, G 2 = \u2205, \u2205, \u2205 f ( [i 1 ], [i 1 ], G 1 , [i 2 ], [i 2 ], G 2 ) = [i 2 ], [i 1 ], G 1 \u2229 G 2 \u2229 G where G = {g : g(i 1 ) = g(i 2 )}",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "And this operation demonstrates that semantic construction is compositional: ",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Theorem 1 op is a function",
                "sec_num": null
            },
            {
                "text": "We now start considering the elaborations necessary for real grammars. As we suggested earlier, it is necessary to have multiple labelled holes. There will be a fixed inventory of labels for any grammar framework, although there may be some differences between variants. 3 In HPSG, complements are represented using a list, but in general there will be a fixed upper limit for the number of complements so we can label holes COMP1, COMP2, etc. The full inventory of labels for the ERG is: SUBJ, SPR, SPEC, COMP1, COMP2, COMP3 and MOD (see Pollard and Sag, 1994) .",
                "cite_spans": [
                    {
                        "start": 271,
                        "end": 272,
                        "text": "3",
                        "ref_id": null
                    },
                    {
                        "start": 539,
                        "end": 561,
                        "text": "Pollard and Sag, 1994)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "To illustrate the way the formalization goes with multiple slots, consider op subj :",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "Definition 6 The definition of op subj op subj (a 1 , a 2 ) is the following: If a 1 = \u22a5 or a 2 = \u22a5 or hole subj (a 2 ) = \u2205, then op subj (a 1 , a 2 ) = \u22a5. And if \u2203l = subj such that:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "|hole l (a 1 ) \u222a hole l (a 2 )| > 1 then op subj (a 1 , a 2 ) = \u22a5. Otherwise:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "1. hook(op subj (a 1 , a 2 )) = hook(a 2 )",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "2. For all labels l = subj:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "hole l (op subj (a 1 , a 2 )) = hole l (a 1 ) \u222a hole l (a 2 ) 3. lzt(op subj (a 1 , a 2 )) = lzt(a 1 ) \u2295 lzt(a 2 ) 4. eq(op subj (a 1 , a 2 )) = T r(eq(a 1 ) \u222a eq(a 2 )\u222a",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "{hook(a 1 ) = hole subj (a 2 )}) where T r stands for transitive closure.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "There will be similar operations op comp1 , op comp2 etc for each labelled hole. These operations can be proved to form an algebra \u03a3, op subj , op comp1 , . . . in a similar way to the unlabelled case shown in Theorem 1. A little more work is needed to prove that op l is closed on \u03a3. In particular, with respect to clause 2 of the above definition, it is necessary to prove that op l (a 1 , a 2 ) = \u22a5 or for all labels l , |hole l (op l (a 1 , a 2 ))| \u2264 1, but it is straightforward to see this is the case.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "These operations can be extended in a straightforward way to handle simple constituent coordination of the kind that is currently dealt with in the ERG (e.g., Kim sleeps and talks and Kim and Sandy sleep); such cases involve daughters with non-empty holes of the same label, and the semantic operation equates these holes in the mother SEMENT.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Labelling holes",
                "sec_num": "4"
            },
            {
                "text": "The algebra with labelled holes is sufficient to deal with simple grammars, such as that in Sag and Wasow (1999), but to deal with scope, more is needed. It is now usual in constraint based grammars to allow for underspecification of quantifier scope by giving labels to pieces of semantic information and stating constraints between the la-bels. In MRS, labels called handles are associated with each EP. Scopal relationships are represented by EPs with handle-taking arguments. If all handle arguments are filled by handles labelling EPs, the structure is fully scoped, but in general the relationship is not directly specified in a logical form but is constrained by the grammar via additional conditions (handle constraints or hcons). 4 A variety of different types of condition are possible, and the algebra developed here is neutral between them, so we will simply use rel h to stand for such a constraint, intending it to be neutral between, for instance, = q (qeq: equality modulo quantifiers) relationships used in MRS and the more usual \u2264 relationships from UDRT (Reyle, 1993) . The conditions in hcons are accumulated by append.",
                "cite_spans": [
                    {
                        "start": 1073,
                        "end": 1086,
                        "text": "(Reyle, 1993)",
                        "ref_id": "BIBREF5"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Scopal relationships",
                "sec_num": "5"
            },
            {
                "text": "To accommodate scoping in the algebra, we will make hooks and holes pairs of indices and handles. The handle in the hook corresponds to the LTOP feature in MRS. The new vocabulary is:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Scopal relationships",
                "sec_num": "5"
            },
            {
                "text": "1. The absurdity symbol \u22a5. :r(a 1 , . . . ,a n ,sa 1 , . . . ,sa m ). For instance, h:every(x, h 1 , h 2 ) is an EP. 5 We revise the definition of semantic entities to add the hcons conditions and to make hooks and holes pairs of handles and indices. We will not repeat the full composition definition, since it is unchanged from that in \u00a72 apart from the addition of the append operation on hcons and a slight complication of eq to deal with the handle/index pairs: eq(op(a 1 , a 2 )) = T r(eq(a 1 ) \u222a eq(a 2 )\u222a {hdle(hook(a 1 )) = hdle(hole(a 2 )), ind(hook(a 1 )) = ind(hole(a 2 ))}) where T r stands for transitive closure as before and hdle and ind access the handle and index of a pair. We can extend this to include (several) labelled holes and operations, as before. And these revised operations still form an algebra.",
                "cite_spans": [
                    {
                        "start": 113,
                        "end": 118,
                        "text": "EP. 5",
                        "ref_id": null
                    }
                ],
                "ref_spans": [
                    {
                        "start": 27,
                        "end": 37,
                        "text": ":r(a 1 , .",
                        "ref_id": null
                    }
                ],
                "eq_spans": [],
                "section": "Scopal relationships",
                "sec_num": "5"
            },
            {
                "text": "2. handles h 1 , h 2 , . . . 3. indices i 1 , i 2 , . . .,",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Scopal relationships",
                "sec_num": "5"
            },
            {
                "text": "The truth definition for SEMENTS is analogous to before. We add to the model a set of labels L (handles denote these via g) and a wellfounded partial order \u2264 on L (this helps interpret the hcons; cf. Fernando (1997)). A SEMENT then denotes an element of H \u00d7 . . . H \u00d7 P(G), where the Hs (= L \u00d7 I) are the new hook and holes.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "H-Cons",
                "sec_num": null
            },
            {
                "text": "Note that the language \u03a3 is first order, and we do not use \u03bb-abstraction over higher order elements. 6 For example, in the standard Montagovian view, a quantifier such as every is represented by the higher-order expression \u03bbP \u03bbQ\u2200x(P (x), Q(x)). In our framework, however, every is the following (using qeq conditions, as in the LinGO ERG):",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "H-Cons",
                "sec_num": null
            },
            {
                "text": "[h f , x]{[] subj , [] comp1 , [h , x] spec , . . .} [h e : every(x, h r , h s )][h r = q h ]{} and dog is: [h d , y]{[] subj , [] comp1 , [] spec , . . .}[h d : dog(y)][]{}",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "H-Cons",
                "sec_num": null
            },
            {
                "text": "So these composes via op spec to yield every dog:",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "H-Cons",
                "sec_num": null
            },
            {
                "text": "[h f , x]{[] subj , [] comp1 , [] spec , . . .} [h e : every(x, h r , h s ), h d : dog(y)] [h r = q h ]{h = h d , x = y} This SEMENT is semantically equivalent to: [h f , x]{[] subj , [] comp1 , [] spec , . . .} [h e : every(x, h r , h s ), h d : dog(x)][h r = q h d ]{}",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "H-Cons",
                "sec_num": null
            },
            {
                "text": "A slight complication is that the determiner is also syntactically selected by the N via the SPR slot (following Pollard and Sag (1994)). However, from the standpoint of the compositional semantics, the determiner is the semantic head, and it is only its SPEC hole which is involved: the N must be treated as having an empty SPR hole.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "H-Cons",
                "sec_num": null
            },
            {
                "text": "In the ERG, the distinction between intersective and scopal modification arises because of distinctions in representation at the lexical level. The repetition of variables in the SEMENT of a lexical sign (corresponding to TFS coindexation) and the choice of type on those variables determines the type of modification.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "H-Cons",
                "sec_num": null
            },
            {
                "text": "Intersective modification: white dog: We need to make one further extension to allow for control, which we do by adding an extra slot to the hooks and holes corresponding to the external argument (e.g., the external argument of a verb always corresponds to its subject position). We illustrate this by showing two uses of expect; note the third slot in the hooks and holes for the external argument of each entity. In both cases, x e is both the external argument of expect and its subject's index, but in the first structure x e is also the external argument of the complement, thus giving the control effect. Although these uses require different lexical entries, the semantic predicate expect used in the two examples is the same, in contrast to Montagovian approaches, which either relate two distinct predicates via meaning postulates, or require an additional semantic combinator. The HPSG account does not involve such additional machinery, but its formal underpinnings have been unclear: in this algebra, it can be seen that the desired result arises as a consequence of the restrictions on variable assignments imposed by the equalities. This completes our sketch of the algebra necessary to encode semantic composition in the ERG. We have constrained accessibility by enumerating the possible labels for holes and by stipulating the contents of the hooks. We believe that the handle, index, external argument triple constitutes all the semantic information that a sign should make accessible to a functor. The fact that only these pieces of information are visible means, for instance, that it is impossible to define a verb that controls the object of its complement. 7 Although obviously changes to the syntactic valence features would necessitate modification of the hole labels, we think it unlikely that we will need to increase the inventory further. In combination with 7 Readers familiar with MRS will notice that the KEY feature used for semantic selection violates these accessibility conditions, but in the current framework, KEY can be replaced by KEYPRED which points to the predicate alone. the principles defined in Copestake et al (1999) for qeq conditions, the algebra presented here results in a much more tightly specified approach to semantic composition than that in Pollard and Sag (1994) .",
                "cite_spans": [
                    {
                        "start": 1679,
                        "end": 1680,
                        "text": "7",
                        "ref_id": null
                    },
                    {
                        "start": 2141,
                        "end": 2163,
                        "text": "Copestake et al (1999)",
                        "ref_id": "BIBREF2"
                    },
                    {
                        "start": 2298,
                        "end": 2320,
                        "text": "Pollard and Sag (1994)",
                        "ref_id": null
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "H-Cons",
                "sec_num": null
            },
            {
                "text": "dog: [h d , y]{[] subj , [] comp1 , . . . , [] mod } [h d : dog(y)][]{} white: [h w , x]{[] subj , [] comp1 , .., [h w , x] mod } [h w : white(x)][]{} white dog: [h w , x]{[] subj , [] comp1 , . . . , [] mod } (op mod ) [h d : dog(y), h w : white(x)][] {h w = h d , x = y}",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "H-Cons",
                "sec_num": null
            },
            {
                "text": "Compared with \u03bb-calculus, the approach to composition adopted in constraint-based grammars and formalized here has considerable advantages in terms of simplicity. The standard Montague grammar approach requires that arguments be presented in a fixed order, and that they be strictly typed, which leads to unnecessary multiplication of predicates which then have to be interrelated by meaning postulates (e.g., the two uses of expect mentioned earlier). Type raising also adds to the complexity. As standardly presented, \u03bbcalculus does not constrain grammars to be monotonic, and does not control accessibility, since the variable of the functor that is \u03bb-abstracted over may be arbitrarily deeply embedded inside a \u03bbexpression.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Comparison",
                "sec_num": "7"
            },
            {
                "text": "None of the previous work on unificationbased approaches to semantics has considered constraints on composition in the way we have presented. In fact, Nerbonne (1995) explicitly advocates nonmonotonicity. Moore (1989) is also concerned with formalizing existing practice in unification grammars (see also Alshawi, 1992) , though he assumes Prolog-style unification, rather than TFSs. Moore attempts to formalize his approach in the logic of unification, but it is not clear this is entirely successful. He has to divorce the interpretation of the expressions from the notion of truth with respect to the model, which is much like treating the semantics as a description of a logic formula. Our strategy for formalization is closest to that adopted in Unification Categorial Grammar (Zeevat et al, 1987) , but rather than composing actual logical forms we compose partial descriptions to handle semantic underspecification.",
                "cite_spans": [
                    {
                        "start": 205,
                        "end": 217,
                        "text": "Moore (1989)",
                        "ref_id": "BIBREF4"
                    },
                    {
                        "start": 305,
                        "end": 319,
                        "text": "Alshawi, 1992)",
                        "ref_id": "BIBREF0"
                    },
                    {
                        "start": 782,
                        "end": 802,
                        "text": "(Zeevat et al, 1987)",
                        "ref_id": "BIBREF5"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Comparison",
                "sec_num": "7"
            },
            {
                "text": "We have developed a framework for formally specifying semantics within constraint-based representations which allows semantic operations in a grammar to be tightly specified and which allows a representation of semantic content which is largely independent of the feature structure architecture of the syntactic representation. HPSGs can be written which encode much of the algebra described here as constraints on types in the grammar, thus ensuring that the grammar is consistent with the rules on composition. There are some aspects which cannot be encoded within currently implemented TFS formalisms because they involve negative conditions: for instance, we could not write TFS constraints that absolutely prevent a grammar writer sneaking in a disallowed coindexation by specifying a path into the lzt. There is the option of moving to a more general TFS logic but this would require very considerable research to develop reasonable tractability. Since the constraints need not be checked at runtime, it seems better to regard them as metalevel conditions on the description of the grammar, which can anyway easily be checked by code which converts the TFS into the algebraic representation.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Conclusions and future work",
                "sec_num": "8"
            },
            {
                "text": "Because the ERG is large and complex, we have not yet fully completed the exercise of retrospectively implementing the constraints throughout. However, much of the work has been done and the process revealed many bugs in the grammar, which demonstrates the potential for enhanced maintainability. We have modified the grammar to be monotonic, which is important for the chart generator described in Carroll et al (1999) . A chart generator must determine lexical entries directly from an input logical form: hence it will only work if all instances of nonmonotonicity can be identified in a grammar-specific preparatory step. We have increased the generator's reliability by making the ERG monotonic and we expect further improvements in practical performance once we take full advantage of the restrictions in the grammar to cut down the search space.",
                "cite_spans": [
                    {
                        "start": 399,
                        "end": 419,
                        "text": "Carroll et al (1999)",
                        "ref_id": "BIBREF1"
                    }
                ],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Conclusions and future work",
                "sec_num": "8"
            },
            {
                "text": "The variables are free, we will discuss scopal relationships and quantifiers below.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "",
                "sec_num": null
            },
            {
                "text": "As usual in MRS, this is a bag rather than a set because we do not want to have to check for/disallow repeated EPs; e.g., big big car.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "",
                "sec_num": null
            },
            {
                "text": "For instance, Sag and Wasow (1999) omit the distinction between SPR and SUBJ that is often made in other HPSGs.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "",
                "sec_num": null
            },
            {
                "text": "The underspecified scoped forms which correspond to sentences can be related to first order models of the fully scoped forms (i.e., to models of WFFs without labels) via supervaluation (e.g.,Reyle, 1993). This corresponds to stipulating that an underspecified logical form u entails a base, fully specified form \u03c6 only if all possible ways of resolving the underspecification in u entails \u03c6. For reasons of space, we do not give details here, but note that this is entirely consistent with treating semantics in terms of a description of a logical formula. The relationship between the SEMENTS of non-sentential constituents and a more 'standard' formal language such as \u03bb-calculus will be explored in future work.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "",
                "sec_num": null
            },
            {
                "text": "Note every is a predicate rather than a quantifier in this language, since MRSs are partial descriptions of logical forms in a base language.6 Even though we do not use \u03bb-calculus for composition, we could make use of \u03bb-abstraction as a representation device, for instance for dealing with adjectives such as former, cf.,Moore (1989).",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "",
                "sec_num": null
            }
        ],
        "back_matter": [
            {
                "text": "This research was partially supported by the National Science Foundation, grant number IRI-9612682. Alex Lascarides was supported by an ESRC (UK) research fellowship. We are grateful to Ted Briscoe, Alistair Knott and the anonymous reviewers for their comments on this paper.",
                "cite_spans": [],
                "ref_spans": [],
                "eq_spans": [],
                "section": "Acknowledgements",
                "sec_num": null
            }
        ],
        "bib_entries": {
            "BIBREF0": {
                "ref_id": "b0",
                "title": "The Core Language Engine",
                "authors": [
                    {
                        "first": "Hiyan",
                        "middle": [],
                        "last": "Alshawi",
                        "suffix": ""
                    }
                ],
                "year": 1992,
                "venue": "",
                "volume": "",
                "issue": "",
                "pages": "",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Alshawi, Hiyan [1992] (ed.) The Core Language Engine, MIT Press.",
                "links": null
            },
            "BIBREF1": {
                "ref_id": "b1",
                "title": "The 7th International Workshop on Natural Language Generation",
                "authors": [
                    {
                        "first": "John",
                        "middle": [],
                        "last": "Carroll",
                        "suffix": ""
                    },
                    {
                        "first": "Ann",
                        "middle": [],
                        "last": "Copestake",
                        "suffix": ""
                    },
                    {
                        "first": "Dan",
                        "middle": [],
                        "last": "Flickinger",
                        "suffix": ""
                    },
                    {
                        "first": "Victor",
                        "middle": [],
                        "last": "Poznanski",
                        "suffix": ""
                    }
                ],
                "year": 1999,
                "venue": "",
                "volume": "",
                "issue": "",
                "pages": "86--95",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Carroll, John, Ann Copestake, Dan Flickinger and Victor Poznanski [1999] An Efficient Chart Generator for Lexicalist Grammars, The 7th In- ternational Workshop on Natural Language Gen- eration, 86-95.",
                "links": null
            },
            "BIBREF2": {
                "ref_id": "b2",
                "title": "Minimal Recursion Semantics: An Introduction, manuscript at wwwcsli.stanford.edu/\u02dcaac/newmrs.ps Egg, Marcus [1998] Wh-Questions in Underspecified Minimal Recursion Semantics",
                "authors": [
                    {
                        "first": "Ann",
                        "middle": [],
                        "last": "Copestake",
                        "suffix": ""
                    },
                    {
                        "first": "Dan",
                        "middle": [],
                        "last": "Flickinger",
                        "suffix": ""
                    },
                    {
                        "first": "Ivan",
                        "middle": [],
                        "last": "Sag",
                        "suffix": ""
                    },
                    {
                        "first": "Carl",
                        "middle": [],
                        "last": "Pollard",
                        "suffix": ""
                    }
                ],
                "year": 1999,
                "venue": "Journal of Semantics",
                "volume": "15",
                "issue": "",
                "pages": "37--82",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Copestake, Ann, Dan Flickinger, Ivan Sag and Carl Pollard [1999] Minimal Recursion Se- mantics: An Introduction, manuscript at www- csli.stanford.edu/\u02dcaac/newmrs.ps Egg, Marcus [1998] Wh-Questions in Under- specified Minimal Recursion Semantics, Journal of Semantics, 15.1:37-82.",
                "links": null
            },
            "BIBREF3": {
                "ref_id": "b3",
                "title": "Ambiguity in Changing Contexts",
                "authors": [
                    {
                        "first": "Tim",
                        "middle": [],
                        "last": "Fernando",
                        "suffix": ""
                    }
                ],
                "year": 1997,
                "venue": "Linguistics and Philosophy",
                "volume": "20",
                "issue": "",
                "pages": "575--606",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Fernando, Tim [1997] Ambiguity in Changing Contexts, Linguistics and Philosophy, 20.6: 575- 606.",
                "links": null
            },
            "BIBREF4": {
                "ref_id": "b4",
                "title": "Unification-based Semantic Interpretation",
                "authors": [
                    {
                        "first": "Robert",
                        "middle": [
                            "C"
                        ],
                        "last": "Moore",
                        "suffix": ""
                    }
                ],
                "year": 1989,
                "venue": "Nerbonne, John [1995] Computational Semantics-Linguistics and Processing, Shalom Lappin",
                "volume": "",
                "issue": "",
                "pages": "461--484",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Moore, Robert C. [1989] Unification-based Se- mantic Interpretation, The 27th Annual Meeting for the Association for Computational Linguistics (ACL-89), 33-41. Nerbonne, John [1995] Computational Semantics-Linguistics and Processing, Shalom Lappin (ed.) Handbook of Contemporary Semantic Theory, 461-484, Blackwells. Pollard, Carl and Ivan Sag [1994] Head- Driven Phrase Structure Grammar, University of Chicago Press.",
                "links": null
            },
            "BIBREF5": {
                "ref_id": "b5",
                "title": "Syntactic Theory: An Introduction, CSLI Publications. Shieber, Stuart [1986] An Introduction to Unification-based Approaches to Grammar",
                "authors": [
                    {
                        "first": "Uwe",
                        "middle": [
                            ";"
                        ],
                        "last": "Reyle",
                        "suffix": ""
                    },
                    {
                        "first": "Ivan",
                        "middle": [],
                        "last": "Sag",
                        "suffix": ""
                    },
                    {
                        "first": "Tom",
                        "middle": [],
                        "last": "Wasow",
                        "suffix": ""
                    },
                    {
                        "first": ";",
                        "middle": [],
                        "last": "Zeevat",
                        "suffix": ""
                    },
                    {
                        "first": "Ewan",
                        "middle": [],
                        "last": "Henk",
                        "suffix": ""
                    },
                    {
                        "first": "Jo",
                        "middle": [],
                        "last": "Klein",
                        "suffix": ""
                    },
                    {
                        "first": "",
                        "middle": [],
                        "last": "Calder",
                        "suffix": ""
                    }
                ],
                "year": 1987,
                "venue": "Henk [1989] A Compositional Approach to Discourse Representation Theory, Linguistics and Philosophy",
                "volume": "10",
                "issue": "",
                "pages": "195--222",
                "other_ids": {},
                "num": null,
                "urls": [],
                "raw_text": "Reyle, Uwe [1993] Dealing with Ambiguities by Underspecification: Construction, Represen- tation and Deduction, Journal of Semantics, 10.1: 123-179. Sag, Ivan, and Tom Wasow [1999] Syntactic Theory: An Introduction, CSLI Publications. Shieber, Stuart [1986] An Introduction to Unification-based Approaches to Grammar, CSLI Publications. Zeevat, Henk [1989] A Compositional Ap- proach to Discourse Representation Theory, Lin- guistics and Philosophy, 12.1: 95-131. Zeevat, Henk, Ewan Klein and Jo Calder [1987] An introduction to unification categorial grammar, Nick Haddock, Ewan Klein and Glyn Morrill (eds), Categorial grammar, unification grammar, and parsing: working papers in cogni- tive science, Volume 1, 195-222, Centre for Cog- nitive Science, University of Edinburgh.",
                "links": null
            }
        },
        "ref_entries": {
            "TABREF1": {
                "type_str": "table",
                "html": null,
                "num": null,
                "content": "<table><tr><td colspan=\"2\">Theorem 2 Semantics of Semantic Construction</td></tr><tr><td>is Compositional</td><td/></tr><tr><td colspan=\"2\">The mapping [[]] : \u03a3, op \u2212\u2192 I, I, G , f</td></tr><tr><td>is a homomorphism (so [[op(a 1 , a 2 )]]</td><td>=</td></tr><tr><td>f ([[a 1 ]], [[a 2 ]])).</td><td/></tr></table>",
                "text": "This follows from the definitions of[ [] ], op and f ."
            },
            "TABREF3": {
                "type_str": "table",
                "html": null,
                "num": null,
                "content": "<table><tr><td>Definition 8</td></tr></table>",
                "text": "Conditions: Where h 1 and h 2 are handles, h 1 rel h h 2 is an H-Cons condition. The Set \u03a3 of Semantic Entities s \u2208 \u03a3 if and only if s = \u22a5 or s = s 1 , s 2 , s 3 , s 4 , s 5 such that: \u2022 s 1 = {[h, i]} is a hook; \u2022 s 2 = \u2205 or {[h , i ]} is a hole; \u2022 s 3 is a bag of EP conditions \u2022 s 4 is a bag of HCONS conditions \u2022 s 5 is a set of equalities between variables."
            },
            "TABREF4": {
                "type_str": "table",
                "html": null,
                "num": null,
                "content": "<table><tr><td>walks:</td><td>[h p :probably(h s ), h w :walks(e , x)]</td></tr><tr><td>(op mod )</td><td>[h</td></tr></table>",
                "text": "Scopal Modification: probably walks: walks: [h w , e ]{[h , x] subj , [] comp1 , . . . , [] mod } [h w : walks(e , x)][]{} probably: [h p , e]{[] subj , [] comp1 , . . . , [h, e] mod } [h p : probably(h s )][h s = q h]{} probably [h p , e]{[h , x] subj , [] comp1 , . . . , [] mod }"
            },
            "TABREF5": {
                "type_str": "table",
                "html": null,
                "num": null,
                "content": "<table><tr><td>expect 1 (as in Kim expected to sleep)</td></tr><tr><td>[h e</td></tr></table>",
                "text": ", e e , x e ]{[h s , x e , x s ] subj , [h c , e c , x e ] comp1 , . . .} [h e : expect(e e , x e , h e )][h e = q h c ]{} expect 2 (Kim expected that Sandy would sleep) [h e , e e , x e ]{[h s , x e , x s ] subj , [h c , e c , x c ] comp1 , . . .} [h : expect(e e , x e , h e )][h e = q h c ]{}"
            }
        }
    }
}