<<

A Situation Theoretic Approach to

Computational

PhD Thesis

V N I E R U S E I T H Y

T

O

H F G E R D

I N B U

Alan W Black

Department of Articial Intel ligen ce

Faculty of Science and Engineering

University of Edinburgh

Foreword

This do cument consists of reedited version of my PhD thesis submitted to Department

of Articial Intelligence University of Edinburgh December

An implementation of the computational astl describ ed and used through

out this thesis is available by anonymous ftp The software is free and may b e freely

redistributed sub ject to the attached GNU General public licence The software is

available from

scottcogsciedacuk pubawbastltarZ

Note that this is still an exp erimental version later versions will b e b etter The ab ove

version includes the example astl descriptions describ ed in Chapters and which

are also repro duced in App endix A

Alan W Black

awbedacuk

Centre for Cognitive Science

University of Edinburgh

March ii

Abstract

This thesis presents an approach to the description of natural language semantic theo

ries within a situation theoretic framework In recent years research has pro duced a

number of semantic theories of natural language that primarily deal with very similar

phenomena such as quantication and Although these theories often deal

with similar data it is not always p ossible to see dierences b etween theories treat

ments due to dierences in the theories syntax notations and denitions In order to

allow b etter comparison of theories the idea of a general semantic metalanguage is

discussed and a suitable language in presented

Astl is a computational language which is formally dened It is based on funda

mental asp ects of situation theory It oers representations of individuals relations

parameters facts types and situations It also oers intersituation constraints and

a set of inference rules is dened over them In order to show astls suitability as a

computational metalanguage three contemporary semantic theories are describ ed wit

hin it Situation Theoretic Grammara situation semantic based theory

Representation Theory and a form of

The results show that at least core parts of these semantic theories can b e describ ed

in astl Because astl has an implementation it directly oers implementation of the

theories describ ed in it The three descriptions can b e closely compared b ecause they

are describ ed in the same framework Also this introduces the p ossibility of sharing

treatments of semantic phenomena b etween theories

Various extensions to astl are discussed but even in its simplest form it is p owerful

and useful b oth as an implementation language and sp ecication language Finally we

try to identify what essential prop erties of astl make it suitable as a computational

metalanguage for natural language semantic theories iii

Acknowledgements

Firstly I would like to thank Robin Co op er His comments and guidance through

this work has added greatly to it as well as helping me understand what I am doing

Graeme Ritchie has now for many years given me help in my research and career

b oth at a high and low level for which I thank him Ian Lewin has also contributed to

my work through long discussions in which I would try to explain to him what I was

trying to do and more often he could tell me

I am also indebted to various funding b o dies who have made my studies p ossible The

SERC funded the ma jority of this work through a p ostgraduate studentship number

Also towards the end of this work I have b een more than adequately funded

by Esprit Basic Research Action Pro ject DYANA In addition to the ma jor

contributions I also wish to acknowledge funding for travel from Esprit Basic Research

Action Pro ject DYANA and Department of Articial Intelligence which allowed

me to attend conferences and workshops at which some of this work was presented At

these events I gained much useful exp erience and background Thanks also go to Gail

Anderson of AIAI for arranging use of a workstation during most of this pro ject

I would also like to thank Richard Tobin and Je Dalton who have put up with me

for some years now oering cheap accommo dation fo o d and home based computing

services b oth for work and diversion I also cannot forget my fellow students who

I have served my time with John Beaven Matt Cro cker Flavio Correa da Silva

Carla Pedro Gomes Ian Frank Ian Lewin Nelson Ludlow Suresh Manandhar Dave

Moat Keiichi Nakata Brian Ross Rob Scott Wamberto Vasconcelos and others who

have passed through E Without them my time in Edinburgh would not have b een

so enjoyable There are others to o who have contributed to my views and work in

my previous incarnations in the Edinburgh research community I thank them I am

grateful to have had the opp ortunity to b e part of such a very stimulating community iv

Contents

Foreword ii

Abstract iii

Acknowledgements iv

Introduction

Outline of chapters

Computational Semantics

Introduction

Some semantic phenomena

Some semantic theories

Discourse Representation Theory

Dynamic semantics

Situation Theory

A general computational semantic language

Feature systems

Semantic abstraction

Thesis aims

Summary

A Computational Situation Theoretic Language v

Introduction

astla situation theoretic language

Syntax of astl

Semantics of astl

Inference in astl

Extended Kamp Notation

Simple example

Some formal prop erties

Soundness of astl

Computational complexity

Implementation

Comparison with other systems

astl and situation theory

astl and prosit

astl and feature systems

Summary

Pro cessing Natural Language and STG

Introduction

Situations and language pro cessing

A simple grammar fragment

Situation Theoretic Grammar

Quantication

Summary

Discourse Representation Theory and Threading

Introduction

Discourse Representation Theory

DRT in astl

DRSs in astl vi

Threading

Constructing the threading information

Pronouns and accessibility

Other instantiations of DRT

Summary

Dynamic Semantics and Situation Theory

Introduction

Background and justication

Denition of DPL

DPL in astl

Assignments

DPL expressions in astl

DPL and natural language

Comparison of DPLNL and DRT

Summary

Extensions

Introduction

Extending DRT in astl

Pronouns and Situation Theoretic Grammar

Extending astl

Abstraction parameters and anchoring in astl

Using semantic translations

Summary

Conclusions

Final comments

Bibliography

A Examples vii

A Introduction

A Ro oth Fragment

A STG description

A DRT description

A DPLNL description viii

Chapter

Introduction

Since the development of computers one of the many areas of research has b een the

automatic pro cessing of human language In the b eginning it was hop ed that natural

language pro cessing would not b e to o dicult and the exp ectations were high The

translation of one natural language automatically into another was thought to b e p os

sible and many pro jects were started However it was quickly discovered that it would

not b e as simple as rst thought First b etter theories of natural language were nee

ded and secondly b etter theories of programming were needed in order to implement

language theories eciently It is not unconnected that during this time there was an

increase in the study of theoretical which oered theories of language more

suitable for computer implementation Work in Articial Intelligence however often

tried to develop its own computational theories of language which were concerned

more with computation than with linguistics

Although the overall goal of high p erformance automatic natural language pro cessing

was shared b etween the theorists and the pragmatists dierences of opinion did exist

Many implementors b elieved that linguistic theory was not relevant to building prac

tical computational systems It was felt that to o much theory in an implemented sy

stem would do little to improve p erformance There is the story probably ap o cryphal

of the sp eech pro cessing group who would sack a linguist to make their system run

faster Although b oth sides have their extremists what is really necessary is knowing

which parts of linguistic theory can b enet practical applications and which should b e

ignored for the present However with the steady improvement in p ower of computer

systems more and more asp ects can b e reasonably implemented

Initial theoretical work in natural language pro cessing has concentrated on syntax and

even to day that area is probably the most studied Although there are still many pro

blems to solve practical syntactic grammars which have a rm theoretical grounding

exist for signicant fragments of some natural Semantics the meaning of

language is still trailing a little b ehind maybe b ecause it is more dicult or b ecause

it is prerequisite to have a basic theory of syntax in which a semantic theory may b e

describ ed Formal philosophy and logic has worried ab out the meaning of language

for thousands of years but it is only in the last thirty years or so that computational

CHAPTER INTRODUCTION

issues have started to inuence these theories

It is imp ortant that formal semantics not b e ignored in the development of practical

natural language systems Although an implementation may ignore certain asp ects

it is imp ortant to understand exactly what the consequences are in ignoring certain

asp ects of theoretical semantics Even if theories are not directly embo died in systems

theories of semantics are imp ortant in order to give a b etter understanding of what

the limitations of implementations are

Today there are a number of computational semantic theories oering treatments of

a few interesting semantic phenomena Mostly these theories concentrate on similar

asp ects of language Although many theories seem to b e addressing similar issues it

is not always p ossible to give a detailed comparison of them b ecause of dierences in

notation dierences in emphasis and even dierences in versions of each theory It

would aid the development of semantic theories of natural language greatly if there

were a theoretically based system in which contempory semantic theories could b e

compared more easily Also it is imp ortant to realise that developing computational

theories of natural language semantics is not obvious Understanding the consequences

of an abstract denition is not easy Computers should not just b e seen as the ulti

mate delivery agent computers can also act as a useful to ol in the development and

exp erimentation of theories

This thesis takes a theoretical approach to the description and implementation of

asp ects of contemporary semantic theories of natural language Situation theory

Barwise Perry Barwise b is used as the basis for a computational lan

guage called astl Semantic theories can b e describ ed in astl and b ecause astl

has an implementation it oers an implementation for theories describ ed in it Be

cause these semantic theories are describ ed within the same environment dierences

in notation syntax etc can b e factored out and a very detailed comparison can b e

made b etween them Also as theories are describ ed within the same environment the

prosp ect of sharing treatments of semantic phenomena b ecomes p ossible

Outline of chapters

Chapter discusses asp ects of computational semantics It gives brief descriptions of

some current semantic theories of natural language and some of the currently investi

gated semantic phenomena Situation theory is introduced and the notion of general

metalanguage for semantics theories is discussed Various p ossible frameworks wit

hin which such a language could b e developed are discussed and reasons for choosing

situation theory are given

Chapter introduces the situation theoretic language astl It denes astls formal

syntax and semantics as well as its inference rules Simple examples are given and one

p ossible implementation of this language is describ ed

In order to justify astl as a computational metalanguage for describing asp ects of

semantic theories it is necessary to give detailed examples Chapter shows how

OUTLINE OF CHAPTERS

simple language pro cessing is p ossible in astl and a simple syntactic framework is

introduced which will b e used in later examples Then the rst of three astl de

scriptions of semantic theories is given The rst is Situation Theoretic Grammar

STG Co op er which is a situation semantic theory Although this theory is clo

sest to the ideas built into astl it is imp ortant to show that astl is capable of descri

bing basic The next two chapters deal with theories that address

much of the same phenomena and hence are suitable for close comparison Chapter

gives a detailed description of Discourse Representation Theory DRT Kamp

Kamp Reyle Chapter discusses dynamic semantics as in Dynamic

Logic DPL Gro enendijk Stokhof b A description in astl is given for the logic

DPL as well as a dynamic semantic treatment of the same simple language fragment

used in the preceding two examples Comparisons are made b etween the DRT and dy

namic semantics descriptions showing how closely they compare and what the actual

dierences b etween these two theories are

Chapter shows how once in a framework of situation theory asp ects of it can b e

easily adopted into semantic theories describ ed within in it This chapter not only

discusses extensions to describ ed theories but also useful extensions to astl itself to

make descriptions easier

Finally Chapter again discusses why a situation theoretic based language like astl is

suitable as a metalanguage and exactly what prop erties make it so Also it reiterates

the basic thesis arguments The contributions are identied and conclusions drawn

Chapter

Computational Semantics

Introduction

In pro cessing natural language by computer a number of techniques have b een used to

try to capture the meaning of natural language utterances In early natural language

pro cessing systems meanings were often computed in a rather ad hoc fashion SHRDLU

Winograd an early system translated sentences into pro cedures whose evaluation

ie execution would achieve the desired interpretation of the utterance As such there

was not really an abstract semantic representation language let alone a formal deni

tion of it Semantics in natural language pro cessing and articial intelligence systems

were typically very sp ecic to the task and embedded within the actual implementa

tion A go o d description of the issues at the time is given in Charniak Wilks

Representational formalisms from that time have survived but much work has b een

done to characterise these formalisms and give them a more formal semantics For

example semantic nets at rst were fairly arbitrary until Woo ds b egan to try

to dene them Eventually they developed into KLONE Brachman Schmolze

which do es have a detailed formal semantics

Another thread in the eld of computational semantics though not always separate

is the substantial work already done in philosophy and linguistics on formal logic

With the advent of computers computational systems based on logics app eared The

whole area of logic programming was developed part of which is devoted to language

pro cessing The idea of using a computer to translate natural language utterances into

a logical form is b est typied by CHAT Pereira CHAT is a Prolog program

which parses English queries ab out world geography the queries are converted into

simple logical forms and after some manipulation to optimise the query checked against

a geographical database However early on it was feared that rst order predicate logic

was not rich enough to capture all the various semantic phenomena found in natural

language utterances Higher order logics would probably b e required although they

are signicantly more dicult to deal with computationally

Within this chapter and this thesis the term computational semantics will b e used for

MONTAGUE GRAMMAR

the eld of study that primarily is interested in using formal logics in computational

natural language systems By computational we mean those systems that are developed

with at least p ossible computer implementation in mind but more often those systems

that have actual implementations Computational semantics can b e seen as a bridge

b etween formal semantics typically logic and applied natural language pro cessing

There could b e two asp ects to computational semantics rst the translation of natural

language utterances into a semantic representation and the choice of representation

language and secondly the use of the translation and inferences we can draw from

it Although we will touch on the second asp ect primarily we will b e dealing with the

translation and representation

As the ultimate goal in computational semantic is a computational treatment which

we can actually use on a computer semantic theories should b e sp ecicied in such a

way so that this is p ossible The sp ecications we give of theories in later chapters do

meet that criterion

However b efore we lay out the aims and metho dology of this thesis we will outline some

of the ma jor areas in computational semantics that have b een studied b oth theories

and phenomena Montague Grammar Montague provided a basis from which much

of the current work in computational semantics derives or at least is inspired by

Sp ecically we will lo ok at the areas of quantication and anaphora Characteristic

problems in semantics will b e listed which are used as targets for theories Some sp ecic

theories will b e describ ed and which of the identied problems they address and fail

to address will b e given The second part of this chapter will describ e the work on

Situation Semantics and Situation Theory Barwise Perry Barwise b its

motivation and its current state in the eld of computational semantics Then the

idea of a semantic theory metalanguage is introduced and p ossible areas from which

such a language may b e found are discussed Finally a short discussion will b e given

justifying the direction taken in the rest of this thesis

Montague Grammar

Montague Grammar was probably the rst example of a semantic system for natural

language which had a detailed formal denition It shows how a formal logic treatment

of language can b e made for a nontrivial subset of English Although of course

not fully comprehensive it still has set a standard for more contemporary systems

for certain semantic phenomena Montagues original pap ers from the s and s

are unfortunately dicult to read many are collected together in Thomason

Later introductions Thomason Partee help ed make the rest of the logic and

philosophy community aware of his work However Dowty et al is probably the

most accessible description

A short description of Montague Grammar is given here as it is a go o d example of

the basic mo del for computational semantics used within this thesis The basic idea is

that a natural language utterance can b e translated into an expression in a semantic

representation language Using an interpretation function dened for that semantic

CHAPTER COMPUTATIONAL SEMANTICS

representation language the meaning of the utterance can b e found In the case of

Montague Grammar the representation language is while the inter

pretation function is the semantics for Intensional Logic The basic notion in Montague

Grammar is that the meaning of a sentence is a function from worlds to truth values

That is in order to know the meaning of a sentence one must know the circumstances

in which it is true or false The semantics of the Intensional Logic translation of an

utterance reects this Note that the Intensional Logic translation of an utterence is

merely an intermediate form but not in itself the semantics

A much simplied example follows Here we simply use rst order logic and the lambda

calculus rather than full Intensional Logic in order to make the example a little more

readable

An imp ortant asp ect of Montague Grammar is that the semantic rules are related

to syntactic grammar rules thus oering a strict compositional treatment of semantics

That is for every syntactic constituent in the grammar fragment there exists a semantic

translation In order to achieve this a lib eral use of lambda abstraction is necessary

A typical analysis of a simple sentence every man walks would b e as follows The

syntax and semantic translations are shown for each no de

S

x manx w al k x

NP walks

Qx manx Qx y w al k y

every

man

P Qx P x Qx y many

In this example the translation of the mother no de is achieved by functional application

of the translation of the daughters Computationally this can b e implemented by

applying the semantic translation of one daughter to the other and using b eta reduction

to nd the normalised form

Montague Grammar actually uses Intensional Logic for its semantic representation

This includes mo dal op erators intensional op erators up arrow and down arrow and

lambda abstraction Montague presents a fragment of English with b oth syntax

and semantics In many ways this example sets the target for later semantic theories

Montagues work showed not only how to represent some examples of natural language

utterances in logic but also how to construct a logical translation from syntactic parse

trees Montague concentrated on a number of sp ecic semantic phenomena Within

his fragment he gave treatments for simple declarative sentences quantiers b ound

anaphora and others Treatments of intensional asp ects of language were also included

SOME SEMANTIC PHENOMENA

Montagues fragment is by no means fully comprehensive but do es oer a rm ground

Much development has since taken place b oth in its formal asp ects and increasing

its coverage Although inference in Intensional Logic is in general computationally

undecidable Montague Grammar do es oer a metho d for implementation and has

b een used as a semantic basis in a number of implemented systems eg Cliord

Since the original work on Montague Grammar a number of new theories and exten

sions have b een developed Some of the motivation of this later work was to address

sp ecic problems in semantics which could not b e dealt with in Montague Grammars

original form Sometimes these have b een extensions to Montague Grammar itself

as in Muskens where partiality is added to p ossible worlds or new theories as in

Discourse Representation Theory Kamp

Some semantic phenomena

Many of these extensions and new theories were motivated by particular problems

in semantics We will lo ok at two particular areas of semantics quantication and

anaphora and identify some problems These problems were either treated by Monta

gues original fragment and hence have b ecome p oints with which other theories are

compared or were missing or inadequately treated and required extensions or new

theories

Quantiers such as every a at least three etc are common in natural language

utterances but their interpretation is sometimes tricky When more than one quantier

app ears in an utterance there can b e an

Every man loves a woman

is normally taken to b e ambiguous b etween there b eing one particular woman who all

men love and all men loving some p ossibly dierent woman This ambiguity is shown

clearly in the two p ossible logical forms for this sentence The rst represents the case

where each man loves some woman but not necessary all the same while the second

case is where there is one particular woman loved by all

x manx y w omany l ov ex y

y w omany xmanx l ov ex y

As we can see the order of the quantiers is crucial in dierentiating the two cases

This phenomenon is referred to as quantier

Unfortunately it is not simply the case that all readings of a sentence can b e found

by nding all p ermutations of the quantiers in its resultant translation Some com

binations are not p ermitted Various solutions have b een prop osed to nd all p ossible

scopings In the original work of Montague dierent scopings were achieved by dierent

CHAPTER COMPUTATIONAL SEMANTICS

syntactic analyses of the same utterance Later work Co op er prop osed that the

alternative scopings could b e generated nondeterministically during semantic analy

sis Even later work has further partitioned o the work of nding quantier scopings

from building semantic representations The idea of a representation that do es not yet

have its scopings resolved has b een used in a number of actual systems Most typical

is the Core Language Engine CLE where a quasilogical form QLF is generated

and later pro cessed to nd the p ossible scopings Alshawi Various algorithms have

b een prop osed for nding the p ossible scopings given a QLF or similar representation

Lewin Hobbs Shieb er

A second problem in quantication can b e shown as follows In basic Montague Gram

mar the representation for the determiners every and a are

every P Qx P x Qx

a P Qx P x Qx

There are other quantiers few most at least three etc If the ab ove framework

were to b e followed all would require their own unique form In order to make the

representation of quantiers more consistent we can view all quantiers as twoplace

relations b etween prop erties Thus determiners would b e represented as

every P Qf or al l P Q

a P QexistsP Q

most P QmostP Q

where P and Q would b e some form of prop erty such as lambda abstractions as in

xmanx and xmor tal x This representation for quantiers removes the need

for sp ecialised logical op erators within the representations ie and in the ex

amples ab ove This allows a more consistent treatment It also makes p ossible a

treatment for quantiers like mostas most must b e dened as a relation b etween

the sets dened by the two arguments rather than a simple logical op erator b etween

the two This form of representation for quantiers is called generalised quantiers

The rst argument P is sometimes called the range while the second Q is someti

mes called the body or scope of the quantier Generalised quantiers are more fully

discussed in Barwise Co op er

There are other phenomena which although not directly related to quantication can

b e treated in a similar form Comparatives have b een given a treatment within a

framework of generalised quantiers Pulman Also a number of adverbs can also

b e treated like quantiers eg usual ly sometimes always etc Chiercha

The second area of phenomena we will identify is various forms of anaphora or pronoun

use There is already a large selection of data on various forms of anaphora found

in natural language see Hirst for a go o d review One of the simplest forms of

anaphora can b een seen in the following examples

A man walks He talks

1 1

SOME SEMANTIC PHENOMENA

1

The He in the second sentence can refer to the man identied in the rst This we

will call intersentential anaphora where a pronoun refers to an ob ject in the discourse

introduced in an earlier sentence

A second form of anaphora is what is termed bound anaphora where a pronoun app ears

within the scop e of a quantier and refers to the ob jects introduced by the quantier

That is the pronoun acts like a b ound variable For example

Every student revised his paper

1 1

where his refers to each student This relation b etween anaphora and quantiers

they are within the scop e of is a ma jor part of some syntactic theoriesoften termed

theory as in GB Chomsky

Another form of anaphora which has inspired a lot of study is what has come to b e

called donkey anaphora due to the classic example sentence

Every farmer who owns a donkey beats it

Originally discussed in Geach the it in the ab ove sentence do es not under at

least one reasonable interpretation refer to one particular donkey but to the donkeys

b elonging to each farmer That is the referent for it is dep endent on the quantier

introduced by a donkey which in turn is dep endent on the quantier introduced by

every farmer This again shows how anaphora can b e closely related to the treatment

of quantication

The problem can b e further explained in lo oking at p otential logical forms of the

sentence One p ossible and correct form is

xy f ar mer x donk ey y ow nx y beatx y

Note that here we require a universal quantier to represent the indenite noun phrase

a donkey while in a simple sentence like

a farmer walks ; x f ar mer x w al k x

the indenite is represented by an existential quantier Naive attempts to give a more

unied treatment fail as the simple translation of Every farmer who owns a donkey

beats it as

x f ar mer x y donk ey y ow nx y beatx y

We will sometimes use the convention of subscripting to show the referent for anaphora

CHAPTER COMPUTATIONAL SEMANTICS

is not a valid expression as the y in the right hand side of the implication lies outwith

the scop e of the existential quantier that introduces y Another p ossible translation

might b e

xy f ar mer x donk ey y ow nx y beatx y

but this although logically wellformed do es not capture the meaning of the English

utterance The ab ove is true in the following mo del

f ar mer a ow na b

donk ey b catc

where a owns a donkey but do es not b eat it

As we can see we need to translate indenites to either universal quantiers when

already within the scop e of a universal quantier or existential quantiers otherwise

It would b e more convenient if a uniform treatment of indenites could b e given

As well as simple anaphora for noun phrases there is also the phenomenon of verb

phrase ellipsis As in

Hanako met Noriko and so did Taro

2

Normally we would wish to treat this as Hanako met Noriko and also Taro met Noriko

However things are more complex when the verb phrase in the rst clause contains a

quantier or a pronoun

Hanako ate a pizza and so did Taro

Hanako met her mother and so did Noriko

The rst is ambiguous as to whether Hanako and Taro ate the same pizza or not

dierentiated by the scop e of existential introduced by the indenite a pizza The

second is ambiguous as to whether Noriko met Hanakos mother called the strict

reading or her own mother called the sloppy reading This is to do with whether the

the verb phrase representation that is reused contains the pronoun or its referent

from the rst use Examples like these are discussed in detail in Gawron Peters

Their descriptions are within the framework of situation semantics and hence it is

not always easy to see their relationship with the work on VP ellipsis in DRT eg

Partee and dynamic logic Gardent

In addition to semantic phenomena there are also asp ects of computational semantics

that are to do with technique rather than merely linguistic adequacy A characteristic

Throughout this thesis instead of the classic example prop er names of John and Mary for

variety we will use Japanese examples Hanako and Noriko are common Japanese female names

while Taro is a common male name

SOME SEMANTIC THEORIES

which many consider to b e essential in a semantic theory is compositionality Basically

comp ositionality means that the meaning of an utterance is made from the meaning

of its parts However it is actually dicult to nd any computational treatment for

semantics where this can b e untrue in general see Zadronzy for some formal

discussion on this p oint A stronger denition that is sometimes imp osed is that for

each syntactic constituent of an utterance there is a corresp onding semantic translation

and that that translation is solely comp osed from a function of the semantic transla

tions of the syntactic parts of that constituent Even with this stricter denition it

is p ossible to convert almost any theory to this form by simply complicating either

the semantic comp onents or the conjoining pro cess eg by checking for dierent ca

ses Making the constituents more complex is not the intention of the prop onents

of comp ositionality In fact comp ositionality is a prop erty that is dicult to dene

satisfactorily Its status as a desired prop erty is probably b ecause it is a prop erty of

Montague Grammar where semantic rules are directly linked to syntactic ones while

in more contemporary theories an emphasis on comp ositionality should p erhaps not

b e so necessary or appropriate

Another phenomenon which is often considered abstractly from the actual semantic

theory used is incrementality This is where there is a representation for each initial

substring of an utterance Again like comp ositionality it seems that incrementa

lity can always b e achieved at the exp ense of the complexity of the representation

More detailed denitions can sp ecify that the representation for each initial substring

must have a semantic Again it is unclear what the ultimate purp ose is

in achieving incrementality Such a direction really needs other justications such as

psychological or human p erformance issues see Cro cker for more discussion of this

p oint

As we have stated there are a number of asp ects of quantication and anaphora that are

closely related quantier scop e various quantiers plurals intersentential anaphora

VP ellipsis etc Various solutions to these problems have b een prop osed but often

in quite dierent frameworks This can make comparisons of solutions to problems

dicult as well as sometimes requiring duplicate research

Some semantic theories

Now that we have seen a number of semantic phenomena we will briey describ e some

semantic theories which have b een designed to treat such phenomena Each of the

three theories describ ed are describ ed in more detail in later chapters so only a high

level overview of them and their motivation is given here Also we try to highlight

asp ects of them which justify the direction taken in this thesis

Discourse Representation Theory

Discourse Representation Theory DRT as its name suggests oers a representation

for Kamp Kamp Reyle Only a brief description is given here

CHAPTER COMPUTATIONAL SEMANTICS

a more indepth description b eing given in Chapter The state of a discourse is

represented by a Discourse Representation Structure DRS DRSs are typically drawn

as b oxes consisting of two parts the top section contains discourse markers which

are introduced by nouns and the b ottom section consists of conditions ab out those

markers A typical DRS for the sentence A man walks is

X

manX

walkX

Two imp ortant asp ects of DRT can b e shown by a simple example of how pronoun

resolution is achieved that is the structural and dynamic asp ects of the theory Given

the of the ab ove sentence a following sentence He talks would extend the

ab ove DRS such that it would lo ok like

X Y

talkY

isXY

manX

walkX

For the purp ose of this example we will ignore that fact that sometimes we cannot

deal with the words in a sentence in exactly the same order as they app ear In

the second sentence the He introduces a new discourse marker Y and nds some

previous discourse marker of the right type X which it can b e related to then the

pro cessing of the verb adds the condition talkY The extending of a DRSs through

the pro cessing of the discourse shows the dynamic asp ect of DRT Eectively we can

view this as the sentence adding to an incoming DRS to pro duce an outgoing DRS

which is the treatment we will adopt in Chapter

In Montague Grammar the are simply truth values and functions In DRT

there is a structural asp ect to the semantics DRSs themselves are said to b e not just

intermediate representations built as a convenience in pro cessing but as representations

of psychologically real structures necessary in the analysis of language Although this

may b e an extreme way to put it it is true that the DRS structure is actively used in

analysis In pronoun resolution p ossible candidate referents are found by lo oking at

the current DRS itself This structural or it could b e called informational asp ect is

relatively new to computational semantic theories

As well as oering a representation for the content of discourses DRT also oers a

construction algorithm which shows how a DRS can b e constructed from a parse tree

of an utterance This asp ect is imp ortant as DRT is not only concerned ab out semantic

representation but also with the computational pro cessing required to construct such a representation

SOME SEMANTIC THEORIES

So we can see that DRT do es oer something new to computational semantics It oers

b oth dynamic and structural asp ects which are missing in the Montague Grammar

framework It includes a construction algorithm as part of the theory noting that

construction of representation is as imp ortant as the representation itself

DRT do es not just oer representations for simple sentences even in its simplest form

it deals with simple quantiers Every is translated as a conditional as a relation

b etween two subDRS Indenite noun phrases are translated with implicit existentials

This and the way universals are treated allows a uniform treatment of indenites

b oth within the scop e of universal quantiers and without Thus DRT oers a clean

treatment of donkey anaphora

Later extensions to DRT Kamp Reyle have included a treatment for generalised

quantiers which introduces a diamondshap ed b ox identifying a discourse marker and

relating two subDRSs DRT has also b een used as a basic framework for other pheno

mena Temporal anaphora where events are introduced as discourse markers has b een

describ ed by Partee and others However also more general semantic phenomena

which do not directly dep end on the basic features of DRT have b een describ ed within

a DRT framework eg Lascarides Asher on commonsense entailment

Dynamic semantics

Dynamic semantics follows the basic idea that the meaning of an utterance trans

forms some input context to pro duce a output context which will form the input

context of the next part of the discourse This idea has come from the techni

ques in theoretical computer science in dening the semantics of computer languages

Harel For example a program fx x g can transform an input state g

to an output state h that diers only from g such that the value of x in h is larger

than the value of x in g This transforming of state is the reason for the use of the

term dynamic

Dynamic Predicate Logic Gro enendijk Stokhof b was developed as a reply to

DRT DRT had b een a move away from the classical logical p ersp ective and more

precisely away from Montague Grammar Dynamic semantics is an attempt to bring

the semantic coverage of DRT back into a standard logical framework To do this the

conventional syntax of logical expressions is used but the semantics is changed A DPL

expression denotes a set of pairs of input and output states which represent the valid

input and output contexts the expression can app ear in

A typical example of a DPL expression representing the utterance a man walks is

xmanx w al k x

Although the second x would in a conventional nondynamic logic lie outwith the

scop e of the existential quantier this is not the case in DPL The semantics of DPL is

such that variable bindings introduced by an existential quantier are held in assign

CHAPTER COMPUTATIONAL SEMANTICS

ments which can b e referred to later in the expressionthe details of this are describ ed

in Chapter

DPL is a very simple logic which is basically rst order Dynamic Montague Grammar

DMG Gro enendijk Stokhof a is an attempt to deal with a richer logic called

Dynamic Intensional LogicDIL in a dynamic way Unlike DPL DMG relates natural

language utterances to logical translations

An imp ortant asp ect of dynamic logic is that it oers a simple comp ositional treatment

for sentences In a conventional logic in order for a variable or discourse marker

introduced in one sentence to b e referred to in the next eg in the use of inter

sentential anaphora it is necessary that the second sentence app ears within the scop e

of any existential quantier introduced in the rst In dynamic logic two sentences can

simply b e conjoined by a dynamic conjunction op erator For example if we have the

following discourse

A man walks He talks

1 1

a conventional nondynamic logic representation of the rst sentence must allow for

the p ossibility of including the succeeding sentence within the scop e of the existential

introduced in the rst This might lo ok something like the following

px manx w al k x p

tal k x

But this is still inadequate as although we can now get the second sentence within the

scop e of the existential in the rst the x in the second sentence is free and there is

no reason that it should b e the same x as in the rst sentence even after application

Because of the dynamic treatment of existentials in DPL we can represent the rst

sentence in DPL as

x manx w al k x

and represent the two sentences in DPL as

x manx w al k x tal k x

and still have the x in tal k x b e the same as the x introduced by the existential We

can compare this with the nondynamic expression which for b oth sentences would

b e

x manx w al k x tal k x

SOME SEMANTIC THEORIES

Crucially we can see that in the nondynamic case there is no subexpression which

represents the rst sentence This asp ect is argued as a reason why the nondynamic

treatment is noncomp ositional Of course in the dynamic case a redenition of the

conjunction op erator is necessary in order to achieve comp ositionality

With resp ect to DRT DPL oers a conventional logical treatment of one of the ma

jor dicult semantic phenomenon covered by DRTdonkey anaphora But unlike

Montague Grammar DPL keeps the dynamic asp ect of the translation

Situation Theory

In the early s there was a group who prop osed a new theory to natural language

semantics Situation Semantics and what has later b ecome known as Situation Theory

Barwise Perry Barwise b were devised as an alternative to p ossible world

semantics It was a move away from conventional logics which only have relatively

simple ob jects in the semantic domain to having much more complex semantic ob jects

Within this movement although at rst there was little distinction to day there is a

split b etween situation theory the formal asp ects of the theory mathematical logical

philosophical logical pro of theoretic etc and situation semantics the application of

situation theory to the semantics of natural language

Some early motivation for the development of the situation theory was sentences of

the form

John saw Mary walk

John saw Mary walk and Bil l talk or not talk

In a conventional classical logic one that is rich enough to represent embedded senten

ces there is no way to distinguish b etween these two examples they are semantically

equivalentwhile intuitively there seems to b e a dierence

Situation theory introduces the notion of a situation Situations can intuitively b e

thought of as parts of the world Unlike p ossible worlds situations are partialthey

do not dene the truthfalsity of all relations on all ob jects in the domain Situations

3

support facts Facts have a p olarity or representing whether the fact is p ositive

or negative in some situation A simple example would b e

S j w al k mar y

1

which is used to represent the fact that Mary walks in the situation S With a notion

1

of p olarity the truth and falsity of a fact is not dep endent on the supp orts relation so

that

There is sometimes some confusion in the terms infon fact possible fact and soa state of aairs

Some prop onents of situation theory make distinctions b etween these dep ending on whether they are

actual part of the real world or not To continue this confusion I will not distinguish b etween these

terms but will typically use the term fact

CHAPTER COMPUTATIONAL SEMANTICS

S j w al k mar y

2

do es not imply

S j w al k mar y

2

This allows the two linguistic examples ab ove to b e have distinct representations

John saw Mary walk ;

S j w al k mar y

1

S j see j ohn S

2 1

John saw Mary walk and Bil l talk or not talk ;

S j w al k mar y

3

S j tal k bil l tal k bil l

3

S j see j ohn S

4 3

Thus the notion of a situation oers a way to deal with partial information and a way to

hold information in distinct places a fact may b e p ositive in one situation but negative

or unknown in another An imp ortant asp ect of the theory is that situations are rst

class ob jects They may b e used as arguments in relations This oers an imp ortant

level of p ower to the theory as relations can not just b e in situations but also hold

between situations and other ob jects

A second imp ortant asp ect of situation theory is that of parameters The idea of

parameters is to allow the representation of underdened ob jects In logic variables

are syntactic expressions but in situation theory the idea is that these variables

should b e in the semantic domainalthough this has b een considered by some to b e

a dicult direction to go in This use of parameters and anchoring analogous to

assignments to variables allows situation theory to describ e what would b e called

variables and assignment within the theory itself rather than only in the metatheory

used to describ e the logic

The distinction of situation theory versus situation semantics o ccurred as the area

matured Situation theory concerns itself with the philosophical mathematical and

logical asp ects of the eld while situation semantics concerns itself with dening a

situation theoretic account of natural language semantics Although we talk ab out

situation semantics as a theory it is not true that there is one clearly dened situa

tion semantic theory but a collection of theories which are all dened in or at least

app eal to asp ects of situation theory As we have a natural language semantic theory

situation semantics dened in terms of a general theory situation theory there is

the question whether other nonsituation semantic theories might also b e able to b e

dened within a situation theoretic framework

Although this question seems an app ealing and interesting question to investigate there

are problems Situation theory is still a young area and it is constantly changing The

early work Barwise Perry is notoriously dicult to read and not formally fully

SOME SEMANTIC THEORIES

sp ecied As the eld is still new there are many views on its b est courses and many op

tions even for the most fundamental asp ects of the theory So much so that there is even

a pap er dening some of the p ossible questions ab out the basic theory Barwise a

However there is progress alb eit sometimes slowly b oth on situation theory such as

the work on inference Barwise Etchemendy and in situation semantics such as

Gawron Peters which shows a situation semantic treatment of quantication

and anaphora Other work in the eld has shown a treatment of classically dicult

logical representation problems like paradoxes as in Barwise Etchemendy where

a treatment of the liar paradox is discussed A more detailed and formal description

of some asp ects of situation theory is given in Chapter

Computationally situation semantics is even more in its infancy Because of its youth

rm denitions have not b een p ossible making it dicult to extract a fragment that

is suitable for implementation However some small systems have b een attempted

The language DeterminerFree Aliass outlined in Barwise Perry Ch has b een

implemented Braun et al Polzin et al

One computational use of situation theory which has gained a number of followers is

situation schemata Situation schemata Fenstad et al are a metho d for enco ding a

form of fact or infon in an attributevalue matrix A typical example for the sentence

John walks may lo ok like

3 2 2 3

RE L w al k

 

7 6 6 7

IND J ohn

7 6 6 7

 

ARG

7 6 6 7

FOCUS IND

J ohn

7 6 6 7

7 6 6 7

7 6 6 7

3 2

7 6 6 7

IND I N D

7 6 6 7

3 2

7 6 7 6 6 7

RE L 

7 6 7 6 6 7

LO C SITSCHEMA

7 6 6 7

5 5 4 4

ARG

COND

1

7 6 6 7

7 6 6 7

ARG l

d

7 6 6 7

7 6 6 7

7 6 6 7

 

7 6 6 7

FOCUS IND

J ohn

7 6 6 7

6 7

5 4

6 7

6 7

POL

6 7

6 7

6 7

2   3

0 0

6 7

P RE D J ohn

6 7

SUBJ d

1

6 7 6 7

NUM SG

6 7 6 7

6 7 6 7

F S T RU C

6 7 6 7

4 5

4 5

TENSE P RE S E N T

0 0

P RE D w al k

d1

Situation schemata can b e built up in a conventional feature grammar using unica

tion of partial schemata This is similar to the technique used to build a conventional

logical forms in a unication feature grammar as in Shieb er a but the semantics

of schemata is given in a situation theoretic way Dep ending on the instantiation of

situation schemata it is p ossible to view schemata as equivalent to QLFs quasilogical

forms Alshawi as they can have unresolved asp ects such as quantication Situa

tion schemata are probably the most accessible implementational device available in

situation semantics and have b een used in a number of applications eg see Rupp

CHAPTER COMPUTATIONAL SEMANTICS

or Co op er

The ab ove computational treatments of situation semantics are interesting in that

they do not use their resulting representation in any active way They use some other

pro cessing or computational formalism to build situation theoretic representations

but they do not dene any situation theoretic concept of inference

A second class of computational situation theoretic systems are those that use situation

theory as their computational base rather than just using asp ects of situation theory in

a representation formalism within some other theory The prime example b efore the

work presented here is prosit Nakashima et al Frank Schutze Prosit

is designed to b e a general knowledge representationprogramming language based on

situation theory in a similar way that Prolog is based on rst order logic Prosit

oers a representation of situations facts parameters and intrasituation constraints

A detailed description is given in Section What makes prosit dierent from

the other treatments of situation theory is that it deals with more than simply repre

sentation Prosit oers a inference mechanism within a situation theory framework

Thus it allows queries to b e proved ab out systems of situations and constraints

Primarily prosit has b een used to lo ok at problems of selfreference in knowledge

representation rather than its use for representing natural language semantics The

fact that situation theory allows situations as arguments to facts means it is easy to

represent selfreferential statements For example supp ose we wish to represent a card

game where there are two players Hanako has the and Taro has the Both

players are displaying their cards so b oth can see each others cards and b oth can see

that they can see each others cards etc This innite regression can b e easily mo delled

by selfreference

S j has h

1

S j has t

1

S j see h S

1 1

S j see t S

1 1

It is this selfreference and ability to represent others b elief states that is exploited in

prosit examples such as the description of the three wise men and the colour of their

hats problem describ ed in Nakashima et al

A general computational semantic language

Since the development of Montague Grammar a number of new semantic theories

have b een developed either to augment Montague Grammar itself or as alternate

theories to deal with some problem not dealt with in the original denition There

are many such theories but within this thesis we will b e lo oking at only a few Di

scourse Representation Theory DRT Kamp Situation Semantics Co op er

Gawron Peters and others and Dynamic Logics Gro enendijk Stokhof a

A GENERAL COMPUTATIONAL SEMANTIC LANGUAGE

Gro enendijk Stokhof b These theories as we have seen ab ove use widely die

rent notations to describ e many of the same phenomena For example a simple sentence

like a man walks might have representations as

Situation Semantics S j man X

S j w al k X

Dynamic Logic x manx w al k x

X

DRT manX

walkX

Even in the case of dynamic logic the apparent similarity to standard logic is only

sup ercial as we will see in Chapter Also even after we lo ok through the dierent

syntactic form of these expressions there still are dierences Note how the dynamic

semantics translation has an explicit existential quantier while the others do not

The problem with having a number of semantic theories all attempting to describ e

similar phenomena esp ecially when their notations are so dierent is that treatments

of various phenomena may b e given in one theory but cannot at least not obviously

b e adopted by others Also although these theories sometimes purp ort to deal with

the same phenomena they may do so in subtly dierent ways which are not obvious

due to the notations and semantics of the theory In order to eciently crossp ollinate

ideas and treatments as well as investigate the exact dierences it would b e useful to

have a computational environment in which such semantic theories could b e describ ed

implemented and tested

The idea of a general metatheory for a number of apparently dierent theories co

vering very similar phenomena has already successfully b een developed in the eld of

computational syntax In the early s a number of syntactic theories were develo

p ed which although apparently dierent were oering treatments of similar syntactic

phenomena These included Lexical Functional Grammar LFG Bresnan Gene

ralised Phrase Structure Grammar GPSG Gazdar et al and

Ades Steedman Functional Unication Grammar FUG Kay was the rst

to try and nd a general formalism in which other grammar theories could b e describ ed

but PATRII Shieb er was really the rst system in which sp ecic grammar theories

were written as opp osed to b orrowing ideas from others to form a new theory De

scriptions of GPSG Shieb er b and Categorial Grammar Uszkoreit in PATRII

help ed to determine future grammatical theories in that it allowed them to see what

features of these theories are really signicant Even though the descriptions were

rarely complete it was useful to identify which asp ects of the theories were easy to

describ e and which were not HPSG Pollard Sag which was developed later has

b eneted from this comparison Although it itself has not b een describ ed in PATRII

it has b een inuenced by earlier comparisons of theories in PATRII It is easy to see

asp ects of GPSG and Categorial Grammar within HPSG

CHAPTER COMPUTATIONAL SEMANTICS

It is p erhaps to o early in the development of semantic theories to hop e for such a

well dened PATRII for semantics The eld of computational semantics is p erhaps

not as stable as computational syntax was then However there are strong analogies

b etween the two elds Today we have dierent semantic theories covering similar

semantic phenomena in the same way we had ten years ago with computational syntax

And if it is not p ossible to nd such a language then it would b e interesting to know

why not

It should b e noted that a general language in which other theories can b e describ ed

is already the sub ject of a number of pieces of research Obviously general logic pro

gramming languages in some sense oer this If it is p ossible to implement a semantic

theory at all it can b e done in Prolog and it may even b e easy to do so but of course

that is not quite what we are lo oking for Prolog is to o general and do es not constrain

itself to features suitable for semantic theories of natural language In implementations

of semantic theories in Prolog it is often dicult to dierentiate b etween parts of the

theory and the programming language itself Something more sp ecic to the task is

desired

Within the eld of logic programming there has already b een work on dening general

systems in which various logics can b e dened Particularly socrates is a system in

which logics such as rst order mo dal etc can b e abstractly dened and the system

will generate theorem provers from these denitions Jackson et al

With a view to nding a general semantic metalanguage let us lo ok at some existing

frameworks which could oer a framework within which such a metalanguage might

b e dened

Feature systems

Feature systems sometimes called attributevalue logics Johnson or feature logics

Smolka are often used as a general mechanism for syntactic representation in na

tural language systems However they have also b een used for semantic representation

to o Feature systems in their simplest form allow a representation of sets of features

categories where each feature can take either an atomic value or a category value

This allows a simple but p owerful representation which has b een used in many syntac

tic theories eg GPSG Gazdar et al and also for simple semantic representation

of logical forms eg in Shieb er a Originally their use was quite informal but

much work has b een done on formalising the theory of features Also many enhance

ments have b een added to the basic form as it was found not p owerful enough to easily

represent many syntactic phenomena let alone semantic phenomena

Various extensions to features have b een considered Apart from simple atomic or

categoryvalued features we can now have disjunctive features and setvalued features

Also the sp ecication of feature structures can b e made as sets of path equations

p ossibly including regular expressions instead of simple attributevalue matrices For

example the following two descriptions represent the same feature structure They are

representations of the sentence Hanako seems to sleep

A GENERAL COMPUTATIONAL SEMANTIC LANGUAGE

2   3

3 2

P E RS r d

AGR

7 6

4 5

SUBJ NUM sing

7 6

7 6

P RE D hanako

7 6

1

7 6

7 6

2 3

7 6

SUBJ

1

7 6

7 6

4 5

P RE D sleep

COMP

7 6

7 6

TENSE none

7 6

7 6

7 6

5 4

P RE D seem

TENSE pr es

In path equation form as used in PATRII the ab ove could b e written as

SUBJ AGR PERS rd ^

SUBJ AGR NUM sing ^

SUBJ PRED hanako ^

COMP SUBJ SUBJ ^

COMP PRED sleep ^

COMP TENSE none ^

PRED sleep ^

TENSE pres

Also note the cross indexing such that part of the structure is shared b etween two

parts of the feature structure

At rst it was felt that feature structures could only b e acyclic but later it was realised

that cycles were useful and there were no reasons to exclude them Later work made

more distinction b etween the syntactic expression of a feature matrix or equations

and the feature structure it denotes

Work on the representation of set values for features p osed a number of problems

There is in fact a number of ways of interpreting setvalued features First we can view

the values in a disjunctive way That is the value of such a feature is one of a set of values

but at this stage it is not known whichthis is consistent with the view of a feature

structure b eing an underdetermined description of feature graphs The second view is

to deal with the values of a setvalued feature in a conjunctive way That is the feature

value is all of the values in the set These distinctions are detailed in Rounds But

it turns out that these distinctions are not enough Another treatment of set values

is p ossible and indeed useful in linguistic representation Pollard Moshier show

a treatment of set values that allows some values to b e collapsed into one member

which they use in the treatment of slash categories see Gazdar et al Ch All

this shows that there are many treatments p ossible and the required treatment can b e

selected as required

The main computational op eration used with feature structures is unication Uni

cation allows the conjunction of two feature descriptions in order to nd a description

of a new ob ject or ob jects which are describ ed by b oth descriptions Unication is well researched but can b e a computationally exp ensive op eration esp ecially when sets

CHAPTER COMPUTATIONAL SEMANTICS

and other extensions are admitted although various relatively ecient implementati

ons have b een found eg AitKaci Nasr In addition to unication the use of

constraints has also b een introduced Originally only simple forms were required by

grammatical theories Feature Co o ccurrence Restrictions in GPSG Gazdar et al

are simple constraints within categories ab out which features may app ear or not ap

p ear together Others have considered constraints between categories Kilbury

Frisch which are more p owerful but computationally more exp ensive Later work

Hegner has proven decidabili ty for constraints restricted to horn clauses

Headdriven Phrase Structure Grammar HPSG Pollard Sag is a theory that

requires probably the richest form of feature systems Although it is currently not

sp ecied in a fully formalised way it probably requires at least conjunctive and disjun

ction features set values cycles and constraintsKing gives a logical

formalisation of ma jor parts of the theory HPSG even requires representations of

situations for its semantic forms With such a rich representation it is quite p os

sible that asp ects of an implementation of HPSG would b e undecidable either con

straint satisfaction andor parsing however cut down versions do exist eg Franz

Popowich Vogel

Thus with all these various facilities a feature system given the right choice of options

could oer a rich enough formalism within which semantic representation would pro

bably b e p ossible However it would require careful selection of the right combination

Semantic abstraction

Another approach to developing a general semantic metatheory is semantic abstrac

tion Johnson Kay In semantic abstraction a number of basic op erators called

constructors are dened The op erators can b e used within some grammar to dene

the op erations necessary in building a semantic representation of an utterance The

imp ortant asp ect of this metho d is that dep ending on the semantic theory desired

hop efully only the denition of the op erators need b e redened The application of

the op erators remains the same

Johnson Kay dene a nonexhaustive set of six basic op erators external atom

conjoin new index accessible index and compose Each syntactic grammar rule is

related to some set of basic semantic op erations The evaluation of these dene the

construction of the semantic translation for that syntactic constituent Denitions for

these op erators have b een made for predicate logic discourse representation structures

and a simple form of situation semantics

This metho d do es seem attractive and do es seem to work for these simple cases alt

hough it must b e said that the given examples are very simple and constructed so that

they illustrate the technique but in their present form would not scale up Semantic

abstraction as it is dened in Johnson Kay only concerns itself with the con

struction of semantic forms and not with the semantics interpretation of these forms

but this is also true of most treatments of semantics in feature systems It should not

b e exp ected that al l semantic constructors b e used for al l theories as it is exp ected that

THESIS AIMS

there are some dierences b etween these theories However it should b e the case that a

large part of each theory would use the same constructors Intuitively there do es seem

to b e overlap in the theories For example conjoin might b e simple unication in one

theory and application in another but the basic notion of joining two ob jects exists in

b oth

What is imp ortant in this metho d is to ensure that the core constructors are used in

each description If a nonintersecting set of constructors are used in the description of

dierent theories this metho d ceases to have any interesting comparative prop erties and

is reduced to a usefulness like a general though appropriate programming language

Also although considered a semantics for the abstract constructors themselves is not

given

Thesis aims

We have describ ed a number of semantic phenomena and describ ed a number of se

mantic theories aimed at describing these phenomena Then we identied a number

of p ossible frameworks in which a general computational description of these theories

could b e made

Because situation theory has b een prop osed not only as a framework for natural lan

guage semantics but also as a general allencompassing theory of information content

it was decided to investigate its use as a general semantic metatheory in which other

semantic theories can b e formally sp ecied implemented and compared Situation

theory seems to oer more p ower than simple rst order logic and b ecause it oers

intensional ob jects abstract descriptions should b e p ossible A language based on si

tuation theory is also unlike simple Prolog as it already oers a formal semantics and

should restrict its descriptions to asp ects of semantics and less to do with implementa

tion This is not to say that a semantic metalanguage could not b e achieved in a logic

programming language a feature system or in a framework of semantic abstraction

in fact it may b e the case that a situation theoretic language can b e dened within

these frameworks themselves However as an initial stage we will try to develop a

metalanguage based on situation theory but we will return to the wider issues of what

the necessary prop erties of a semantic metalanguage are in Chapter

First it is necessary to dene a computational fragment based on situation theory

This is done in Chapter with the denition of the language astl This requires

careful selection of various prop erties of situation theory and the denition of an in

ference mechanism in order to obtain a usable language In order to show that astl

is suitable as a general metatheory for semantic theories it is necessary to show some

detailed examples To b e completely formal we should nd full formal denitions of se

mantic theories and prove equivalence with them and their formalisation within astl

This extreme has not b een done Finding full formal sp ecications of natural language

semantic theories is not always easy and even when found that sp ecication may not

b e the current accepted version Instead we will enco de theories by lo oking at paradig

matic analyses This is justied b ecause many natural theories typically concentrate

CHAPTER COMPUTATIONAL SEMANTICS

on some sp ecic semantic phenomena and it is treatments of those phenomena which

are imp ortant to the theory However this is not to say that the formalisation of a

theory within astl is just some arbitrary program Descriptions of theories in astl

are still a formal sp ecication but they are also suitable for execution Because we are

concerned with computational semantic theories is seems reasonable or even necessary

that formal sp ecications can b e used to show analyses of paradigmatic utterances ex

hibiting sp ecic semantic phenomena The formal descriptions presented in the later

chapters of this thesis are directly executable via astls implementation and they can

used to derive that theorys semantic representation from a given utterance

Three theories are considered in detail each is given an executable formalisation of key

asp ects of the theory Chapter describ es a form of situation semantics called Situation

Theoretic Grammar STG Co op er which shows that astl is at least suitable

for describing conventional situation semantics Chapter shows how Discourse

Representation Theory DRT Kamp can b e describ ed in astl Not only can

Discourse Representation Structures DRSs b e represented but also a construction

algorithm the metho d of generating DRSs from utterances can b e dened within such

a situation theoretic language Third a description of dynamic semantics is given A

description of Dynamic Predicate Logic DPL Gro enendijk Stokhof b is given

in astl This diers from the other descriptions in that DPL is a logic rather than a

treatment of natural language A separate description called DPLNL shows how DPL

can b e related to natural language utterances and oer a dynamic logic treatment of

them

The STG description is given really as a basic building blo ck showing how b oth syntac

tic and semantic pro cessing may b e done in astl The later two descriptions DRT

and dynamic semantics are given in order to allow sp ecic comparisons b etween them

Both these later theories deal with some sp ecic problems in semantics and therefore it

seems justiable and interesting to compare them closely That such comparisons are

p ossible and easy shows one of the advantages of a general metatheory for semantic

theories That these descriptions are not just static descriptions but can actually b e

run in an implementation of astl also allows comparisons to b e made ab out their com

putability and suitability in practical natural language pro cessing systems Examples

of the descriptions are given throughout the chapters but detailed examples are also

given in App endix A

At this stage is is worth noting that although astl is designed as a general language

any such language will imp ose certain restrictions on the descriptions enco ded within

it Some of these restrictions are arbitrary and just factors which are necessary when

dealing detailed formalisations Other restrictions are directly to do with the under

lying asp ects of astl and situation theory the framework astl is in and are worth

noting At this stage b efore astl is presented we will not discuss examples of this

but will return to this issue in the nal chapter

SUMMARY

Summary

In this chapter we have identied a number of semantic phenomena currently under

investigation in the area of formal and computational semantics These lie primarily in

the area of quantication and anaphora A number of contemporary semantic theories

are briey describ ed The general idea of a computational mechanism in which these

semantic theories can b e describ ed and run is introduced and a number of p ossible

areas where such a mechanism might b e found are describ ed logic programming

feature structures and semantic abstraction Finally the basic aim of the thesis is

prop osed That is to dene a computational situation theoretic language which is

adequate to describ e formal and executable sp ecications of other semantic theories

and illustrate this by describing a number of theories in it

Chapter

A Computational Situation

Theoretic Language

Introduction

In this chapter we will formally dene a computational language in which a number

of semantic theories of natural language can b e dened This language is called astl

1

Astl relies heavily on basic asp ects of situation theory This language is not simply

an abstract theoretic one but is designed sp ecically to b e run on a computer Formal

sp ecications of natural language semantic theories can b e written in astl and run on a

conventional computer An implementation of astl exists and results from descriptions

in astl will b e shown throughout this thesis The basic intended use of astl is that

asp ects of semantic theories are sp ecied in astl such that it is p ossible to at least

derive the semantic representation for utterances with resp ect to that theory Although

we do not sp end much time discussing the interpretation and inference based on the

resulting semantic representations astl do es seem suitable for further investigation

in that area

The suitability of astl as a language for describing natural language semantic theories

relies on the fact that it exploits some fundamental asp ects of situation theory The

concept of the situation and its status as a rst class ob ject which can b e used as an

argument to arbitrary relations allows astl to oer a high level of structure in its

representation of ob jects Secondly astl also exploits situation theorys mechanisms

for representing parameters and anchoring This allows astl a metho d for describing

variables and assignments It is this level of description which normally only exists in a

metalanguage used to describ ed semantic theories that makes astl a suitable to ol in

the formal sp ecication and implementation of a number of natural language semantic

theories

However a language which only oers a metho d for representation of semantic ob jects

Note that the name astl is not intended to b e an acronym although a number have b een

suggested

ASTLA SITUATION THEORETIC LANGUAGE

is not p owerful enough in itself to allow computation As well as a representation

for individual s parameters relations facts and situations astl also oers a repre

sentation of constraints Constraints allow generalisations b etween situations to b e

describ ed Finally in order for computation to b e p ossible astl also includes a deni

tion of inference with resp ect to basic situations and constraints

Astl is not the rst computational language to b e based on situation theory but it is

probably the rst to b e sp ecically designed for pro cessing natural language utterances

Prosit Nakashima et al Frank Schutze is another example of a language

based on asp ects of situation theory Prosit is describ ed in detail in Section

In the work presented here we are primarily concerned with language pro cessing and

representing semantic translations and in its current form prosit do es not include

an easy way to deal with grammar and language pro cessing Rather than extend

prosit to include such mechanisms it was felt b etter to dene a new language from

the start which would oer only the facilities that app ear necessary for a semantic

metalanguage Astl is the result

astla situation theoretic language

In some uses of situation semantics the language in which the examples are given is

not fully dened The reader is exp ected to build up an idea of the language just

based on the given examples Equally so in AI sp ecialised programming languages

are also often p o orly dened sp ecied only by their syntax with no formal or often

even informal sp ecication of their semantics To try to counter that here we will give

b oth the formal syntax and semantics of astl As we are dealing with a computational

language which has an implementation there will b e times when the abstract denition

diers from the actual op erational semanticsthese o ccasions are indicated in the text

and justication for the dierence is given

Here we continue with the idea used in mo del theoretic semantics for conventional logics

where the denotation of expressions in a language are ob jects in a mo del However

here our mo del consists of more complex semantic ob jects such as facts types and

situations where in the case of simple rst order predicate logic the semantic ob jects

are simpler

The language astl is fairly conservative in its use of situation theoretic ob jects and

in fact fairly simple Rather than dene a complicated language at this stage we will

start simply Extensions are discussed later but we will see that even this simple form

is sucient for the basic asp ects of the semantic theories we are interested in

The following two sections on the syntax and semantics of astl are rather formal and

p erhaps dicult to read It is necessary to formally dene astl b efore we can discuss

it in any detail However it is not necessary to follow these sections closely at this

stage They may b e skimmed and later referred to when it is necessary to understand

the semantics in more detail Section gives a full example of a description in the

language and shows how it can actually b e used The basic ideas of astl and its use

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

can b e understo o d from that section

Syntax of astl

This section describ es the syntax of terms and sentences in astl Unlike many AI

programming languages which use typographical conventions eg upp er case letters to

identify variables or context to distinguish types of symbol astl requires its symbols

to b e declared b efore their use However for ease of reading astl expressions some

typographical conventions will b e used

Terms in astl fall into two classes

atomic individuals relations parameters and variables

complex iterms types and situations

Although there are no built in naming conventions for atomic terms we will use the

following conventions

individuals lower case letters ie a b c

relations lower case words ie walk man etc

parameters upp er case letters ie A B C

variables upp er case letters preceded by an asterisk ie A B C

The syntax of complex terms are

if r el is a relation of arity n and ar g ar g are terms and the p olarity p is or

1 n

then r el ar g ar g p is an iterm

1 n

if P ar is a parameter and i i are iterms then

1 n

P ar P ar i

1

P ar i

n

is a situation type Later we will refer to the subparts of a type of the form

P ar i as conditionsalthough conditions are not terms Also if and are

situation types is also a situation type

if is a situation name and is a type then is a situation term and is a

situation term

ASTLA SITUATION THEORETIC LANGUAGE

A few comments seem relevant at this stage Currently there is no syntactic sp ecica

tion of appropriateness for arguments to a relation although such a restriction could

b e considered Here we allow any term to b e an argument to a relation and only state

that the number of arguments must b e equal to the declared arity of the relation A

second comment is ab out types These are limited to situation types although a more

general type system is describ ed in terms of a generalised abstraction details

of which are given in Section

Sentences in astl have the following syntax

If is a situation name and a situation type then is a prop osition

If are situation names and are situation types then

0 1 n 0 1 n

is a constraint

0 0 1 1 n n

Note that these sentences prop ositions and constraints are not terms and cannot b e

used as arguments to relations In Chapter we will add to this a number of sentences

which are convenient abbreviations for prop ositions and constraints that make the

sp ecication of natural language pro cessing easier but as they can all b e dened in

terms of the prop ositions and constraints the ab ove represents a prop er core of the

language

Now that we have given the complete syntax for all the terms and sentences in astl

we can give the syntax for an astl description A description is a set of declarations

and sentences which describ e a system of situations and constraintsin some ways this

can b e thought of as a program in the astl language Optional sections are contained

within

Individuals fi i g

1 n

Relations fr el ar ity r el ar ity g

1 n

Parameters fp p g

1 n

Variables fv v g

1 n

Situations situation term

situation term

Constraints constraint

constraint

A full example astl description would lo ok like

Individuals ht

Relations happy smiles

Parameters S

Variables S Y Situations

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

Basic situations ie who smiles where

SIT S S smilesh

S smilest

SIT S S smilest

Constraints

if they smile they are happy

S S S happyY

S S S smilesY

Situation declarations really serve a dual purp ose They dene what the basic situati

ons are in a description and also assert that these situation are of the sp ecied type

That is when we declare a situation

SIT S S smilesh

S smilest

we are also asserting the prop osition

SIT S S smilesh

S smilest

Comments may b e included in descriptions in a Lisp comment style characters from

a semicolon to the end of a line are ignored

Semantics of astl

This section describ es the semantics of astl in terms of a mo del A mo del M for an

astl description consists of the following

I a set of individual s

R a set of relations

P a set of parameters

S a set of situations

T a set of types

F a set of facts

2

Supp orts a set of pairs of situations and facts constructed from the set S F

In other denitions of situation theory it would b e normal to restrict facts to those that do not

contain parameters This has delib erately not b een done here

ASTLA SITUATION THEORETIC LANGUAGE

Relation of a function that given a fact will return its relation

of a function that given a fact f and an integer i will return the member Argument

of I R P S T or F which is the ith argument of f

Polarity of a function that given a fact will return a or the p olarity of the fact

Facts of a function that given a type will return a subset of F

Param of a function that given a type will return a member of P

Func a function assigning names relation names parameters names and situation

names to members of I R P and S resp ectively

It is p ossible to construct the members of F the facts and T the situation types

from the sets I R P S and T and F themselves but this has not b een done here We

also could have a notion of appropriateness for arguments to facts In this denition

we will only enforce the number of arguments of a member of F to b e the same as the

arity declared for its relation Appropriateness is left as a matter for each description

within astl rather than the language itself

The semantic values for expressions in astl can b e describ ed with resp ect to a mo del

M and a variable assignment function g

The semantic values of basic terms are

M g

If u is a variable then u g u

If is an individual name relation name parameter name situation name then

M g

F unc

M g

If is or then or resp ectively

The semantic values for complex terms are

M g

If is an iterm ar g s pol ar ity then is a fact f a member of F where

M g

Rel ation of f for each argument in ar g s for i to n

1 n

M g M g

of f i and pol ar ity P ol ar ity of f If any Ar g ument

i

M g

argument is undened then is undened

i

M g

If is a situation type of the form then t

1 n

M g M g 3

where t T such that f g is equal to F acts of t

1 n

M g M g

of t g where F acts of t fP ar am of t g is fP ar am

F acts of t except that all o ccurences of P ar am of t are substituted with

M g M g M g

If is a situation type then such

1 2 1 2 3

that is the conjunction of conditions in and

3 1

The sets need to b e equal rather than subset to ensure there is a unique t for each type We use sets rather than lists so that the order of the conditions is not signicant

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

M g M g M g

If is a typed situation term then if is of type

M g M g M g M g

otherwise it is undened is of type i where s

M g

of t s f fP ar am of tsg and t for each fact f in F acts

i i

Supp orts for each i where f fP ar am of tsg is f except that all o ccurrences

i i

of t in f are substituted with s of P ar am

i

The semantic values of sentences in astl are

M g M g M g

If is a prop osition then is true if is of type The

denition of a situation b eing of a type is dened ab ove in the semantics of typed

situations If any term in is undened is false

If is a constraint of the form and V is the set of

0 0 1 1 n n R

all variables in the right hand side of and V is the set of all variables in

L

M g

minus V then is true if for all g such that g is exactly the same as

R

g except p ossibly in the values it assigns to the variables in V and such that

R

0 0

M g M g

are true then there exists g such that g is

1 1 n n

exactly the same as g except p ossibly in the values it assigns to the variables in

00

M g

V such that is true

L 0 0

Some comment on this may b e useful In this framework situations may supp ort

parametric facts This p erhaps is a little unusual in that most versions of situation

theory would not allow this This is allowed here in order not to complicate the

languagesuch restrictions are left to descriptions in astl Also there is no sp ecial

treatment of parameters built in to astlexcept in their use as in identifying the

abstracted situation in a situation type Parameters are just another simple class

of atomic individual s The use of parameters as variables is p ossible within a users

description but the notion is not built into the language itself

Another asp ect which is not covered by the semantics but deserves some comment is co

herence Sp ecicall y the ab ove denition do es not make any restrictions on situations

which supp ort conicting facts For example a situation of the following type

SIT S S happyh

S happyh

would b e inconsistent within some denitions of situation theory but it is acceptable

in astl Currently coherence is a notion which can only b e sp ecied within an astl

description and is not dened within the mo del It is true that the issue of coherence

is not yet dealt with in astl but future extensions may have some notion of coherence

built in

A little further discussion ab out free variables will help clarify the semantics Free

variables in prop ositions or the left hand side of constraints are eectively skolemized

That is they are given an arbitrary constant as a value hence we are treating free

ASTLA SITUATION THEORETIC LANGUAGE

variables as b eing existentially quantied Queries however are treated slightly die

rently Although we have not given a formal semantics for queries they are imp ortant

to the op erational semantics of any implementation of astl Free variables in queries

in the implementation discussed later in this chapter are given a universal treatment

When a query is asked we want to nd all ways that it can b e made true taking the

analogy of Prolog

A further p oint that needs some mention is that in the version of astl dened ab ove

prop ositions and constraints are not rst class ob jects They could b e but are not due

to the complexities this would introduce into any simple implementation and it was

felt that it was not necessary for the examples given in later chapters

Inference in astl

A static denition of the language astl is not sucient to allow it to b e used in

computation We would like to compute what the consequences of a given set of

constraints and prop ositions are The following set of inference rules are dened to

achieve this Each rule is describ ed as an equation which should b e read as if we

have the sentences ab ove the line we can conclude prove those on the b ottom Greek

characters are used as variables over expressions in the language rather than variables

in the language

Constraints containing astl variables can b e viewed as shorthand for a number of

fully explicit nonvariable constraints The following denitions are given with resp ect

to fully expanded constraints so that variable binding need not b e sp ecied in the rules

Type reduction

A type with more than one condition may b e broken down

c c

1 n

c c

1 n

For example if we have a situation

SITS S happyh

S singsh

We can conclude that Sit is also of the following two types

SITS S happyh

SITS S singsh

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

Type combination

This rule is the reverse of type reduction ab ove Single condition prop ositions of the

same situation can b e combined

c c

1 1 n n

c c f g

x 1 n 1 n x

That is the parameters of the individual types are replaced with a new parameter used

in the new combined type

This rule and the previous one eectively dene a subsumption relation b etween types

Types can b e broken down and built up such that any subset of conditions in any

order of a situations type is still a type of that situation For example if the following

prop osition is true

SITS S happyh

S singsh

S dancesh

the following are also true

SITS S happyh

SITS S dancesh

S singsh

As well as all other combinations and orders of conditions Note that the result of these

two inference rules is that the order of conditions in types is semantically irrelevant

Mo dus p onens

We have two cases one when there is only one type on the right hand side of a constraint

and the other when there is more than one

0 0 1 1 0 0 1 1 i1 i1 i i i+1 i+1 n n

1 1 i i

0 0 0 0 1 1 i1 i1 i+1 i+1 n n

For example if we have

SITS S happyh

SITS S singsh

SITS S singsh

ASTLA SITUATION THEORETIC LANGUAGE

we can deduce

SitS S happyh

It should b e emphasized at this p oint that there is a distinction b etween astl the

language and astl the implementation Although the implementation attempts to

come as close as p ossible to the formal denition it do es take some short cuts for the

sake of eciency In particular the second part of the ab ove denition allows the sub

parts of the right hand side to b e eliminated in any order In the actual implementation

the rule is

0 0 1 1 2 2 n n

1 1

0 0 2 2 n n

That is the clauses on the right hand side need to b e proved in order The eect of

this is that there may exist some sentences of the form

0 0 1 1 n n

which are true but cannot b e proved b ecause of the ordering of clauses in the right

hand side This is not seen as a problem as the p ossible goals in the implementation

are prop ositions rather than constraints

Argument promotion

This is a rather unusual rule to allow a treatment of typed situations as arguments

in facts

r el ar g ar g pol

0 0 1 0i 2 2 i+2n

r el ar g ar g pol

1 0i 2 i+2n

0 0 2 2

That is the argument is promoted from an argument to a clause The informal

2 2

motivation is to move conditions ab out situations out of arguments and into the top

level of a constraint For example from

SITS S seeshSIT

SITS S happyh

SITS S seesh

SITS S happyt

we can deduce

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

SITS S happyh

SITS S happyt

As with the mo dus p onens rule ab ove there is also a rule to deal with multiple clauses

on the right hand side

0 0 1 1 i1 i1

r el ar g ar g pol

i 0i 2 2 i+2n

i+1 i+1 n n

r el ar g ar g pol

i 0i 2 i+2n

0 0 1 1 i1 i1 i+1 i+1 n n

Again as with the mo dus p onens rule the implementation diers from the formal sp e

cication in that the clauses are proved in order and hence some constraint sentences

may not b e provable

Comment

It is imp ortant that cyclic structures b e treated prop erly and not cause the inference

system to go into an innite lo op The consequences of the ab ove denition of astl

and its inferences are that such lo ops will not o ccur Because we use names to refer to

situations direct lo ops do not o ccur in expressions

A simple example pro of shows the use of the ab ove inference rules Supp ose we have

the following rather sp ecic constraint and basic prop osition

SITS S happyh C

SITS S seehS

S happyt

SITS S happyt P

S seehSIT

A pro of for the prop osition

SITS S happyh

S happyt

would include the following steps

EXTENDED KAMP NOTATION

by type reduction from P

SITS S happyt P

SITS S seehSIT P

by type combination from P and P

SITS S seehSIT P

S happyt

by mo dus p onens from C and P

SITS S happyh P

by type combination from P and P

SITS S happyh

S happyt

QED

Extended Kamp Notation

The basic notation for astl is not always easy to read esp ecially when an expres

sion includes embedded situations In other treatments in situation theory eg in

Gawron Peters expressions are also dicult to read b ecause much use is made

of subscripting to add restrictions to ob jects as in

x y j E AT I N G x y x

subj

(sj=B I S C U I T y )

This is used to represent a state of aairs where x is eating a biscuit Wishing to make

astl more readable an alternative formalism has b een developed A graphical notation

for situation theoretic ob jects is describ ed in Barwise Co op er Extended Kamp

Notation EKN as it is called owes something to the use of b oxes in DRT Within the

implementation of astl this graphical notation is available as an output mechanism

It would b e useful if EKN were also available as an input mechanism but that would

require signicant work on building some form of graphical editor which was not felt

worthwhile at this stage in the development of the language

EKN is in fact a rich notation for representing many dierent situation theoretic ob jects

including situations abstractions anchoring environments etc many of which are not

part of basic astl In fact in astls b ox notation there are only two forms which

are displayed as b oxes First is the form for situations which actually are not given

their own notation in EKN as such In astl when the EKN output option is selected

situations are displayed as b oxes with double lines at the top and b ottom the situation

name app ears in an inset b ox at the top left and facts that it supp orts are displayed

in a more convention predicate form For example the situation

SITS S happyh

S happyt

would b e displayed in astls b ox notation as

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

SIT

happyh

:happyt

In EKN as dened in Barwise Co op er the ab ove would b e as a situation with

a particular restriction In their notation the ab ove situation could b e written as

SIT

S

S

SIT

happyh

:happyt

The astl notation can b e viewed as an abbreviation for the ab ove The second form

which will b e displayed as a b ox is situation types Here the form is the same as that

used in EKN If we have the situation type

P P happyh

P happyt

when the EKN output option is selected the ab ove would app ear as

P

P

happyh

happyt

The astl implementation prints the b oxes using ASCI I characters and but

here we will use sp ecial macros to display the b oxes The usefulness of a graphical

notation b ecomes much more apparent when facts include situations as arguments

For example

SIT S S happyh

S happyt

S seeshSIT P P happyt

P happyh

S seeshSIT

SIMPLE EXAMPLE

can also b e displayed as

SIT

happyh

:happyt

SIT

seesh happyt

happyh

seeshSIT

However although EKN expressions are easier to read than the simple linear form of

astl expressions it must b e added that expressions in descriptions can easily b ecome

so complex that even the EKN notation is not really a help This is esp ecially true

of representations of syntactic and semantic translations for utterances In that case

other techniques must b e used to make the output readablethe implementation allows

the user to sp ecify that facts with certain relations should not b e displayed when a

situation is printed

Simple example

It is not always easy to understand the practical use of a formal system simply from

its formal sp ecication Here we will give a short example The example shows what

a full astl description lo oks like and what sort of computations are p ossible This

example only uses simple prop ositions and one constraint but is sucient to illustrate

the basic capabilities of the system

Individuals ht

Relations happy smiles

Parameters S

Variables S Y

Situations

Basic situations ie who smiles where

SIT S S smilesh

S smilest

SIT S S smilest

Constraints

if they smile they are happy

S S S happyY

S S S smilesY

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

That is we have dened two basic situations SIT and SIT Both Hanako h and

Taro t smile in SIT but only Taro smiles in SIT Also we have a constraint that

states that if some ob ject in some situation smiles then that ob ject is also happy in

that situation

We can load the ab ove description then at the top level we can ask to prove prop osi

tions ab out the system of situations and constraints Thus if we ask the query

astl query SIT S S happyt

rather than just a simple yes or unknown answer the implementation prints out

any situations for which this prop osition is true In this case the only p ossible situation

concerned is SIT This prop osition is true b ecause the constraint is appropriate and

hence Taro is happy b ecause he smiles in SIT so the system prints

SIT

happyt

smilest

If we ask the query

astl query S S S happyt

This time we are asking ab out any situation where Taro is happy In this case this is

true for b oth SIT and SIT Thus the result would b e

SIT

happyt

smilest

SIT

happyt

smilest

Notice that in SIT only the facts which were used in the pro of are printed out

SIT also supp orts the fact that Hanako smiles and by way of the constraint that

she is happy to o That is when a situation is printed not all facts that it supp orts

are included only those that are directly to do with the proving of the stated goal However an option is available in the implementation to allow all currently known facts

SIMPLE EXAMPLE

in a situation to b e printed It is imp ortant to realise that nding al l facts supp orted

by a situation may b e undecidable or at least inecient The system is goal directed

and although it may nd other facts not directly related to the actual goal it do es not

attempt to nd all true prop ositions This allows the system to still pro duce results

even when some asp ects of the describ ed system may b e undecidable This issue is

returned to in Section which discusses the implementation metho d used

A second short example shows the cyclic use of situations this example was also

discussed ab ove in Section Supp ose we have a p osition in a card game where

there are two players Hanako and Taro and each are holding one card and b oth

players can see that they are holding their cards and what the other player is holding

and that they can b oth see that they can see this We can represent this as an astl

description

Individuals htch

Relations has sees

Parameters SPRQ

Variables S Y T U V

Situations

SIT S S seeshSIT

S seestSIT

S hastc

S hashh

We can then ask cyclic queries such as do es a situation supp ort the fact that Hanako

can see a situation in which she has the three of diamonds

query S S S seeshT P P hashh

This gives a result of

SIT

seeshSIT

seestSIT

hastc

hashh

Notice that although SIT app ears as an argument to a fact only its name is printed

and not its full sp ecication The full situation with its known facts is only printed

once All later o ccurrences of it in a display app ear as names This stops the printing

mechanism from going into a lo op

We can continue our querying of the ab ove situation with a query ab out a situation in

which Hanako can see a situation in which Hanako can see a situation in which Hanako has the three of hearts

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

query S S S seeshTP P seesh

UR R hashh

And we of course can continue deep er

query SS S seeshT P P seesh

UR R seeshV

Q Q hashh

This shows how such selfreferential situations can b e represented in astl and how an

innite number of queries can b e proved ab out them

Some formal prop erties

After that short interlude on the actual use of astl let us return to the formal pro

p erties of the language In this section we will discuss a soundness pro of for astl and

discuss astls computational complexity

Soundness of astl

In order to show that all prop ositions provable from a set of axioms using the inference

rules given ab ove in Section are in fact true with resp ect to the semantics of astl

we give the following soundness pro of

Astl has four inference rules

Type reduction

Type combination

Mo dus p onens

Argument promotion

We will deal with each inference rule in turn

Type reduction states that if a prop osition consisting of some situation and a complex

type is true the prop ositions for that situation with a simple type for each condition

in the complex type are also true For example if

c c

1 n

is true the rule states that for each condition

c i

SOME FORMAL PROPERTIES

is also true This can b e proved from the denition of the semantics of prop ositions

M g M g

and types The prop osition is true if is of type while each

M g

reduced form of the prop osition will b e true if is of type

i

M g M g

These will b oth b e true in all mo dels b ecause for to b e of type

i

M g

it is necessary by denition that for each condition in

1

M g M g

f g Supp orts where f g is except that

1 i i i

all o ccurrences of in are substituted with Therefore in any mo del where

i

is true the reduced prop ositions for each condition in must also

i

b e true Hence type reduction is sound

Type combination states that prop ositions ab out the same situation may have their

types combined to pro duce new prop ositions Again by the denition of semantics of

prop ositions types are ultimately broken done into individual conditions Therefore a

combined type made from conditions from true prop ositions ab out the same situation

will also b e true Therefore type combination is also sound

Modus ponens in its simplest form states that given a constraint of the form

0 0

and a prop osition we can infer The denition of the semantics of a

1 1 1 1 0 0

constraint states that for a constraint b e true when is true is

0 0 1 1 1 1 0 0

true also Therefore by denition if a constraint and a prop osition

0 0 1 1 1 1

is true then must also b e true This argument likewise applies to constraints

0 0

with more than one prop osition on their right hand side Therefore mo dus p onens is

sound

Finally argument promotion states that if a fact in a prop osition has a typed situation

as an argument then if that prop osition can b e proved with the argument as a situation

and the prop osition formed from the typed situation can also b e proved then the

original prop osition is true In order for a prop osition of the form

P P r el

1 2

to b e true by denition the argument denotes what denotes i the prop osition

2 2

is true Therefore for the ab ove prop osition to b e true it is necessary for the

2

following prop ositions to b e true

P P r el

1 2

2

This is exactly what the argument promotion inference rule states therefore it is sound

The ab ove shows briey how the four inference rules of astl are sound showing that

all inferences p ossible for a set of axioms using these will b e true with resp ect to the

given semantics

Proving completeness of astl is a lot harder Completeness for astl would mean that

every prop osition which logically follows from a basic astl description can b e derived

by some application of the inference rules given ab ove Although astl is probably in

this sense complete we will not give a formal pro of

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

Computational complexity

The actual computational complexity of the astl system is dicult to discuss in

isolation from the algorithms used in the actual implementation although p erhaps some

denition of the theoretically b est treatment might b e made In this section we will

outline a metho d for enco ding arbitrary Turing machines in astl hence implying that

the system is in general undecidable see Hop croft Ullman Ch for a full

discussion of Turing machines and proving equivalence

The following outline of a Turing machine enco ding is fairly standard Similar descrip

tions are given for enco ding Turing machines in feature grammars eg Ritchie

A stage in the computation can b e enco ded as a situation Each stage will supp ort

facts ab out the current state of the Turing machine the symbol in the current p osition

on the tap e and enco dings of the tap e itself The state of the tap e will b e enco ded as

what are eectively two stacks related by the relations LeftTape and RightTape The

relations take two arguments the rst is the current stagesituation while the second is

a twoplace relation Tape Its rst argument is a value on the tap e at that p oint Its

second argument is either the constant Nil or another Tapefact The representation

of the tap e can b e expanded whenever it nds Nil at the left or rightmost p oint on

the enco ded tap e The following astl constraints sp ecify this

T S S LeftTapeSTapeBlankNil

S RightTapeSRight

S StateSState

S ValueSValue

S S S LeftTapeSNil

S RightTapeSRight

S StateSState

S ValueSValue

T S S RightTapeSTapeBlankNil

S LeftTapeSLeft

S StateSState

S ValueSValue

S S S RightTapeSNil

S LeftTapeSLeft

S StateSState

S ValueSValue

The information ab out the Turing machine transitions themselves can b e enco ded

in a situation called TM TM supp orts facts of the ve place relation Transition The

arguments are current state current tap e value new state new tap e value and direction

one of MoveRight MoveLeft or Halt For example a very simple machine may b e

enco ded thus It moves left over as on the tap e until a b is found

SOME FORMAL PROPERTIES

TM M M TransitionaaMoveLeft

M TransitionbbHalt

In addition to the tap e expansion constraints we need two constraints to sp ecify the

cases when the op eration is move left or move right

T S S LeftTapeSTapeNewValueLeft

S RightTapeSRight

S StateSNewState

S ValueSNextValue

S S S LeftTapeSLeft

S RightTapeSTapeNextValueRight

S StateSState

S ValueSValue

TM M M TransitionState

Value

NewValue

NewSate

MoveRight

T S S LeftTapeSLeft

S RightTapeSTapeNewValueRight

S StateSNewState

S ValueSNextValue

S S S LeftTapeSTapeNextValueLeft

S RightTapeSRight

S StateSState

S ValueSValue

TM M M TransitionState

Value

NewValue

NewSate

MoveLeft

The initial tap e can b e sp ecied as a basic situation and we can ask queries ab out the

existence of some statesituation which is in a halting state

This enco ding is simple and do es not require computationally complex functions to

build the representation of any Turing machine and hence shows that astl is Turing

computable This fact need not worry us and it is probably a go o d thing rather

than a bad thing One might want to consider such computational p ower as bad

b ecause it implies that the theories of human knowledge representation and natural

language semantic comprehension are Turing computable which is unlikely to b e true

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

as humans have only nite resources However when we consider astl as a meta

theory for implementing theories its computational p ower is an advantage Theories

enco ded within it need not necessarily b e Turing computable but it is convenient if

not necessary for a to ol to provide a high level of computational p ower

Implementation

Some description of the implementation is useful As we are interested not only in

describing theories but also in giving actual computational treatments on a computer

an implementation of astl is useful or even necessary to show the suitability of astl

as an actual computational system

This section describ es a particular implementation of astl It is imp ortant to realise

that there is a distinction b etween astl the abstract situation theoretic language

and astl the implementation Certain asp ects of the abstract language have b een

mo died to allow for simpler implementation some of which were mentioned in the

inference section ab ove The implementation describ ed here is in Common Lisp but

it should not b e read that astl could not or should not b e implemented in any other

programming language eg Prolog or C Lisp was chosen for reasons such as history

and the authors p ersonal preference in writing Lisp rather than any computational

reason

The technique used in the implementation for theorem proving deserves some mention

Again it must b e stressed that this is not the only way to implement astl but is a

relatively interesting way to do it

Astl as a computational system basically deals with a set of prop ositions and con

straints Using the inference rules queries goal prop ositions are proved by applying

the inference rules where appropriate and generating new prop ositions All prop ositi

ons are actually held as basic prop ositions consisting of a situation followed by a type

with one condition ie the type reduction inference rule is applied b efore prop ositions

are asserted to the database

Originally an implementation was attempted that closely followed standard Prolog

implementations Pro of trees were searched using depth rst search with backtracking

Although this initially seemed like a go o d strategy b ecause astl is dierent from

standard rst order logic two basic problems exist First astl descriptions are more

likely to contain leftrecursive constraints and secondly constraints may contain

cyclic referencesthese two p oints are closely related Both these conditions are likely

to put a simple depth rst search with backtracking strategy into an innite lo op A

more robust strategy is necessary

The implementation describ ed here uses a technique reminiscent in many ways to a

chart parser In fact the following description relies heavily on such a technique see

Winograd pp for a more general description of chart parsing Edges in

this chart implementation represent sentences in astl ie either basic prop ositions

or constraints Complete edges represent proved prop ositions while incomplete ones

IMPLEMENTATION

represent constraintswhich can b e viewed as conditional prop ositions For example

given the following prop osition and constraint

SitS S smilesh

SitS S happyh

SitS S smilesh

The ab ove two astl sentences give rise to the following two edges

Edge

Lab el SitS S smilesh

Requires nil

Edge

Lab el SitS S happyh

Requires SitS S smilesh

Edges have a lab el and a required list as well as other eldssee later The lab el

and each member of the required list are prop ositions Notably we do not at this

stage have any equivalent for vertices in this chart Edges eectively start and end

at the same p oint Two global structures of edges are kept the chart a list of edges

already pro cessed and the agenda a list of edges that have yet to b e pro cessed To

prove a query the following algorithm ProveProp is used

ProveProp

construct basic edges from basic situations

and add them to the chart

construct initial edge from the query

and add it to the agenda

while agenda is not empty do

remove top edge from agenda and make it current

if current is not already in chart

add current to chart

if currents required list is nonnil

nd all constraints that might allow

the rst prop osition in currents

required list to b e proved

make edges from them and add to agenda

if currents required list is nil

current is a complete prop osition

for all incomplete edges i in the chart

combinecurrenti

else if currents required list is nonnil

for all complete edges i n the chart

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

combineicurrent

nd all situations that make the initial query true and

print them

The check for constraints that could b e used to prove the current prop osition lines

deserves a little more explanation As we are proving top down a check for

appropriate constraints only o ccurs when the current edge has a nonnull required list

The rst prop osition in the required list of current is lo oked at all constraints that

could prove a prop osition with the same relation as currents rst required prop osition

are used to create new edges on the agenda If currents rst required prop ositions

relation is a variable then of course all constraints must b e selected In this way

slightly more work may b e done than is absolutely necessary in proving the goal It

may b e that a prop osed constraint may not in fact contribute to the pro of but this

cannot b e determined until we have actually proved the goal However this is not

always bad Because all proved prop ositions are recorded in the chart they may turn

out to b e required later in the pro of This is directly analogous to what happ ens in a

conventional chart parser used with a syntactic grammar For example when a noun

phrase is required at some p oint all grammar rules which can form noun phrases are

prop osed to the chart even though it may b e only a third p erson singular noun phrase

4

that we are lo oking for

A second part of ProveProp that requires further explanation is the Combine routine

lines and This routine is the equivalent of the fundamental rule in a standard

chart parser It is this function that applies the inference rules

Combinecompleteedge incompleteedge

if completeedges lab el matches the rst prop osition

in incompleteedges required list then

build a new edge from incompleteedge minus the

rst prop osition from its required list

mo dus p onens inference rule

add new edge to agenda

if completeedges lab el matches the rst prop osition

in incompleteedges required list but

only up to situation arguments then

build a new edge from incompleteedge minus the

rst prop osition from its required list plus

the unmatched situation arguments

argument promotion inference rule

add new edge to agenda

This chart technique has the advantage that b ecause a check can easily b e made

if a particular edgeprop osition already exists innite lo ops can b e avoided in many

Of course not all chart parsers do this Some do use top down prediction by instantiating some

variables to cut down parse time but the advantages and disadvantages of this dep end very much on the particular grammar b eing used and particular utterance b eing b e parsed

IMPLEMENTATION

cases where a simple depth rst search strategy would not terminate For example if

we have a basic situation and constraint of the form

S S S happyh

S S S happyX

SIT S S happyt

This can b e summarised as Hanako is happy in a situation if someone is happy in that

situation The following query

S S S happyh

would succeed in nding SIT as a solution but would not lo op indenitely In a depth

rst search strategy as used by default in Prolog the ab ove constraint could cause

a lo op if naively implemented b ecause in trying to prove the right hand side of the

constraint we could try to reuse the constraint so called left recursive rule

There are cases however where lo ops are unavoidable that is where constraints ac

tually do predict an innite number of distinct prop ositions For example the basic

situation and constraint

Sit S S happyh

S S S happyh

T S S happyh

This can b e summarised as if Hanako is happy in one situation she is also happy in

another And we have a goal prop osition

S S S happyh

In which situations is Hanako happy The result is an innite number of situations

as the consequence of applying the constraint introduces a new situation to which the

constraint may apply again Such a query would cause this astl implementation to

lo op

However the main advantage of a chart based pro of strategy is that all prop ositions and

constraints proved during a pro of remain in the chart so that if they are required again

during the same pro of they do not need to b e reproved This should provide for a more

ecient pro of This technique of keeping pro ofs and partial pro ofs in a table is termed

the tableau method in the theorem proving literature Reeves In the AI literature

this technique has b een describ ed as Earley Deduction Pereira Warren Ho

wever there they are only showing how to treat grammars and utterances in a logical

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

way rather than using such a theorem proving technique for proving arbitrary logical

prop ositions

Although not exploited in the current version another advantage of a chart based

theorem prover is that traces can b e kept of how prop ositions have b een proved showing

the dep endencies b etween prop ositions and constraints This could b e used to generate

a simple explanation of why a prop osition is true Also lo oking further ahead if a

treatment of default constraints or defeasible constraints are added to the language it

is imp ortant to keep track of interdependencie s b etween prop ositions and constraints

so that consequences of retracted prop ositions may b e dealt with eciently

In the ab ove explanation we stated that our edges in the astl chart do not have vertices

as in a normal chart parser This is true for normal prop ositions and constraints

However as was mentioned b efore astl is designed as a to ol for language pro cessing

In the next chapter we will introduce extensions to astl to allow ecient pro cessing

of grammars and utterances Although these extensions can b e mo delled completely

within the basic astl system sp ecial treatment has b een built into the implementation

so that a more ecient treatment can b e given These extensions are implemented

such that prop ositions ab out utterances have a notion of start and end p oints which

in this chart system are implemented with vertices The addition of vertices to some

edges allows more ecient indexing of prop ositions and constraints thus less searching

for appropriate edges is necessary

Also to aid eciency edges in the chart b oth for utterance situationsie with

verticesand others are indexed by their situation and relation name We have not

yet really said anything ab out variables in edges All edges are also asso ciated with a

bindings list for variables that o ccur in them Thus it is more correct to talk ab out

instances of constraints b eing represented by edges than the constraints themselves

All unbound variables in complete edges are skolemised This is justied from the

semantics of a simple astl prop osition containing a variable The prop osition

SIT S S happyX

states that SIT supp orts the fact that something is happy As the scop e of variables is

the sentence in which they app ear this variable must b e unique The implementation

will assign an arbitrary constant to this variable This means that even if the previous

prop osition is true it is not sucient pro of that some particular ob ject is happy in

SIT That is if we have

SIT S S happyX

we cannot prove based only on this evidence

SIT S S happyh

COMPARISON WITH OTHER SYSTEMS

Situation theory and astl also oers parameters as a means of representing indeter

minate ob jects However no sp ecic supp ort is included within astl for parameters

thus the way they are treated is solely dep endent on the particular astl description

But it must b e emphasised that variables in the language of astl are quite distinct

from the concept of parameters Variables will denote some nonvariable ob ject in the

mo del while parameters denote parameters in the mo del

Comparison with other systems

Now that we have introduced astl and given some discussion of its various prop erties

it seems useful to compare it with other systems Here we will sp ecically compare

it in three ways First with situation theory itself then with prosit an alternative

computational situation theoretic language and nally with the general computational

systems of feature systems

astl and situation theory

Astl is designed as a situation theoretic language Astl can b e summarised as consi

sting of the following features a representation for individuals relations parameters

situations situation types prop ositions and constraints It also oers a set of inference

rules and inference mechanism to prove prop ositions ab out a system of prop ositions

and constraints From a situation theoretic p oint of view this collection of ob jects is

rather conservative All of these except p erhaps constraints are part of almost any de

nition of situation theory A notion of constraints is describ ed in Barwise Perry

and later in Barwise b Ch but these descriptions are concerned more with the

philosophical asp ects than the computational ones More recent work has introduced

the concepts of channel theory which oers an abstract characterisation of constraints

and information owBarwise Barwise Barwise Seligman

Although we can claim that all parts of astl have a situation theoretic basis we would

also like to claim that astl embo dies all the fundamental asp ects of situation theory

However this is probably not the case It is true that as it will b e seen in later

chapters astl is suciently p owerful to allow a number of other semantic theories to

b e describ ed in it but there are still asp ects normally asso ciated with situation theory

that are not contained within the current version of astl

One asp ect which is not dealt with within astl is coherence It is normally stated as

part of situation theory that a fact and its dual the fact with opp osite p olarity may

not b oth b e supp orted by a situation In astl terms this would require the following

expression to always b e false

Sit S S happyh

S happyh

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

But within the current version the ab ove can b e true However it may b e p ossible to

give a useful treatment within a particular astl description That is some constraint

5

of the form

S S S actualS

S S S RA

S RA

Although something more complex is really needed that would probably require actual

extensions to the astl language The whole area of coherence in situations is non

trivial and the ideas in it are closely related to those in other asp ects of knowledge

representation b elief revision nonmonotonicity and truth maintenance

Another imp ortant asp ect of situation theory which is not explicitly part of astl is

that of parameters and anchoring One of the ma jor motivations for situation theory

was a requirement for a representation of parametric ob jects The introduction of

parameters which have a denotation in the mo delrather than simply variables

allows the description of parametric ob jects Anchoring is a facility which allows

parameters to b e related to other ob jects in a way analogous to variable assignment

Astl do es oer parameters and simple asp ects of anchoring can b e mo delled within

astl by constraints and representing anchoring environments as situations In Chapter

we will see such a technique but it is not really adequate in general In Section

we will outline an extension to astl which allows for a b etter treatment of this

phenomenon

Thus although astl is rmly grounded within situation theory there are still some

asp ects which are missing from the language However astl do es oer a rm base on

which we can build extensions and oer a language which encompasses more of the

theory

astl and prosit

Astl is not the only attempt at building a computational language based on situa

tion theory Prosit has very similar goals Nakashima et al Frank Schutze

Prosit is a programmingknowledge representation language based on situation theory

in a similar way that Prolog is based on rst order logic It oers a representation of

individuals relations parameters situations and constraints As it is currently imple

mented it do es not oer a representation for types or abstractions but such extensions

are b eing considered

Prosit is written in Common Lisp When run it gives a new top level which oers

a Prologlike interface although prosits syntax is Lisplike Statements can b e

Of course this is inadequate It only deals with one form of factrelations with one argument

and requires that situations supp orting an actualfact b e treated sp ecially throughout the rest of the

description However hop efully the general idea is illustrated

COMPARISON WITH OTHER SYSTEMS

asserted or queried Unlike Prolog statements basically infons have to b e situated

That is assertions and queries are with resp ect to particular situations unlike Prolog

which eectively only has one situationthe whole database For example

top S sings hanako

This asserts in the global situation top that the situation S supp orts the p ositive

fact sings hanako So that

top S sings hanako

yes

top S sings taro

unknown

Note that we assert the supp ort infon to the global situation As all things are situated

we could assert infons to dierent situations say S and S or even we could assert these

assertions to dierent situations thus S would or would not supp ort sings hanako

dep ending on the situation it was queried in As all assertions are situated queries

dep end very much on the current situation One can view the database as a tree

of situations with the global situation at the top One can traverse this tree explicitly

using the in and out relations or implicitl y using nested supp ort relations The paths

are always disjoint thus there is no way to jump to a situation as the viewp oint is

always situated This treatment of the supp orts relation as nonabsolute distinguishes

prosit from other descriptions of situation theory Their argument for taking this

direction is that it means that truth is lo cally determined and there is no need to

search some probably very large global list of supp orts relations

Prosit also supp orts a form of constraint Unlike astl which eectively oers global

constraints b etween situations prosits constraints are b etween facts within situations

Supp ose we wish to state that in situation S anything that sings also dances

top resp S dances X sings X

yes

top S dances hanako

yes

r esp is a sp ecial relation used to cause the rst argument a situation to resp ect

the second argument a constraint Notice that the fact that a situation supp orts a

constraint is also situated in this case in top thus dep ending on where a query is

made the constraint may or may not apply

In astl constraints are global over all situations so that if some situation is of the

appropriate type the constraint will apply In prosit the situation is dierent Con

straints will only apply if the fact that the situation resp ects a constraint is explicitly

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

asserted This has the advantage that unnecessary searching for appropriate con

straintssituations do es not o ccur but the disadvantage that some mechanism must

assert r esp facts for each appropriate situation These two views are extreme ends of

a sp ectrum Ideally we would like some constraints to b e as in astl globalusing

the distinctions made in Barwise Perry Ch these would b e called necessary

constraints We would also like some to b e lo cal to a situation as in prosits con

straints But more imp ortantly we would also like something in b etween Barwise also

describ es conditional constraints which apply to general classes of situations Neither

astl or prosit oer such constraints directlythough such constraints can b e mo del

led in either system However merely mo delling may not b e enough To check that a

constraint is appropriate requires work If the domain of situations that the constraint

may apply to is predened a more ecient use of constraints should b e p ossible

Prosit also oers a simple form of anchoring for parameters although not really any

form of anchoring environment Unlike astl prosit oers a number of features which

are not normally within situation theory but do make the language easier to use Such

op erations as union and intersection of facts in a situation allow a more explicit and

pro cedural interpretation Moreover constraints can b e sp ecied to b e forward or

backward chaining thus stating if application should o ccur at assert time or query

time

In summary prosit also oers a computational language based on situation theory but

it also admits other features which although useful to the language are not normally

asso ciated with situation theory astl has b een developed for exp eriments with natural

language pro cessing while prosit is primarily aimed at the more general problems of

knowledge representation and probably ts closer to the work of logic programming

than natural language pro cessing for example typical work in prosit can b e seen

in Nakashima et al Although initially an attempt was made to extend prosit

to include language pro cessing features to o many additions were necessary Both the

treatment of constraints and the fact that prosit do es not have a concept of abstraction

made it dicult to augment prosit satisfactorily This is not to say that the two

systems astl and prosit could never b e combined ideas from each could b e used

together to build a language which would oer the advantages of b oth

astl and feature systems

In the initial investigation for a general computational system for implementing seman

tic theories some time was sp ent lo oking at the p ossibility of using some form of feature

system to do this Feature systems are now very general Johnson Smolka

They have b een used in many theories mainly for syntactic representation eg GPSG

Gazdar et al but also they have b een used for semantic representation However

there now comes the question exactly what do we mean by feature systems The pro

blem is that there are many facilities which one can include in a feature system and

dep ending on your needs you can vary your selection

With hindsight we can lo ok at the denition of astl given ab ove and nd a parti

COMPARISON WITH OTHER SYSTEMS

cular feature system which has the same computational and descriptive p ower Astl

individuals parameters and facts can all b e represented simply in a standard feature

system The dicult cases are types situations and constraints

Situation types require a form of setvalued feature Representing facts within a type

by some form of list representation using features like FIRST and REST cf Shieb er a

p is not p owerful enough as manipulation and testing of facts against situations

b ecomes to o dicult if at all p ossible in general b ecause facts in situations are not

ordered while a FIRSTREST enco ding enforces an order What is needed is a repre

sentation whose interpretation is not dep endent on the order in which facts o ccur

This can b e done by setvalued features In feature logics there are at least two

interpretations of setvalued features Intuitively rst we can think ab out the value as

b eing underdetermined That is the value for the feature is one of the values of the set

but as yet we cannot tell which Alternatively we can view the value of a setvalued

feature to b e all values of the set The denition of unication of such values also

diers Hoare unication must b e used in the multivalued case eectively the values

are unioned by unication and Smythe unication is used in the case where the value

is underdetermined values are intersected Rounds discusses these issues in more

detail There are other denitions of setvalued features to o that dier from this as

in Pollard Moshier For a representation of situation types we require to use

setvalues in a multivalued way A situation supp orts some set of facts Hence the

multivalue denition and Hoare unication are required

Using setvalued features only oers a representation for types but not quite for situa

tions In situation theory situations are rst class ob jects To represent situations in

feature logics there are two p ossible alternatives We can either have a structure that

represents a situation containing a setvalued feature representing the facts it sup

p orts All references to that situation would refer to that very structure This would

introduce cycles in our structures where situations referred directly or indirectly to

themselves Or the second technique is to have names for situations and rely on the

mo del to equate names to structures The second of these has a problem that assertion

or unifying has to trace names of situations to the situations themselves Both these

are p ossible although the rst seems closer to standard denitions of feature structures

The third construction in astl which do es not directly map on to any particular

feature structure are constraints Some grammar theories which are describ ed using

feature logics require constraints b etween features in a category eg Feature Co o c

currence Restrictions in GPSG Gazdar et al Obviously grammar rules are really

a form of constraint but others have considered other constraints b etween categories

Kilbury Frisch which is closer to the kind of constraints dened in astl

Later work Hegner has proven decidability for constraints restricted to horn clau

ses while HPSG Pollard Sag requires more p owerful constraints As we can

see constraints in feature logics are not new and we can easily nd a denition that

comes close to the required denition of astl constraints

What this comes down to is that a feature systems with sets cyclic structures and

a form on intercategory constraint would come very close to what astl is That

is a language of the computational and descriptive p ower of astl could b e dened

CHAPTER A COMPUTATIONAL SITUATION THEORETIC LANGUAGE

as a feature system This b egs the question if we could have used such a feature

system why do we actually describ e the system in terms of situation theory rather

than features The answer to that is in the end a sub jective one However even if

astl were describ ed solely in terms of a feature system it should also b e p ointed out

that its characteristics are the fundamental characteristics of situation theory so even

as a feature system the close relationship with situation theory would still b e there If

such a denition were made it seems acceptable to describ e it as an implementation

of astl in a feature system Also b ecause situation theory is describ ed as a semantic

theory it seems consistent to describ e our general semantic theory in such terms rather

than simply as a feature system

Summary

This chapter has introduced a computational language called astl which is based on

asp ects of situation theory Astl is formally dened and some simple examples of the

language are given showing how it can actually b e used One p ossible implementation

is describ ed Astl is then describ ed with resp ect to three other systems First it

is contrasted with situation theory itself showing that the basic parts of astl can b e

found in all of the general descriptions of situation theory placing it legitimately in

that paradigm Secondly another situation theoretic language Prosit is describ ed

comparing it with astl and showing where they dier Finally feature systems are

discussed identifying which asp ects of feature systems would b e required to dene a

particular feature systems that would have the same computational and descriptive

prop erties as astl

It should b e noted that at this stage we have not yet justied astls characteristics as

necessary or sucient for a system that is suitable for describing asp ects of general

semantic theories This we will do in the following three chapterswhere we will lo ok

at how three semantic theories can b e sp ecied within astl In Chapter we will

also return to this issue of why the characteristics of astl are those that are necessary

in a system for describing semantic theories

Chapter

Pro cessing Natural Language

and STG

Introduction

In this chapter we will show how the situation theoretic based language astl can

b e used as a medium for describing natural language linguistic grammars and how it

oers a mechanism that allows parses of utterances to b e found with resp ect to such

grammars A way of representing linguistic entities is also describ ed Grammar rules

can b e dened as constraints over such ob jects A simple fragment of English is given

within such a framework That fragment is simple but includes enough syntax to allow

certain interesting semantic phenomena to b e displayed The syntax is sucient for

simple examples of donkey anaphora intersentential anaphora and quantication

The second part of this chapter is the rst example of using astl to describ e another

semantic theory Situation Theoretic Grammar STG Co op er Admittedly STG

should b e one of the easiest theories to describ e in astl as STGs ideas of grammar

pro cessing are those that are embo died in astl But STG is an example of situation

semantics and it is necessary that astl can at least deal with the semantic theories

closest to itself if astl is to b e treated as a general semantic theory

Situations and language pro cessing

In this section we will explain how a situation theoretic representation can b e given to

natural language utterances and do so in terms of astl We will show that language

and a conventional computational syntactic view of it can b e naturally describ ed within

a situation theoretic framework Note that here we are not prop osing a new syntactic

theory only a metho d of enco ding existing theories within situation theory and astl

Some of the basic ideas of syntactic pro cessing in a situation theoretic framework

presented here are basically those in Situation Theoretic Grammar STG given in

CHAPTER PROCESSING NATURAL LANGUAGE AND STG

Co op er

The basic idea is that the actual utterance of a piece of language can b e describ ed as

a situation That situation supp orts facts ab out the utterance such as the start and

end p oints as well as what was actually said the phonology The situation can also

supp ort facts ab out the linguistic content of the utteranceits syntactic category its

number gender etc as well as the semantics of the utterance itself For example the

utterance of the noun phrase Hanako can b e represented as

SIT

catSITNounPhrase

use ofSITHanako Hanako ;

startSITt

endSITt

Likewise the utterance of the verb sings in the same lo cation immediately following

the ab ove utterance of Hanako may give rise to the following situation

SIT

catSITVerbPhrase

sings ; use ofSITsings

startSITt

endSITt

Of course we can now consider these two utterances as part of a larger one They were

b oth uttered at the same time the end of the rst is at the start of the second and hence we can also state that

SITUATIONS AND LANGUAGE PROCESSING

SIT

catSITSentence

startSITt

endSITt

SIT

catSITNounPhrase

daughterSIT use ofSITHanako

startSITt

endSITt

Hanako sings ;

SIT

catSITVerbPhrase

use ofSITsings daughterSIT

startSITt

endSITt

lpSITSITSIT

If we wish to state that a sentencetype situation o ccurs when we have a noun phrase

and verb phrase together we can in the same way as we state normal conventional

phrase structure grammar rules write an astl constraint which says just that

S S S catSSentence

S startSStart

S endSEnd

S daughterSNP

S daughterSVP

S lpSNPVP

NP NP NP catNPNounPhrase

NP startSStart

NP endSM

VP VP VP catVPVerbPhrase

VP startSM

VP endSEnd

There is nothing new or sp ecial going on here Basically we are eectively enco ding

conventional grammar rules within astl in a very similar way to how grammar rules

can b e enco ded in feature systems There are p erhaps some dierencessp eci call y we

include an explicit reference to the start and end p oints of an utterance in its enco ding while in conventional feature grammars this would not normally b e the case

CHAPTER PROCESSING NATURAL LANGUAGE AND STG

As discussed earlier in Section it may b e p ossible to dene a feature system

which has most of the prop erties of astl But we can also lo ok at this in reverse astl

is not unrelated to feature systems and there may b e ways to enco de feature systems

within astl Let us briey lo ok at this p ossibility We can represent feature struc

tures as situations and features as facts but with one imp ortant dierence Features

are functional while facts are relational thus there is nothing that restricts a feature

structure situation from supp orting conicting feature facts as in

SITS S catSsentence

S catSverbphrase

What is necessary is a denition of feature relations Although this cannot b e done in

basic astl as it is currently dened a simple extension could achieve this We could

add the restriction that a situation may only supp ort at most one p ositive fact for

any particular feature relation The other dierence b etween an astl grammar and

a conventional feature grammar is unication In a conventional feature grammar

constituent feature structures match grammar rule daughters using unication that

is as long as there are no conicting features they may combine more formally if the

sets of feature graphs of which they are types have a nonnull intersection In

in an astl grammar daughters only match constituents when a situation has al l

the features mentioned in the right hand side of rule In unication terms the astl

constituent must b e an extension of astl grammar rule daughter

Furthermore astl can not only oer enco dings for conventional phrase structure rules

Syntactic theories such as GPSG Gazdar et al do not contain conventional phrase

structure rules but get the same eect through Immediate Dominance and Linear

Precedence rules These rules collectively constrain a syntactic structure over the same

syntactic constituents rather than in a conventional phrase structure grammar where

rules dene a single hierarchical structure Because of the form of astl constraints it

should not b e very dicult to dene IDLP rules within astl

In the simple example astl grammar rule ab ove we state a daughter relationship

b etween the mother no de and the daughters We also sp ecify a linear precedence

relation via the relation lp We do not but p erhaps should explicitly state the

exact number of daughters allowed

It is not the purp ose of this thesis to introduce a new syntactic theory All we wish to

show is that existing syntactic theories can naturally b e mo delled within astl It is

no harder to sp ecify a computational description of a syntactic theory in astl than it

is to do so in a feature system In fact b ecause astl oers very general constraints it

may even b e easier to describ e some theories which do not limit themselves to phrase

structure rules eg GPSG and GB in astl than in a feature system It must b e

noted that we are not really concerned with strictly dening feature systems within

astl and only wish to p oint to how this could b e achieved The grammar system

given here is simple and do es not require the full p ower of a general feature system to

describ e it but it is adequate for the semantic phenomena we wish to examine

There is an imp ortant extension to basic astl which makes the treatment of phrase

SITUATIONS AND LANGUAGE PROCESSING

structure grammars easier and more ecient Ab ove we showed how a simple phrase

structure rule could b e enco ded as a constraint This technique is also used in logic

programming Denite Clause Grammars DCGs Pereira Warren use a very

similar metho d to the one outlined ab ove for enco ding phrase structure grammars in

rst order logic or more sp ecically in Prolog In DCGs instead of a start and end

p oint the extra conditions are with resp ect to a list of words More particularly a

category represented by a predicate indicates its start p osition as one p oint in a list

structure and its end further down that list This dierence b etween this mo delling of

the string of words uttered and that used by astl p oints is not imp ortant here

However more imp ortantly what has b een copied from Prolog DCGs is that DCGs in

Prolog can b e sp ecied using a sp ecial syntax such that the utterance start and end

p oints need not b e explicitly stated in the rules This oers a much more readable

notation for rules In astl we have also added a sp ecial syntax for grammar rules

For example the astl constraint ab ove that represents a phrase structure rule can b e

rewritten as the following astl grammar rule

S S S catSSentence

S daughterSNP

S daughterSVP

S lpSNPVP

NP NP NP catNPNounPhrase

VP VP VP catVPVerbPhrase

Sp ecically we need not include the start and end relations and we have a dierent

form of arrow

Unlike DCGs astl grammar rules are not translated into their underlying form with

explicit start and end p oints In the implementation discussed here grammar rules are

interpreted directly This allows for a much more ecient implementation The start

and end p oints b ecause they are known to exist for these situations can b e built in

and used for ecient indexing in the theorem prover

In addition to a sp ecial form of constraint that acts as a grammar rule we also have a

sp ecial form which introduces basic situations that are used to represent utterances of

words Word entries sp ecify what type of situation is introduced by the utterance of a

word As in

Hanako S S catSNounPhrase

S useofSHanako

If we were to translate this to its expanded form it would lo ok something like

S S S catSNounPhrase

S useofSHanako

CHAPTER PROCESSING NATURAL LANGUAGE AND STG

S startSStart

S endSEnd

use of Hanako

We include a way to utter words in a sequence which will introduce situations of the

type declared for each word

A consequence of this is that eectively there can exist two types of situation in an astl

description utterance situations and normal situations Situations introduced by word

entries and those predicted by grammar rules are called utterance situations Grammar

rules can only apply to utterance situations but normal constraints can apply to b oth

types of situation In the current system it is not p ossible to make a normal situation

into an utterance situation

Both grammar rules and word entries are optional parts of an astl description If

included they app ear at the end of a description

A simple grammar fragment

Throughout most of the rest of this thesis we will b e lo oking at how particular semantic

theories can b e describ ed within astl In order to do this we need some form of

syntactic backbone with which we can realise our descriptions and actually use them

to pro duce semantic representations of natural language utterances To do this we will

use the same simple grammar fragment The following fragment is based on that in

Ro oth and includes sucient syntax to give examples of the semantic phenomena

we are interested in

As a conventional phrase structure grammar the Ro oth fragment can summarised as

S N P V P

VP V N P

NP D et N

N N P P

PP P N P

D S

D D S

We also include the category D for discourse to allow utterances of more than one

sentence Lexical entries will slightly vary from description to description pronouns

are not included in the basic STG description though they are in the later descriptions

of DRT and dynamic semantics however overall the following classes will b e used

D et a every

A SIMPLE GRAMMAR FRAGMENT

N man donkey

NP he she it Hanako Taro

VP walks talks smiles smiles

V b eats likes

P with on

The grammar rules can b e simply translated into astl grammar rules as in

S S catSSentence

S daughterNP

S daughterVP

NP NP NP catNPNounPhrase

VP VP VP catVPVerbPhrase

Likewise we can translate the other six rules The full astl description is shown in

App endix A This grammar is sucient to describ e examples like the following

Hanako sings

A man walks He talks

Every man with a donkey beats it

The following is a example analysis for a man walks this is shown for a sentence rather than a discourse so that it can reasonably t on a page

CHAPTER PROCESSING NATURAL LANGUAGE AND STG

SIT

catSITsentence

SIT

catSITnounphrase

SIT

use ofSITa daughterSIT

catSITdeterminer

daughterSIT

SIT

use ofSITman

daughterSIT

catSITnoun

SIT

use ofSITwalks

daughterSIT

catSITverbphrase

Situation Theoretic Grammar

Situation Theoretic Grammar STG Co op er is a situation semantic theory Its

1

description includes a computational treatment in Prolog Not only do es STG oer a

semantic treatment of simple utterances but it includes a situation theoretic treatment

of syntax As astl was developed partly as an attempt to generalise the computational

situation theoretic prop erties of STG it is not surprising that astls treatment of

syntax is essentially the same However although we have shown in the previous

section how to treat syntactic grammars in astl we have not yet dealt with describing

treatments of natural language semantics In this section we will describ e how STG

can b e describ ed within astl showing how situation semantic representations can b e

constructed for simple utterances

Although the term situation semantics is often used as if it refers to a single se

mantic theory this is not actually the case The term has b een used to describ e many

quite dierent theories of natural language semanticssuch as Barwise Perry

Gawron Peters situation schemata Fenstad et al etc Probably the only

asp ect that these theories have in common is the use of a situation ob ject in their

Confusingly Co op ers implementation is called ProSit note capitalisation to distingui sh it from

prosit Co op ers framework oers op erators and predicates to deal with situation theoretic ob jects within standard Prolog rather than the design of a whole new language

SITUATION THEORETIC GRAMMAR

description STG oers b oth a situation theoretic treatment of syntax as well as se

mantics Unlike other situation semantic theories STG is given with resp ect to a

particular grammar fragment thus making it easier to compare with more conventional

semantic theories eg Montague grammar

In the previous section we showed how astl can b e used to describ e syntactic theories

The Ro oth grammar fragment detailed ab ove will b e used as the basis for this descrip

tion of STG In the Ro oth fragment utterances are represented by situations but the

semantics of these utterances ie what these utterances describ e are not included in

the description

Here as in Co op ers original STG description we will include a relation in each ut

terance situation relating the situation to a situation theoretic ob ject representing its

semantics An intransitive verbs semantics will b e represented by a parametric fact

with one argument Parameters in situation theory can b e used to represent partially

determined ob jects For example the representation for the intransitive verb smile

would b e

smileA

It is p ossible for the p olarity to also b e parametric but we shall ignore that p ossibility

in these examples In other semantic theories this would b e similar to the simple

lambda expression

A smil eA

However unlike variables in a lambda expression there is no explicit identication of

the parameters in the parametric fact case In a transitive verbs representation there

would b e two parameters The lambda representation is required to order those in

some way while the parametric fact representation is not Within astl as we have

dened it a parametric iterm simply denotes a fact containing parameters How a

parametric semantic ob ject in astls mo del relates to the real world is not dened

here The ab ove case could b e dened as the set of all p ossible smilefacts or as an

abstraction over them Such philosophical issues do not impinge on the descriptive or

computational asp ects of astl therefore we can ignore them for the present However

the issue of whether astls representation as a parametric fact or extending astl to

include an explicit representation for abstractions is returned to in Section

In STG we allow parameters to b e anchored and labelled These are ways of relating

parameters to other ob jects We hold anchoring and lab elling facts in a situation that

we call an anchoring environment Anchoring is analogous to variable assignment or

substitution in other theories Each utterance situation is related to b oth a parametric

semantic fact and an anchoring environment For example in a verb phrase utterance

situation all parameters except the one representing the sub ject of the sentence will

b e anchored as the sub ject parameter is as yet undetermined In order to identify

which parameter is related to which grammatical argument parameters are labelled

CHAPTER PROCESSING NATURAL LANGUAGE AND STG

2

with grammatical functions eg subj obj etc According to these denitions the

basic lexical entry for smiles would b e

smiles

VP VP catVPVerbPhrase

VP useofVPsmiles

VP semVPRA

VP envVPSmileEnvS S labelRpred

S anchorRsmile

S labelAsubj

The semantic entry is fully parametric and the asso ciated anchoring environment an

chors the parameter R to the relation smile

The semantic content of an utterance is dened with resp ect to the utterances ancho

ring environment and parametric fact The content is that fact where all the parameters

in it are replaced by the ob jects anchored to them by the anchoring environment This

is analogous to b eta reduction For example the content of the smiles entry ab ove is

smileA

In an utterance situation representing Hanako smiles we wish the content of the

related parametric fact and anchoring environment to b e

smileh

To do this the semantics of the sentence utterance situation can b e the same parametric

fact as that in the verb phrase utterance situation but the anchoring environment also

needs an anchoring for the parameter A There are two ways to consider this The rst

is to have a constraint that adds to the anchoring environment that is related to the

verb phrase the extra anchoring relation for A such that the anchoring environments

on the sentence and verb phrase utterance situations are the same A second view

is for the anchoring environment on the verb phrase to remain the same but state

that the anchoring environment on the sentence utterance situation supp ort the same

anchoring and lab elling facts as that on the verb phrase plus the new anchoring fact

for the parameter A That is we extend the anchoring environment of the verb phrase

with the anchoring relation creating a new situation In situation theoretic terms we

can say the verb phrases anchoring environment is partof the sentences anchoring

3

environment

In Co op er parameters are lab elled with their grammatical function and their resp ective ut

terance situation

Technically there is a p ossible distinction here b etween passing situation types and a partof rela

tion A partof relation b etween two situations A and B would b e that all facts supp orted by A are

also supp orted by B while linking situation types do es not necessarily entail this As although the

basic type is copied and all appropriate constraints will apply to b oth situations A and B it may b e

that A will actually supp ort more than B by virtue of A app earing in some relation in some other

situation which B do es not

SITUATION THEORETIC GRAMMAR

Both these forms can b e sp ecied in astl The rst where the sentence and verb

phrase have the same anchoring environment is easier to sp ecify

S S catSSentence

S semSFact

S envSEnv

Env Env anchorXY

NP NP catNPNounPhrase

NP semNPY

VP VP catVPVerbPhrase

VP semVPFact

VP envVPEnv

Env Env labelXsubj

Note how we select the parameter to b e anchored by nding the one lab elled by subj

in the anchoring environment Also we are assuming that the semantics of the noun

phrase is simply a constant The environments related to the verb phrase and sentence

will b e the same b ecause we name them with the same variable Env

The second metho d where we extend the environment is the actual one we use throug

hout the following description In this case the verb phrases anchoring environment

do es not contain any facts anchoring the parameter lab elled subj However this is a

little harder to sp ecify in astl The rule b elow uses a simple extension which allows

multiple types to b e sp ecied for situations separated by an amp ersand The rule

would b e

S S catSSentence

S semSFact

S envSSEnv

VPEnvType

Env Env anchorXY

NP NP catNPNounPhrase

NP semNPY

VP VP catVPVerbPhrase

VP semVPFact

VP envVPVPEnv

VPEnvType

Env Env labelXsubj

In this case the two environments are distinct b ecause they are referred to by dierent

4

names SEnv and VPEnv However we state that the type of SEnv is VPEnvType

Formally this may not b e true The rule only states that they are not necessary the same rather

CHAPTER PROCESSING NATURAL LANGUAGE AND STG

which is also the type of VPEnv therefore all facts that are supp orted by VPEnv will

also b e supp orted by SEnv but not necessarily the reverse We also sp ecify that the

type of SEnv includes not only the type of VPEnv but also the fact anchoring the

parameter lab elled subj to the semantics of the noun phrase

To see how an anchoring environment is built up from example utterances consider the

utterance situations for Hanako and smiles

SIT

SMILEENV

SIT

labelAsubj

envSIT

anchorRsmile

semSITh

labelRpred

use ofSITHanako

catSITnounphrase

semSIT RA

use ofSITsmiles

catSITverbphrase

Using the ab ove grammar rule we get a sentence utterance situation of the form

SIT

catSITsentence

semSIT RA

SIT

anchorAh

labelRpred envSIT

anchorRsmile

labelAsubj

The result is a situation related to a semantics which is a parametric fact RA

and an anchoring environment where R is anchored to the relation smile and A is

anchored to the individual h

We can view extending the anchoring environment as analogous to lambda application

in a based system But application is not the whole story we still

need something analogous to reduction to nd the content of the parametric fact and

anchoring environment To do this what we will do is use the information in the

than that they are dierent Also even if they have dierent names within astl they may actually

denote the same situation within the mo del However for the purp oses of this explanation we can think of them as b eing dierent

SITUATION THEORETIC GRAMMAR

parametric fact and anchoring environment to dene the described situation that is

what the utterance describ es

S S S describedSDS D D VRVA

S S S catSsentence

S semSRA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

That is we are nger the values anchored to the parameters in the parametric fact

VR and VA will b e the values eg smile and h This technique is of course

inadequate for general b eta reduction We will return to this issue shortly In the

ab ove constraint we dene the describ ed situation in terms of the parametric and the

anchoring environment The full utterance situation for the sentence Hanako smiles

is

SIT

catSITsentence

semSIT RA

SIT

anchorAh

labelRpred envSIT

anchorRsmile

labelAsubj

SIT

describedSIT

smileh

Quantication

The ab ove describ es how simple declarative utterances involving prop er nouns can b e

treated in STG In this section we discuss the treatment of the simple quantiers every

and some

In Co op ers original description quantiers were represented as a relation b etween two

properties Prop erties are a form of abstraction over prop ositions

X j s j happy X

CHAPTER PROCESSING NATURAL LANGUAGE AND STG

X is a parameter Informally for some ob ject to have a prop erty it must b e the case

that the prop osition in the prop erty is true if the parameter is replaced with that

ob ject For example the ab ove prop erty is true for h if the prop osition

s j happy h

is true There is no direct equivalent of prop erties in astl though the concept of

abstractions discussed in Section is very similar but a little more general In

the astl description of STG we must nd an alternative representation Here we use

situation types with parametric facts to represent abstractions As we may wish to

extend the description later to deal with generalised quantiers our astl representation

for quantiers is a three place relation b etween a variable represented by a parameter

and two parametric situation types Thus the desired astl semantic representation

for the utterance every man walks is

SIT

S S

S S

everyX

manX walkX

Each utterance situation is related to a described situation whose type is dened by

the parametric semantic fact and anchoring environment This makes it p ossible

to deal with cases where more than one fact is necessary to represent the sentence

Alternatively we could introduce logical relations and and or and use these as in a

man walks

andmanXwalkX

but this seems to complicate the issue when even just a limited form of types are

available It seems useful that an utterance describ es some situation and that the

utterance determines the type of that describ ed situation

There is also question ab out what it means for a situation to supp ort an everyfact

We can paraphrase this with a constraint Given the ab ove situation SIT we could

capture its interpretation by the following astl constraint

S D D walkX

S D D manX

D everyX

S S manX

S S walkX

SITUATION THEORETIC GRAMMAR

That is the interpretation of the every fact eectively quanties over its rst argument

a parameter treating it like a variable

Returning to our denition of quantiers our lexical entries for the words every and

a in this schema would b e

every

DET DET catDETDeterminer

DET useofDETevery

DET semDETQAAA

DET envDETEveryEnv

Env Env labelQ

Env anchorQevery

Env labelAvar

Env labelArange

Env labelAbody

a

DET DET catDETDeterminer

DET useofDETa

DET semDETQAAA

DET envDETAEnv

Env Env labelQquantifier

Env anchorQsome

Env labelAvar

Env labelArange

Env labelAbody

The parameters A and A lab elled range and body will b e anchored to the type of the

describ ed situation of the nounphrase without determiner and the verb phrase The

grammar rule for sentences with quantiers in their sub ject noun phrases is

S S catSSentence

S tenseSpres

S semSQexpr

S envSSEnv

EnvType

Env Env anchorYVar

Env anchorBodyDSType

NP NP catNPNounPhrase

NP semNPQexpr

NP envNPEnv

EnvType

Env Env labelBodybody

CHAPTER PROCESSING NATURAL LANGUAGE AND STG

Env labelXvar

Env anchorXVar

VP VP catVPVerbPhrase

VP tenseVPpres

VP describedVPDSDStype

VP envVPVPEnv

Env Env labelYsubj

VP semVPFact

Also we need a rule for quantied noun phrases

NP NP catNPNounPhrase

NP semNPQexpr

NP envNPNPEnv

EnvType

Env Env anchorXA

Env anchorRangeDSType

DET DET catDETDeterminer

DET semDETQexpr

DET envDETDetEnv

EnvType

Env Env labelRangerange

Env labelXvar

N N catNnoun

N envNEnv

Env Env labelAarg

Env anchorRpred

N semNRA

N describedNDSDSType

Thus a full analysis of the utterance every man walks would b e

SITUATION THEORETIC GRAMMAR

SIT

catSITsentence

tenseSITpres

semSIT QAAA

SIT

anchorWAMA

anchorA walkWA

anchorAMA

anchorA manMA

envSIT

labelQquantifier

anchorQevery

labelAvar

labelArange

labelAbody

SIT

P P

P P

describedSIT

everyMA

manMA walkWA

There are a number of comments that should b e made ab out the ab ove Here the

parameters used have names based on which word entry introduced themie WA is

introduced by the word walks Actually we should really have unique parameters for

each use of that word

However there is a ma jor problem with the ab ove If you lo ok closely you will see

that the ab ove is not quite right The WA in the situation type whose parameter is

P should app ear as MA as the anchoring environment states that WA is anchored

to MA The reason it do es not is that the sentence rule given ab ove states that the

parameter lab elled body in the quantier relation should b e anchored to the type of

the describ ed situation of the verb phrase At that p oint the anchoring of WA to MA is

not stated so no reduction takes place This p oints to a fundamental problem in using

simple constraints to mo del reduction of parametric facts and anchoring environments

Even to get the reductions needed for the STG description given here requires a large

number of sp ecic rules Basically a constraint is needed for each utterance type

sentence nounphrase etc and for each p ossible arity of semantic parametric facts

However in order to get the ab ove right a constraint or more probably a large number

of them would b e required that go es further than this and checks not only the fact

and its arguments but checks the values within arguments to o For example the key constraint for the basis of a sentence utterance situation is

CHAPTER PROCESSING NATURAL LANGUAGE AND STG

S S S describedSDS

DS DS VRVAVAVA

S S S catSsentence

S semSRAAA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

Env anchorAVA

Env anchorAVA

To get the ab ove example correct we should really have the value of VA a type from

the describ ed situation of the verb phrase also reduced with resp ect to the anchoring

environment SEnv Although it may actually b e theoretically p ossible to sp ecify

such constraints in astl it is obviously not easy This fact suggests that some new

function should b e added to the basic denition of astl to cover such reduction Such

an extension is discussed in Section

As we can see that although tricky in some cases a basic treatment of STG in astl is

p ossiblethe full astl description is given in App endix A We can enco de the ideas

of anchoring and lab elling of language and build simple situation semantic translations

of utterances This treatment is reminiscent of using the lambda calculus in Montague

grammar where we have an expression with explicitly named parts that have yet to get

a value In contrast with say a unication approach where variables are used or as in

the next chapter where expressions are built only when all information is available

STG in its original form do es not deal with anaphora We could try to add some

form to it but instead of a designing yet another treatment it seems sensible to b orrow

from the work of other theories The next chapter deals with Discourse Representation

Theory which has an adequate treatment of b oth b ound and intersentential anaphora

The relationship b etween DRT and STG will b e discussed then

Co op ers description also includes more complex syntactic and semantic forms than

those available in the Ro oth fragment Particularly it oers simple treatments for em

b edded sentences and reexive pronouns This part is not reconstructed here although

should not b e very dicult to add

Summary

In this chapter we have shown how a situation theoretic treatment of conventional

syntax can b e given in astl We showed how conventional phrase structure grammars

can b e naturally enco ded as situation theoretic constraints Although we can explicitly

enco de these grammar rules as constraints astl also oers a built in mechanism

for such rules oering a more ecient implementation A small syntactic fragment is

introduced with some examples which is used as the syntactic backbone of the later

SUMMARY

Situation Theoretic Grammar description and also will b e used in the following two

chapters

A description of Co op ers Situation Theoretic Grammar is given Although many of

the ideas in astl come directly from STG is it useful to see that a description of

STG b oth its syntactic and semantics treatments of utterances can b e fully describ ed

in astl Some examples and problems with the description are also identied The

ab ove description in astl is just to show basic adequacy for astl The following two

chapters discuss two other semantic theories which concentrate on the same semantic

phenomena and hence descriptions of them can appropriately b e closely compared

The STG description do es not include a treatment of anaphora and hence cannot b e as

closely compared but we will consider an extension to STG in Section adopting the

treatment of pronouns from the following astl description of Discourse Representation Theory

Chapter

Discourse Representation

Theory and Threading

Introduction

In this chapter we lo ok at a semantic theory which was originally thought of as b eing

quite distinct from situation theory Kamps Discourse Representation Theory DRT

is a general semantic theory aimed at oering a general semantic representation for na

tural language discourses Kamp Kamp Reyle First we will give a general

description of DRT and identify its essential prop erties Then we will give a treatment

of DRT in astl showing how astl can b e used to describ e a nonsituation semantic

theory In this description of DRT in astl we will introduce and dene the concept

of threading showing how a structure other than the basic syntactic structure may b e

dened over a discourse

After the description of DRT in astl we compare it with other implementations of

DRT Also we discuss some of the criticisms that have b een made of DRT in terms of

this new description and see if a situation theoretic treatment oers any advantages

Some of the discussion in this chapter has also app eared in Black

Discourse Representation Theory

Among the original motivations for DRT was a treatment for the problem of donkey

anaphora and a consistent treatment for b ound anaphora and intersentential ana

phora Tense also played an imp ortant role at the b eginning Later work has expanded

DRT in a number of dierent directions oering solutions to a number of semantic

phenomena

The essential structure in DRT is the discourse representation structure DRS which

is characteristically written as a b ox A DRS consists of two parts a set of discourse

DISCOURSE REPRESENTATION THEORY

markers called the domain and a set of conditions A DRS is used to represent the

current state of information obtained by pro cessing a discourse As the discourse

progresses more information will b e entered in the corresp onding DRS Kamp has

made claims that an intermediate representation b etween the syntax and the meaning

of an utterance is a necessary part of natural language understanding and p osits DRSs

as that level of representation Hence DRSs to him are not just a convenient form

but psychologically real However such arguments are not relevant to the description

here

A DRS is usually written as a b ox with discourse markers in the top part and conditions

on these markers on the b ottom A simple example will help illustrate their use A

DRS for the utterance a man walks could b e written as

X

walkX

Discourse markers are used to represent ob jects introduced in the discourse In the

simplest form of DRT for example as describ ed in Johnson Klein conditions

can b e simple predicates over discourse markers or can b e the relation over two

subDRSs This relation is used in the representation of the determiner every A

DRSs for the utterance every man owns a donkey might b e

Y

X

)

donkeyY

manX

ownXY

The interpretation of DRSs is as follows A DRS is said to b e true in a mo del if there

exists a binding for the discourse markers to ob jects in the mo del that makes all the

conditions true In the sp ecial case of the condition it is true if for all ways that

the left hand subDRS can b e made true there exists an extension of the bindings that

makes the right hand subDRS true

Another imp ortant asp ect of DRSs is that they implicitly dene an accessibility con

dition on markersthat is accessibility can b e derived from the structure of a DRS

In order for a discourse marker to b e a candidate for pronominal reference it must b e

the case that the marker is accessible from the p oint in the DRS where the discourse

marker corresp onding to the pronoun is entered The accessible relation can b e dened

as

A marker is accessible in the DRS whose domain it app ears in

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

All markers accessible in a DRS are accessible in its subDRSs

All markers accessible in the left subDRS of the relation are also accessible

in the right subDRS

The ab ove denition of accessibility allows such anaphoric references as coindexing

is marked by subscripts

A man walks He talks

1 1

Every man with a donkey likes it

2 2

but prop erly disallows the following in the case where there is more than one

womanas in xmanx y w omany l ov esx y that is wide scop e for the

universal quantier introduced by every

Every man loves a woman She is happy

3 3

Sp ecically the marker introduced by a woman lies within the scop e of the every

1

and hence is not available for later anaphoric reference

One basic problem that DRT solves is that in conventional logics a dierent transla

tion is required for indenite noun phrases dep ending on their context In a simple

declarative sentence like a man walks any translation must introduce some form of

existential quantier for the indenite noun phrase A rst order logic translation

would b e

xmanx w al k x

In the case of an indenite noun phrase embedded within a universal the required

translation is dierent A rst order translation for every man with a donkey walks

is

xy manx donk ey y w ithx y w al k x

That is the translation for the indenite a donkey introduces a universal quantier

DRT oers a uniform translation for indenites in either context within or outwith

the scop e of a universal The DRS for every man with a donkey walks is

This restriction is often cited in the literature and is done so here as part of the description of

DRT The closing o of the scop e of a universal quantier is imp ortant in DRT and also as we

will see later in dynamic semantics However there are go o d exceptions to these sentences although

it seems that in the starred example there can only b e one woman ie wide scop e for the existential

introduced by a woman and not the wide scop e for the universal quantier introduced by every

there are go o d examples like

Every real man owns a car It is red

which naturally seems to b e discussing more than one car

DISCOURSE REPRESENTATION THEORY

X Y

manX

)

donkeyY walkX

withXY

and for a man walks the DRS is

X

manX

walkX

Because DRSs have implicit existential quantiers on introduced discourse markers

and universal quantiers are not over variables but over DRSs eectively prop erties

or types the same translation for indenites is p ossible This is one of the ma jor

advantages of DRT

Another imp ortant characteristic of DRT is that it is not just a representation forma

lism it also oers a construction algorithm which denes how a DRS may b e formed

from a simple syntactic parse tree The basic algorithm is sp ecied as a conversion

from a syntactic tree to a DRS The pro cessing is basically done topdown through the

tree rewriting parts of the tree into DRSs The exact form of construction algorithm

changes from implementation to implementation We can identify three dierent ways

in which the construction is achieved First there is the original metho d where a

syntactic tree is rewritten into a DRS The intermediate structures consist of a DRS

b ox which may contain b oth conditions and partially converted syntactic trees The

second metho d is the use of lambda abstraction and application eg in Pinkal

where each syntactic constituent of a parse is related to an abstraction over a DRS

Lambda application and b eta reduction can b e used to form the DRS comp onent of

the mother no de of a syntactic lo cal tree from the DRS comp onents of its daughters

Unfortunately simple lambda application is not sucient to comp ose all structures and

a sp ecial comp osition op erator is also needed The third metho d of implementing the

construction algorithm is with the use of threading as in Johnson Klein This

is the metho d we also use here and is detailed b elow However what should b e noted is

that in DRT the construction of the representation from a natural language utterance

is rightly considered imp ortant enough to b e part of the theory and not just a fo otnote

In the description of DRT in astl given in the next section we will only consider

the basic parts of DRT That is just enough coverage to deal with donkey anaphora

Particularly we will deal with simple declarative sentences and discourses of transitive

and intransitive verbs whose arguments are prop er nouns pronouns or quantied noun

phrases optionally followed by prep ositional phrases Only the determiners every

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

and a are included In other words the syntax is exactly that of the Ro oth fragment

describ ed b efore in Section

This coverage is essentially that in Johnson Klein But it should not b e thought

that Johnson Klein is the most complete description of DRT That coverage

was aimed for here b ecause it is adequate to show the translation of DRT in astl

as well as the basic adequacy of DRT itself There have b een many extensions to

DRT Generalised quantiers in DRT are detailed in Kamp Reyle Prop ositio

nal attitudes are describ ed in Kamp Work on temp oral anaphora has also b een

carried out within a DRT framework Partee Also DRT has b een used merely

as a framework in which to cast solutions of other semantic problems for example

Lascarides Asher on commonsense entailment This shows DRT is not just a

semantic theory for donkey anaphora but do es stand as a suitable semantic theory for

general semantic representation in its own right

DRT in astl

There is other work on DRT in situation semantics particularly Co op er Kamp

In that description they identify three p ossible ways in which we can consider DRT in

a situation theoretic way which can b e paraphrased as

Give a situation semantics for an already existing language for DRSs

Give a mo del for DRSs as ob jects in situation theory

Start from an existing situation semantics and incorp orate the dynamic asp ects

of DRT

Although any description of DRT in situation theorysemantics may relate to more

than one of these p oints the description in Co op er Kamp primarily takes the

approach given in and give a situation semantics for an existing language of DRSs

Here we will eectively take the second approach and dene DRSs as situation theoretic

ob jects

The following description is in two parts First we give a description of the repre

sentation of DRSs as situation theoretic ob jects Second we introduce and formally

dene a notion of threading which relates utterance situations in a way necessary for

the construction of DRSs throughout a discourse

DRSs in astl

There are a number of p ossible ways to represent a Discourse Representation Structure

DRS in astl The rst consideration is the representation of discourse markers As

these are ob jects which can b e b ound to ob jects in the world there is an obvious

relationship to a parameter Conditions can b e represented as iterms facts DRSs

DRT IN ASTL

themselves will b e treated as parametric situation types DRSs as types as we will see

b elow allows an obvious route to interpretation of DRSs

An example DRS for the utterance a man walks is

X

manX

walkX

while the astl representation of the same DRS is

P

P

manX

walkX

In the basic astl syntax this would b e written as

P P manX

P walkX

The most imp ortant dierence b etween a standard DRS and its astl representation

is that the discourse markers and conditions are not partitioned We are treating pa

rametric types eectively as abstractions over types and a more correct representation

should p erhaps b e using the EKN notation

P X

P

manX

walkX

but at present astl do es not supp ort such ob jects an extension that would introduce

such ob jects is discussed in Section Treating discourse markers explicitly in the

abstraction gives a b etter representation of how we intend to treat them but it is not

necessary

We can discuss the interpretation of DRSs as parametric types in some mo del For

example an utterance situation which is related to the ab ove DRS would also b e related

to a described situation or mo del We can capture that relationship by the following

astl constraint

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

S S S describedS

DS D D manX

D walksX

S drsanchorS

A AE AE anchorXX

S S S DRSSD D manX

D walkX

That is there exists an anchoring for the discourse marker in the DRS such that an

choring the markers in the DRS makes it a type of the describ ed situation Note that

by changing the parameters discourse markers into astl variables we get the exi

stential treatment of the markers It should b e noted that as astl is currently dened

the ab ove translation from DRS to describ ed situation cannot b e given in general in

astl very easilyyou cannot state one constraint to deal with all DRSsbut the

concepts of interpretation are expressible as astl ob jects

Ab ove we only gave an example with conventional conditions we also treat the sp ecial

condition used to represent the universal quantier as a fact Also if we were to extend

this description to include other nonbasic conditions of DRT they may also require the

introduction of other sp ecial facts An example astl DRS containing an everyfact

for the utterance every man likes a donkey is

P

P

P

P

P

P

every

donkeyY

manX

likeXY

Again we can represent the interpretation of such a fact by astl constraints Again

the translation of parameters to astl variables gives the required treatment

S S S drsanchorS

A AE AE anchorXX

AE anchorYY

S S

S describedS

DS D D manX

S DRSS

D D every

DRT IN ASTL

D D manX

D D donkeyY

D likeXY

DS DS DS donkeyY

DS likeXY

S S S describedS

DS D D manX

S drsanchorS

A AE AE anchorXX

AE anchorYY

S DRSS

D D every

D D manX

D D donkeyY

D likeXY

That is for all ways that we can anchor X to something that is a man in the describ ed

situation ie all ways that the rst argument of every can b e made a type of the

describ ed situation there exists an anchoring for Y to a donkey which is liked by the

anchor of X This will mean that an utterance situation may b e related to a number

of anchoring environments but it will still only b e related to one describ ed situation

Also note the obvious parallel here with the semantic representation used in the STG

description in the previous chapter page

In addition to a DRS we will also relate utterance situations to an accessibility situation

This will identify all discourse markers which are currently accessible In some ways

it may b e thought of as the domain in that its facts are all ab out domain markers

Accessible markers are used primarily for identifying antecedents for pronouns hence

we also related them to a type one of male female or neuter reecting the gender

of English pronouns However unlike the domain of a standard DRS the accessibility

situation may also include markers from the domains of DRSs which are accessible

from the current one More will b e said on this construct later in Section

Threading

Before we can give the denition of how DRSs are related to each other at each stage

in a discourse we must introduce the concept of threading Conventionally we think

of an utterance b eing made up of a single hierarchical tree of syntactic categories but

here we wish to sp ecify other structures over the same set of utterance situations

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

The general idea is that as a discourse progresses a new DRS is constructed from the

DRS of the previous part of the discourse plus information form the current part of

the utterance The path of utterance situations over which this DRS is extended is

called a thread Threads are dened by the binary relation tin For example given

the following relation

tinSS

we would say S is threaded to S The daughter relation denes a syntactic tree over

the utterance situations stating immediate dominance and linear precedence of the

parts of the utterance while the threading relation states a dierent structure over the

same set of utterance situations

Each utterance situation app ears exactly once as the second argument to the tin

relation That is each utterance situation has exactly one incoming thread There

is one exception to this the sp ecial utterance situation which is used to denote the

start of a discourse It is basically a null context and is used at the initial thread of a

discourse and the start of some subthreads There are no cycles in the threads but as

we will see there may b e more than one thread in a discourse The actual construction

of the threads will b e discussed later Section

Although we have not yet fully dened threading in order to justify it as a useful

structure to dene over utterances we will show how it can b e used to dene DRSs for

a set of utterance situations The basic idea in DRT is that as a discourse progresses

information is added to a DRS ab out the content of the current utterance We can

dene this relationship using threading Basically each utterance situation is related to

two DRSs through the relations DRSIn and DRSOut In addition the simple type of the

DRS we also relate each utterance situation to an incoming and outgoing accessibility

situation which supp orts facts ab out which discourse markers are accessible in that

utterance situation An incoming DRS for an utterance situation is the outgoing DRS

for the utterance situation previous in the thread This is represented by the following

constraint

SS S DRSInSAccessDRS

TSTS TS tinSS

SS S DRSOutSAccessDRS

The outgoing DRS of an utterance situation is the information in its incoming DRS

plus the information contributed by that part of the discourse itself In the simplest

case consider a prop er noun A constraint can b e written showing the relationship

b etween the incoming and outgoing DRSs

SS S DRSOutS

A AType

DRT IN ASTL

A A accessibleXTYPE

DRSIn

D D namedXN

SS S catSProperNoun

S useofSN

S semSX

S typeSTYPE

S DRSInS

A AType

DRSIn

That is we add the DRS condition named for that prop er noun The output DRS is

dened to b e an extension of the input DRS The output is the type of the input via

the variable DRSIn plus the new fact ab out the prop er noun Secondly we have also

added the discourse marker for the prop er noun to the outgoing accessibility situation

stating that that prop er noun is available as an antecedent

Consider the discourse Hanako sings Taro dances Particularly consider the ut

terance situation representing Taro the incoming DRS would b e transformed as

follows

DRSIn DRSOut

P

P

P

P

; Taro ;

nameHHanako

namedHHanako

singH

singH

namedTTaro

Information is monotonically increasing in DRSs as we traverse along a thread Note

that we do not mo dify the incoming DRS but sp ecify a new DRS with the type of the

incoming DRS plus information that may b e added at that p oint

We also have the condition that any argument or relation that app ears in a DRS

condition must b e related to some utterance situation by the relation sem previously in

the thread The consequence of this is that arguments are threaded b efore predicates

even though they may syntactically app ear in a dierent order Thus ob ject noun

phrases must b e threaded b efore the predicate

Although the DRT description in Johnson Klein also includes a notion of threa

ding the description given here is a little dierent We have tried to abstract the notion

of threading such that we have thread relations indep endent of the representation of

DRSs DRSs are dened in terms of threading but the threads exist without the DRSs

In Johnson Klein each syntactic comp onent also consists of an incoming DRS

and outgoing DRS but the basic threads still directly follow through the syntactic

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

structure in a depthrst lefttoright manner This is not the case here although we

do hold threading information on each syntactic comp onent ab out its constituents

the tin relation itself denes a structure indep endent of the syntactic one It could

b e said that here we thread the threads

Unfortunately threading is not quite as simple as is describ ed ab ove When only simple

verbs prop er nouns and pronouns o ccur there exists only one simple thread through

all the utterance situations But with the introduction of quantiers the threading

must b e a little more complex There is a third form of structural relation apart

from daughter and tin Each determiner utterance situation app ears in exactly one

rangerelation and one bodyrelation The second argument of each of these relations

is an utterance situation that do es not app ear as a rst argument to any tinrelation

ie they are ends of subthreads The relationship b etween the outgoing and incoming

DRSs related to a determiner utterance situation is that the outgoing DRS includes the

incoming DRS plus the information from the subthreads In the case of the determiner

every we have the following relation

SS S DRSOutS

Access

DRSIn

DS DS everyRangeDRS

BodyDRS

SS S catSDeterminer

S DRSInSAccessDRSIn

S semSevery

TSTS TS bodySBody

S S DRSOutSABodyDRS

TS rangeSRange

S S DRSOutSARangeDRS

That is we add an every condition to the outgoing DRS whose arguments are the out

going DRSs of the utterance situations related by the relations range and body Note

that the incoming accessible markers are simply passed forward unchanged as markers

introduced within the scop e of the everyrelation are not available for pronominal

reference

The indenite article is actually easier no subDRSs need b e created The following

constraint captures the relationship In the indenite case the outgoing DRS consists

of the incoming DRS plus the outgoing DRSs of the range subthread and of the

b o dy subthread The accessible markers from the end of the range subthread are

passed on out of the determiner utterance situation b ecause unlike the every case

markers introduced within the scop e of the indenite are available for future pronominal

reference

SS S DRSOutS

DRT IN ASTL

Access

DRSIn DRSRange DRSBody

SS S catSDeterminer

S DRSInSADRSIn

S semSsome

TTS TS bodySBody

S S DRSOutS

ADRSBody

TTS TS rangeSRange

S S DRSOutS

AccessDRSRange

However what is actually done in the description here as shown fully in App endix A

is that the b eginning of the b o dy subthread is threaded to the end of the range sub

thread and the b eginning of the range subthread is threaded to the incoming thread

of the determiner itself This means the following simpler constraint achieves the same

result

SS S DRSOutSAccessDRSOut

SS S catSDeterminer

S semSsome

TTS TS bodySBody

S S DRSOutS

AccessDRSOut

As it is not completely clear from the ab ove examples how the syntactic structure

relates to the threaded structure a few simple but detailed examples are given

Below is an annotated syntactic tree for Every man likes Hanako showing the threa

ding relation The tin relation is shown as b old arrows

-



S -





H

H



H

H 





H



H



H

H 



- -

  



NP VP





 



   







- -



   

D N V NP

every

man

likes Hanako

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

In addition DS the discourse start situation is threaded to D N and NP The main

discourse thread will go through D There are two other threads ending at NP and S

D will b e related to NP by the relation range and to S by the relation body

That is there are three threads in this discourse The main thread go es from the

previous utterance in the discourse through the determiner every and on to the

next utterance Two subthreads also exist dealing with the range and b o dy of the

determiner DRSs are dened with resp ect to these threading relations Abstractly

the DRS progression through these threads can b e shown as

D

D

D

D

D D

D

every

D

every

namedYHanako

manX

likeXY

D D D

D D D

man NP

manX manX

and nally the b o dy subthread

D

D D

D

D D

Hanako likes VP

namedYHanako

namedYHanako

likeXY

D D

D D

S

namedYHanako namedYHanako

likeXY likeXY

The obvious question is how come the outgoing DRS of the sentence utterance situation

do es not contain any information ab out the determiner The next section describ es how

these threads are built and the exact relationships b etween each utterance situation

DRT IN ASTL

Constructing the threading information

The threading structure is dened with resp ect to the syntactic structure such that the

grammar rules include constraints ab out how the utterance situations can b e threaded

Each utterance situation is related to a threads situation which holds the facts that

are sp ecic to threading Note that a tinrelation for a particular utterance situation

may not b e lo cally determined and hence the tinrelation for a particular utterance

may not b e in the threads situation for that utterance or even in the utterance

situation immediately dominating it For example the incoming thread for a sub ject

prop er noun will b e some utterance situation in the previous sentence The tin

relation for that prop er noun will b e determined somewhere further up the syntactic

hierarchy Thus there will b e a number of thread situations around and any one

of them may contain the tinrelation for a particular utterance but the conditions

stated ab ove for these relations will still b e trueonly one incoming thread for each

utterance situation

In addition to the actual threading information there are other relations supp orted

by thread situations The body and range relations are used to relate determiner

utterance situations to their subthreads Also there are a number of relations which are

used in the construction of the tin relations Facts with any of the relations tout

or tneed may also app ear in threads situation All utterance situations thread

situation will contain a tout and tneed relation The tout relation identies an

utterance situation which is syntactically dominated by the current utterance situation

This toutsituation is the last situation in the thread in that subtree The tneed

relation identies the utterance situation that requires an incoming thread This is

b est illustrated by lo oking at the information in the threading situation related to a

sentence utterance situation for the sentence Hanako sings

SIT

catSITsentence

semSIT RA

daughterSITSITNP

daughterSITSITVP

TS

toutSITSIT threadsSIT

tneedSITSITNP

That is the tneed of the sentence utterance situation the situation that needs a

thread is the prop er noun and the output the situation that is to b e threaded to the

next part of the discourse is the sentence utterance situation itself In the case of a

sentence containing a quantier the threading is dierent In the case of every man

walks the tout and tneed of the sentence is the determiner as it is that utterance

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

which adds the single condition with relation every to the DRS That is the main

discourse thread go es through the determiner utterance situation

SS

catSSSentence

DRSInSSS

S

S

DRSOutSS

walkX

TS

toutSSSDET

threadsSS

tneedSSSDET

P

P

P

P

P

P

SVP

SNP

catSVPVerbPhrase

catSNPNounPhrase

ofSVPwalks use

DRSInSNPS

DRSInSVPDRSStart

S

S

S

S

DRSOutSNP

DRSOutSVP

manX

walkX

TNP

TVP

threadsSNP toutSNPSDET

threadsSVP toutSVPSVP

tneedSNPSDET

tneedSVPSVP

SDET SN

catSDETDeterminer catSNNoun

use use ofSDETevery ofSNman

DRSInSDETDRSStart DRSInSNDRSStart

S S

S S

DRSOutSDET DRSOutSN

every manX

TDET TN

threadsSDET threadsSN toutSDETSDET toutSNSN

tneedSDETSDET tneedSNSN

In Johnson Klein they also have a notion of threading A comparison b etween

their implementations may help this description In JK each syntactic comp onent

among other features has in fact two incoming DRSs and two outgoing DRSs They

call them current and super In the astl implementation the standard incoming and

outgoing DRS are analogous to same as JKs current DRSs while tneed and tout

relations exist in some way to capture the information made available in JKs super

Basically where JK pass down the input DRS to an utterance we pass up the ut

terance that requires the input JK and others oer a topdown denition of the

construction algorithm while the astl description is essentially b ottomup The apparent complexity of the threading is directly to do with the fact that the syntac

DRT IN ASTL

tic structure of an utterance do es not closely corresp ond to the semantic structure

particularly in terms of of how quantiers are scop ed The syntactic structure of the

utterance every man likes Hanako can b e written as

S

H

H

H

H

H

H

H

H

NP VP

D N V NP

every

man

likes Hanako

while the logical structure is more like

H

H

H

H

H

H

H

H

x

manx l ik esx H

which puts the quantier no de which is related to the syntactic determiner no de as

the dominating no de As we are building a logical structure which is in essence closer

to the second from the rst we must nd ways to related the no des of one to the other

The threading relation is intended to capture this alternative structure

Pronouns and accessibility

So far our examples have not included any pronouns The basic constraint for a pronoun

is that it can only refer to something that has already app eared in the discourse In

DRT a pronoun introduces a new discourse marker but it also adds a condition relating

this new marker to an already existing accessible marker Accessibility is dened in terms of the incoming DRS and the DRSs of which this may b e a subDRS Because

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

accessible markers are dened in terms of existing markers pronoun referents in DRT

must app ear earlier in the discourse and hence standard denitions of DRT cannot deal

with The basic notion of pronoun use in our astl description can easily b e

captured by the following constraint

SS S DRSoutS

A

DRSIn

DS DS isXY

SS S catSPronoun

S typeSTYPE

S semSX

S DRSInS

AA A accessibleYTYPE

DRSIn

That is we add an isrelation for the two discourse markers one that was introduced

by the pronoun itself and the other some marker of the right type that is accessible

from the current context In DRT the accessibility relation is dened as in Section

ab ove In the astl description each utterance situation in addition to a DRS is related

to an accessibility situation which supp orts facts ab out which discourse markers are

accessible at the p oint in the discourse We can check the accessible situation to nd

candidate antecedents

The accessible situation is added to when any new discourse marker is introduced ie

by a common noun or prop er noun However it should b e noted that the accessible

situation will not just contain the markers that have b een introduced in the current

DRS it will also contain markers from the DRSs which the current DRS is contained

within For example the incoming assignment situation for the utterance situation

representing it is the utterance every man with a donkey likes it will b e

ACC

accessibleXmale

accessibleYneuter

even though the incoming DRS for that utterance situation will b e the null situation

type representing the start of the subDRS that will b e the second argument to the

every relation in the nal representation of the whole sentence

The whole astl DRT description is given in App endix A We can summarize the

description by identifying the following parts

The basic Ro oth fragment provides the syntactic backbone The grammar rules de

ne a syntactic structure over a set of utterance situations using the daughter

OTHER INSTANTIATIONS OF DRT

relation

A set of tin relations dening a threading structure through the same set of ut

terance situations Each utterance situation is related to one incoming thread

Determiner utterance situations are b e related to range and b o dy subthreads

Each utterance situation is related to an incoming DRS and outgoing DRS The

outgoing DRS is dened as the incoming DRS plus information contributed by

that utterance situation The DRSs are dened over the threading relation

Each utterance situation is also related to a situation which supp orts facts ab out

which discourse markers are accessible as p otential referents for pronouns

Each utterance situation is related to an utterance situation by the tout relation

An utterance situations tout situation is either itself or one it syntactically

dominates The outgoing DRS of the tout situation is a representation of the

discourse after that whole syntactic tree has b een pro cessed

We will see in Chapter that the description of dynamic semantics in astl reuses the

same syntactic fragment and threading relation as the DRT description Only the con

straints dealing with the denitions of DRSs and accessibility change This shows that

threading is a worthwhile notion to describ e abstractly unlike other implementations

which only represent it implicitly

Other instantiations of DRT

There are other instantiations of DRT b oth in description and actual implementation

It is worth lo oking at these with a view to comparing them to the astl description

describ ed ab ove

First we will compare the various metho ds of building a DRS from a syntactic structure

In Kamp and Kamp Reyle the construction algorithm works by rewriting

a syntactic tree into a DRS For example we can see how this works in the following

intermediate structure Using the denitions in Kamp Reyle after pro cessing

the sub ject noun phrase in the sentence John owns a Porsche the DRS would b e

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

x

namedxJohn

S

H

H

H

H

x

VP

V NP

owns

D N

a

Porsche

Note how this intermediate structure is not a valid DRS or tree itself but is some

combination of b oth Various rules are dened which rewrite the tree into the DRS

b ox structure

The implementation describ ed in Pinkal is dierent Their implementation treats

seriously the notion of comp ositionality For each syntactic comp onent of a discourse

there is a related DRS ob ject Unlike the astl DRT description that DRS ob ject only

contains information from the parts the no de syntactically dominates In the astl

description the tout DRS will contain information up to that p oint in the discourse

so may contain information from syntactic no des that are not dominated by that no de

but app ear earlier in the discourse The DRS ob jects in Pinkals implementation are

not simple DRSs They are essentially lambda abstractions over DRSs For example

the DRS representation for the noun phrase every man would b e

x

S

) Sx

manx

And for the indenite noun phrase a donkey would b e

y

 P y P

donkeyy

The op erator is used to merge two DRSs Also b eta reduction in this framework is not

quite the same as in the conventional lambda calculus A DRS ob ject may b ecause it is

an abstraction contain unresolved pronouns It is necessary for any reduction function

to check that unresolved pronouns are either appropriately resolved by the reduction or

their conditions are passed up for further reductions A valid DRS for a discourse must

OTHER INSTANTIATIONS OF DRT

have all its pronouns resolved The checking of pronouns and their p ossible resolutions

must also b e part of the denition of the DRS merge op erator The result is that

Pinkals system gives a comp ositional treatment of DRTcompositional in its classic

sense of a semantic representation for each syntactic comp onent a simple comp ose

function alb eit slightly more complex that lambda application and b etareduction

Their ideas of a comp ositional DRT are similar to Zeevat Pinkals system has

many other asp ects it is not solely designed as an example of DRT it is designed as

a general natural language pro cessing system The system are also concerned with

quantier scop e and have added a version of Co op er Storage and an algorithm for

nding p ossible scopings based on Hobbs Shieb er

The third treatment of the construction algorithm in DRT apart from the one presen

ted earlier in this chapter is that describ ed in Johnson Klein As a syntactic

backbone they use a simple DCG Like the astl description JK use the technique of

threadingin fact the Johnson and Klein description was used as a base in designing

the astl description However JK thread dierently from our own description Sp e

cically DRSs are build up as the parse is made from left to right Therefore at certain

p oints in the construction of the DRS the representation at a no de may not b e a valid

DRS in the strict sense For example at the verb no de in an analysis of the utterance

a man likes a donkey the DRS ob ject would b e

x

likexY

manx

where Y is a variable The problem is that b ecause Y is some metavariable rather

than an ob ject within the DRS language itself this structure has no denotation This

in itself may not b e considered a problem but if a formal semantic view is taken this is

an issue It may b e p ossible to recast such free metavariables in structures into some

form of lambda expressionsprobably similar to Pinkals system

This description of others interpretation of the construction algorithm enables us to

lo ok closer at the one used in the astl description In the astl denition given ab ove

all DRSs related to utterance situations either by the DRSIn or DRSOut relation are

valid DRSs They do not contain any metavariables or any form of lambda abstrac

tions At least not as part of their structurediscourse markers are represented by

parameters which could b e considered a form of metavariable but that is considered

dierent This fact could b e a basis for an argument that the description of DRT in

astl is not comp ositional in the strict sense The DRS related to an utterance situa

tion may contain information from b oth what it syntactically dominates and whatever

app ears b efore it in the discourse However this do es not seem to b e wrong The

semantics of an utterance do es naturally seem to dep end on not just its subparts but

also the context it app ears in

Although a basic idea of DRT is that utterances transform some input context to some

output context plus information from that utterance it is not always made explicit in

CHAPTER DISCOURSE REPRESENTATION THEORY AND THREADING

implementations However the JK description do es make this concept more explicit

The astl description of DRT b ecause of its explicit representation of threading also

takes the same viewp oint As we will see in the next chapter on dynamic semantics the

idea of changing context through a discourse is common to b oth DRT and dynamic

semantics and we show how this can b e abstracted from b oth semantic descriptions

and shared b etween them It could b e said that of the three other DRT descriptions

Kamp Reyle Pinkal and Johnson Klein describ ed ab ove JK could

b e said to b e the most dynamic in the dynamic semantic sense b ecause of the idea

of incoming and outgoing DRSs is built in while the astl description is delib erately

even more so

There is also a question of incrementality That is is there a DRS for all initial sub

strings of a discourse With such a strict denition of incrementality on the word level

it has to b e said that DRT in general is not incremental as there cannot b e a DRS

representation for the substring every man without some concept of abstraction over

DRSs However DRT and the implementations discussed here including the astl one

is incremental at the sentence level That is a DRSs exists and can b e calculated for

each initial substring of sentences of a discourse

An imp ortant asp ect of DRT is that it is not only a representation for discourses but

also a mechanism that can build these representations from syntactic parse trees With

resp ect to the construction algorithm it seems necessary for it to b e carried out in a

left to right mannermarkers must b e introduced b efore they can b e referred to by

pronouns This pro cessing asp ect sp ecically the order of pro cessing is eectively

included in the astl description This is not achieved by dening an algorithm or

pro cedure but b ecause of the dep endencies of the constraints used to denition DRT

in astl we have given a declarative denition which requires a left to right ordering

Summary

In this chapter we have describ ed Discourse Representation Theory DRT which of

fers a semantic theory for natural language utterances A simple description is given

followed by a description of how DRT can b e dened within astl The basic repre

sentational ob ject in DRT is the Discourse Representation Structure DRS DRSs

are mo delled as parametric situation types in astl This seems a natural translation

which allows an easy metho d for interpretation of DRSs A system of threading is

detailed which denes a dierent structure over a set of utterance situations Thus

a syntactic structure is dened by the grammar rules though the daughter relation

while threading oers a structure closer to the logical structure of the same utterance

Two DRSs are dened for each utterance situation one an input and the other an ou

tput The output DRS contains the information from the input DRS plus information

added to the discourse by that utterance situation The DRSs are dened on top of

the threading relation which states what order the utterance situations must b e taken

to correctly build the DRS An accessibility condition is also dened allowing for the

same p ossible pronoun resolutions as in conventional DRT

SUMMARY

A comparison of this astl description of DRT and other instantiations of DRT is given

Particularly showing how compositionality is treated in each of the systems Although

the astl description do es not oer strict comp ositionality it do es provide a complete

DRS for each part of the utterance Other asp ects of a situation theoretic treatment

of DRT are also discussed

This chapter shows that astl is not just suitable for describing situation semantic

theories of natural language such as STG as shown in Chapter but also suitable for

describing other theories which at least b efore were considered quite dierent

Chapter

Dynamic Semantics and

Situation Theory

Introduction

In this chapter we discuss dynamic semantics in particular the work of Gro enendijk

and Stokhof on Dynamic Predicate Logic DPL and Dynamic Montague Grammar

DMG Gro enendijk Stokhof b Gro enendijk Stokhof a As an alternative

to the previous two chapters where we have b een lo oking at how to enco de semantic

theories for natural languages in astl here we will at rst b e lo oking at how to

enco de a logic within astl Dynamic Predicate Logic DPL is a simple rst order

logic which displays the basic prop erties of dynamic logics By enco ding it in astl we

will see how its concepts relate to situation theory Later we dene DPLNL which

gives a dynamic semantic treatment for the Ro oth language fragment This description

is used to show the dierences b etween DRT and a dynamic semantic treatment of the

same phenomena

First we will give some background and justication for the work in dynamic semantics

followed by a formal description of Dynamic Predicate Logic DPL We then show

how this logic can b e b est enco ded within astl Next we introduce DPLNL which

oers a dynamic treatment of the same syntactic fragment we used in the previous

chapters DPLNL delib erately reuses basic parts of the DRT description describ ed

in the preceding chapter This leads to some detailed discussion of where DRT and

dynamic treatments dier in comp ositionality and representation

Background and justication

Dynamic Predicate Logic DPL was developed in resp onse to Discourse Represen

tation Theory DRT as an attempt to create a logical theory that approximates

the semantic coverage of DRT Sp ecically DPL aims to b e a compositional and non

BACKGROUND AND JUSTIFICATION

representational theory for the same semantic phenomena covered by DRT We will say

more ab out what is meant by the phrases compositional and nonrepresentational

during this section

The basic intuitions of DPL are based on the work done in the formal semantics

of computer programming languages see Harel The general idea is that an

instruction in a programming language transforms one state assignment of values to

variables to another For example a program fx x g can transform an input

state g to an output state h that diers only from g such that the value of x in h is

larger than the value of x in g

It is this changing of state that is the reason for the term dynamic In this framework

the denotation of a program is a set of pairs of states assignments each of which

are valid inputs and output states for the program

A conventional predicate logic PL treatment of an utterance like A man walks He

1 1

talks would b e xmanx w al k x tal k x The problem with this argued by

Gro enendijk and Stokhof is that there is no simple representation for the rst sentence

A man walks in that the scop e of the quantier extends outside the expression used

to represent that sentence That is the existential quantiers introduced by indenite

noun phrases should not b e closed o at the end of a sentence but extend over the

rest of the discourse to allow for later anaphora The problem is that there is no

simple complete logical expression representing a sentence Thus they argue that the

conventional PL translation of the utterance A man walks He talks as

1 1

xmanx w al k x tal k x

is not as go o d from the comp ositional viewp oint as

xmanx w al k x tal k x

which we will see later is the DPL translation Note that in the second example the

second o ccurrence of x apparently lies outside the scop e of the existential

A second example is with the sentence every man who owns a donkey beats it The

PL translation is

xy manx donk ey y ow nx y beatx y

which is obviously not comp ositional as there is no obvious subexpression which could

b e seen to come from the relative clause who owns a donkey The DPL translation

xf ar mer x y donk ey y ow nx y beatx y

do es oer an apparently more comp ositional analysis However this of course requires

a redenition of the semantics of such expressions

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

It is also argued that although DRT oers a treatment of such sentences particularly

donkeyanaphora without the need for a universal quantier for the translation of the

indenite in the relative clause DRT is still not comp ositional in the Gro enendijk and

Stokhof sense Translations of the ab ove two example utterances in DRT would b e

X

manX

walkX

and

X Y

manX

)

donkeyY beatXY

ownXY

But these also do not contain subexpressions corresp onding to a man and who

owns a donkey resp ectively

Apart from comp ositionality the other explicit goal of DPL is in contrast with DRT

to give a nonrepresentational theory DRT Kamp claims that DRSs are not

just structures generated during the pro cess of analysing discourse but that DRSs are

structures that are psychologically real in human cognitive pro cessing terms and hence

are necessary in such an analysis DRSs are an intermediate representation b etween the

syntactic representation and the actual semantics DPL claims that this intermediate

representation is not necessary though p erhaps useful in an implementation

Denition of DPL

The syntax of DPL is almost the same as that for standard rst order predicate logic It

diers only in the denition of op en and closed formulae The semantics is however very

dierent According to Gro enendijk Stokhof b an expression in DPL denotes a

set of pairs of assignments where an assignment is a function from DPL variables to

individuals

A mo del M for DPL is a pair hD F i where D is a nonempty set of individuals and

F is a function from constants to members of D and predicates to sets of ntuples of

n

D If is a constant then F D If is a nplace predicate then F D An

assignment g is a function from variables to individual s g x D t g t if t is g

DPL IN ASTL

a variable and t F t if t is a constant We will write k xg to mean that k and

g

g are assignments where k diers from g only in that k sp ecies an assignment for x

to some individual in D

We can now dene the semantics of terms in DPL

Rt t fhg hi j h g h t t i F Rg

1 n 1 h n h

fhg hi j h g k hg k i g

fhg hi j k hg k i hk hi g

fhg hi j h g k hg k i hg k i g

fhg hi j h g k hg k i j hk j i g

x fhg hi j k k xg hk hi g

x fhg hi j h g k k xg m hk mi g

Although not immediately obvious from the denition ab ove the semantics do es allow

expressions like

xmanx w al k x

to have the desired treatment where the second o ccurrence of x do es in fact lie within

the scop e of the existential Assignments are eectively threaded through an expression

thus the values b ound to variables within the syntactic scop e of an existential are still

available later in the analysis The consequences of such a semantics are somewhat

dierent from conventional logics The conventional logical equivalences are no longer

necessarily the same Notably conjunction is no longer commutative

Unlike DRT DPL do es not dene a translation from natural language utterances to

logical form that is there is no construction algorithm It only deals with the logical

form itself Although a natural language gloss is typically given for DPL expressions

no translation algorithm is given from one to the other Also the natural language

glosses already have their pronouns resolved Thus a typical natural language gloss

for a DPL expression would b e

A man walks He talks

1 1

xmanx w al k x tal k x

Admittedly DPL is only the rst step towards a logical treatment of quantication and

anaphora and other extensions have b een discussed Dynamic Intensional Logic DIL

extends DPL to cover a form of intensional logic Dynamic Montague Grammar

DMG Gro enendijk Stokhof a is a ma jor step in the direction of a semantics

and a relation to natural language syntax Some discussion of DMG will b e given later

DPL in astl

There are a number of ways in which DPL could b e translated into astl The rst and most obvious is p erhaps not the b est but some mention of why may b e interesting

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

Given a DPL expression

xmanx w al k x

we could directly translate it into an astl representation of the form

andexistsXmanX

walkX

However this would require denitions of the dynamic logic relations and exists etc

To give a semantics for such relations within astl would rely a lot on the programming

prop erties rather than the logical prop erties of astl As we would like DPL expressions

in astl to have a fairly natural semantics with resp ect to the current semantics of

astl an alternative representation would b e b etter But as the semantics of DPL

is so radically dierent from classical logic semantics and even situation theory it

seems we cannot have b oth a natural translation for DPL expressions into astl and a

natural semantics Therefore instead of representing the DPL expressions themselves

in astl we can represent the metalanguage description of the expressions In the

previous section we gave the semantics for DPL expressions The language used to

describ e the semantics is not dynamic but closer to the semantics of classical logic and

astl Therefore we can give a representation for DPL expressions in astl but not as

the expressions themselves but as the metalanguage equivalent thus giving a relatively

easy translation and allowing for a more natural interpretation of the result

The technique however requires a more complex representation of a DPL expression

As well as predicates constants variables and logical op erators we must also give a

representation for assignment ob jects used in giving the semantics of DPL expressions

Assignments

The denotation of a DPL expression is a set of pairs of assignments An assignment

consists of a function from DPL variables to ob jects in the DPL mo del In astl we will

represent DPL variables as parameters The assignments themselves will b e represented

as facts b etween parameters and individuals held in an assignment situation This type

of situation has obvious similarities to the anchoring environments that were introduced

in the STG description in Section Here we will dier from the Gro enendijk and

Stokhof semantics Because we do not have a reasonable notation for representing sets

of pairs of assignments we will make the denotation a pair of sets of assignments This

is dierent but the dierence is not imp ortant with resp ect to the dynamic asp ects of

the theory Eectively we will thread sets of assignments through a DPL expression

reducing the set as we advance through the expression An assignment is represented

by a situation while a set of assignments is represented by a situation type Each

term in a DPL expression will b e related to an incoming set of assignments and a set

of outgoing assignments The relation b etween these dep ends on the meaning of the

DPL IN ASTL

term Note that although this is not explicitly stated in DPL the sets of assignments

are monotonically decreasing as we progress through the expression We will still

refer to the DPL semantics and the input and output assignments in the rst order

representations typically g and h it should b e seen that there is a close relationship

b etween these two denotations

Lo oking at the semantics of DPL expressions more closely we nd that it is not just the

simple assignment of a DPL variable to an ob ject that is imp ortant in an assignment

function There are also conditions on what the assignment is to The semantics of

predicate terms and existentially quantied terms is dened as

Rt t fhg hi j h g h t t i F Rg

1 n 1 h n h

x fhg hi j k k xg hk hi g

Given the following DPL expression

xmanx

The denotation in DPL of this expression would b e a set of pairs of assignments of

the form hg hi where the output assignment h would b elong to

fh j h x i F mang

h

That is the assignment function assigns x to something that is a man This last

condition is something which must also b e mo delled in the astl representation There

are a number of ways to add such a restriction in situation theory A basic astl

representation of h might b e we are really sp ecifying a representation for all p ossible

hs

S S assignedX

This is the type of any assignment function h All we can really say ab out such an

assignment function is that the DPL variable X is assigned though at present we do

not know what to But the semantics also requires us to place restrictions on what X is

assigned to It is of course p ossible to infer from the ab ove type that there must exist

some ob ject that X is assigned to so we could expand this to b e

S S assignXA

S assignedX

We now need a way to restrict what A is although at this stage we will avoid saying

what sort of astl ob ject A is There are a number of ways to represent restrictions

One way that has b een used in other nonastl situation theoretic descriptions is as

in Gawron Peters the use of restricted parameters Here the A is typed

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

A j assig n X A

manA

In EKN there is also a notation for restrictions on parameters In EKN the ab ove

would b e written as

A

S

assignXA

manA

All of these require some conditions ab out where ie in which situation the restriction

is required

In astl there are a number of ways to achieve this restriction If we had some form of

abstraction as outlined in Section and allowed typing of ob jects not dened in

the abstraction extension we might wish to write something like

AS S assignX

AB T manB

That is we add a type to A stating that it must b e a man in some situation T Although

this lo oks as if it might b e reasonable some denition of situation T is also necessary

Another similar technique which has b een used in Co op er is the introduction of

an explicit restriction situation Thus we would have our assignment plus conditions

in the sp ecial Restrictions situation

AS S assignXA

RestrictionsS S manA

This also seems reasonable but we would need to relate each assignment situation

to its relevant restriction situation in order to ensure that the parameter A in A is

necessarily the same as the A in Restrictions Alternatively we would have to allow

the restriction to apply everywhere in the description which may not b e what is wished

The problem with all of these representations is that they require an explicit reference

to what X is assigned to when we do not really know what that is Therefore what we

will do here is merely state that the variable is assigned that is

S S assignedX

Then in order to imp ose restrictions we will do so on the variable assuming that

restrictions apply under the same assignment function thus DPL variables will b e

anchored to their values Thus the assignment under discussion will b e represented as

DPL IN ASTL

S S assignedX

S manX

That is in an assignment function of this type X is assigned but also with resp ect to

whatever X is assigned to there is a restriction that the assignment is to something

that is a man We are using X is a slightly dierent way in each fact In the assigned

relation the parameter is in some way quoted while in the restriction itself we wish the

X to b e anchored to whatever X has b een assigned to

The ab ove sp ecies a basic type of assignment but we can state more based on this

type The ab ove is a type of assignment which would act as the representation of the

p ossible output assignments for the DPL expression xmanx Of course we can

stipulate constraints on assignments Any actual assignment function which supp orts

the fact that a DPL variable is assigned will also supp ort an assign fact actually

relating the variable to its assignment

S S S assignXX

S S S assignedX

Second we must state that the general restrictions in an assignment function are with

resp ect to its own variable assignments Therefore the describ ed situation that would

b e related to a situation representing the utterance A man walks would b e captured

b e the following constraint

D S S manY

S walksY

S S S describedSD

S AssignmentS

A T T manX

T walkX

T assignXY

T assignedX

That is we are reducing the restrictions with resp ect to the assignments At this p oint

it is worth noting the similarities here b etween assignment functions and the anchoring

environments discussed in the STG description in Section Assignment functions

assign parameters to ob jects in exactly the way anchoring do es But the inclusion of

the restrictions make assignments more like a combination of anchoring environments

and the parametric fact used in the semantic translation in STG Of course assignment

functions also have close similarities with DRSs which we will discuss later

In addition to simple assignfacts and restrictions we will also need a forall relation

which will b e explained b elow Formally we also need an exists to o but this is actually

unnecessary as we can achieve the same treatment without it Because of the semantics

of types in astl there is eectively an implicit existential b efore each fact

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

DPL expressions in astl

Note that as well as a representation for the semantics of a DPL expressions we would

like to oer a treatment of DPL syntax within astl Unlike the other descriptions in

the two previous chapters this time we are not dealing with a natural language but an

articial language namely DPL DPL has its own syntax and we can write grammar

rules in astl which dene that languages syntax The grammar rules are simple but it

is interesting that the syntax of logics typically is not written in the same explicit way

as grammar for natural language fragments Syntax trees for a logical expressions will

often mark op erators on mother no des rather than give them their own preterminal

no de The grammar for DPL is an astl grammar based on the following context free

grammar

w w and w

w w or w

w w implies w

w exists v ar w

w forall v ar w

w pr edicate

For the sake of simplicity we will only allow predicates with one argument walk talk

sing etc and treat them as lexical forms An astl grammar rule for one of the ab ove

rules would b e of the form

S S S wffS

S termSconj

S conjunctSC

S conjunctSC

C S S wffS

S S terminalSand

C S S wffS

Each of the ab ove context free rules are translated like the ab ove An example syntactic

parse of the DPL expression

xmanx is as b elow

DPL IN ASTL

SIT

wffSIT

termSITexists

varSITX

SIT

wffSIT

scopeSIT terminalSITpred

argSITA

semSITman

Here we relate each w situation to two assignment types by the relations AssignIn

and AssignOut We can dene constraints b etween the input and output assignments

related to a w situation with resp ect to the semantic denitions of DPL expressions

For the case of predicate terms the DPL semantics is dened as

Rx fhg hi j h g h x i F Rg

h

The corresp onding astl constraint is

S S S AssignOutS

Ain

T T RelArg

S S S terminalSpred

S semSRel

S argSArg

S AssignInSAin

Here the output assignment carries forward the type of the input assignment plus

the restriction contributed by the predicate itself Again we can see similarities with

the constraints used in the denitions of DRSs as describ ed in the previous chapter

Though p erhaps we should say that the DRSs denitions are similar to dynamic logic

rather than the reverse The ab ove constraint follows the basic concept of dynamic

logic in that the expression transforms its input state to a new output state

The types will b e monotonically increasing through the expression Thus the set of

assignment situations that are of this type will decrease through the expression

Let us lo ok at a detailed example to see how the type of the assignment function is

built up We will lo ok at the DPL expression xmanx w al k x which might b e

used to represent the natural language utterance a man walks

For the sake of argument we will state that the incoming assignment to this expression

is unconstrained ie eectively any assignment function The type of which can b e represented as

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

A

A

To b e p edantic we could state that it supp orts the fact that it is an assignment function

as in

A

A

assignmentfunctionA

thus excluding any random situation as an input but for the sake of space we will just

start with an empty type The DPL semantics for the top level conjunction is

fhg hi j k hg k i hk hi g

Thus the input to the top level expression b ecomes the input to the rst conjunct The

semantics for the rst conjunct is

x fhg hi j k k xg hk hi g

This time the constraints for the assignments are a little more complex First from

the denition we see that k is the input assignment for the subterm It is the input

assignment to the existential term plus the fact that X is assigned This is captured by

the astl constraint

T S S AssignInSG

T T assignedY

S S S termSexists

S AssignInSG

S scopeST

S varSY

So the input assignment k to the subexpression would b e

A

A assignedX

DPL IN ASTL

The term manx uses the constraint for predicates shown ab ove The output assign

ment for that expression will b e the combined type of the incoming type plus the type

for the restriction introduced by the predicate

A T

A T

assignedX manX

which is reduced to

A

A

manX

assignedX

The output assignment for the expression xmanx is the same as output from the

subexpression which is captured by the constraint

S S S AssignOutSH

S S S termSexists

S scopeS

Scope

T T AssignOutScopeH

The output to this conjunct also acts as the input to the second conjunct w al k x

which in turn gives an output via the predicate constraint

A

A

walkX

manX

assignedX

The ab ove is a simple example but clearly shows the dynamic asp ect of the theory

The astl constraints are designed to directly reect the semantics of DPL expressions

The assignments are extended through the expression Particularly the threading of

assignments through the expression allows DPL variables to b e referenced outside the apparent scop e of the existential quantier that introduced them

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

We will now lo ok at a second example involving the universal quantier which re

quires us to use slightly more complex restrictions in assignments The example is

xmanx w al k x which is a translation of the utterance Every man walks

As b efore the initial incoming assignment will b e the empty type

A

A

The semantics of the top level expression is stated as

x fhg hi j h g k k xg m hk mi g

The rst stage is that the initial input assignment is extended to state that X is assigned

and that new assignment k is passed to the subexpression The astl constraint

that reects this is

T S S AssignInS T T assignedY

T oftypeTG

S S S termSforall

S AssignInSG

S scopeST

S varSY

The application of this to our initial empty assignment for this example would pro duce

A

A

assignedX

A

A

oftypeA

An imp ortant extra relation is used here oftype Although it might have b e thought

that the type of input assignment to the subexpression could b e a simple extension of

the overall incoming type this is not the case If we have a discourse A man walks

Every woman likes a donkey the incoming type to the quantied sentence would b e

DPL IN ASTL

A

A

walkX

manX

assignedX

By simple extension the incoming assignment to the quantied subexpression would

b e

A

A

assignedY

walkX

manX

assignedX

Thus we would have no distinction b etween variables introduced by the quantier and

existential variables introduced earlier in the discourse Therefore is it crucial to mark

the b oundary b etween the two parts of the type It is imp ortant to quantify only over

the changes to the incoming assignment not the whole assignment Thus we have

A

A

assignedY

A

A

oftypeA walkX

manX

assignedX

All assignment functions that are of this type are also of the type

A

A

assignedY

walkX

manX assignedX

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

We partition the type so that we can identify which assignments must b e quantied

over universally and which the ones within the type related by oftype which must

merely b e treated existentially

Returning to our example the next level of expression is an implication The DPL

semantic denition is

fhg hi j h g k hg k i j hk j i g

We continue feeding assignments through the translation as shown ab ove The inte

resting asp ect is lo oking at the output assignment for the whole implication expression

Trivially it is the same as the input expression as h g but that ignores the internal

condition As we are includin g restrictions in assignments as well as the actual assign

ment of variables themselves although it is true that no assignment of DPL variables

is passed out of this expression there is a condition on the internals of the implication

Thus the output assignment for the implication expression will b e the conjunction of

the input assignment plus a condition for the implication itself

A

A

assignedX

oftypeAA

DPL IN ASTL

A

A

A

A

manX

A

forall

A

oftypeA

assignedX

oftypeAA

A

A

walkX

manX

A

A

oftypeA

assignedX

oftypeAA which can b e reduced to form a single type

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

A

A

A

A

manX

A

forall

A

oftypeA

assignedX

oftypeAA

A

A

walkX

manX

A

A

oftypeA

assignedX

oftypeAA

assignedX

oftypeAA

Returning to our analysis of xmanx w al k x the output of the whole expression

is the dened to b e the same as the input plus the condition for the subexpression Thus the nal output type is

DPL IN ASTL

A

A

A

A

forall

assignedX

oftypeAA

A

A

A

A

manX

A

forall

A

oftypeA

assignedX

oftypeAA

A

A

walkX

manX

A

A

oftypeA

assignedX

oftypeAA

assignedX

oftypeAA

This nal output assignment is achieved by the following astl constraint

S S S AssignOutS

G

T T forallKM

S S S termSforall

S scopeS

Scope

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

T T AssignOutScopeM

T AssignInScopeK

S AssignInSG

Putting the syntactic treatment and semantic denition of assignments together we

can now parse DPL expressions and have assignments related to each term in the

expression The following examples show the term situation for complete sentences of

DPL Sp ecicall y the output assignment type contains the information necessary to

infer the type of the describ ed situation

exists x manx

SIT

catSITsentence

A

A

AssignInSIT

A

A

AssignOutSIT

manX

assignedX

forall x manx

DPL IN ASTL

SIT

catSITsentence

A

A

AssignInSIT

A

A

A

A

forall

assignedX

oftypeAA

AssignOutSIT

A

A

manX

assignedX

oftypeAA

We now require a constraint to state the relationship b etween an assignment supp orting

a forallfact and the describ ed situation ie the mo del The following constraints

state such a relationship for the example ab ove

S S S dplassignmentS

A AE AE assignXX

S S

S describedS

DS D D manX

S AssignOutS

P P

forall

P P assignedX

P oftypePP

P P walkX

P manX

P assignedX

P oftypePP

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

DS DS DS walkX

S S S describedS

DS D D manX

S dplassignmentS

A AE AE assignXX

S AssignOutS

P P

forall

P P assignedX

P oftypePP

P P walkX

P manX

P assignedX

P oftypePP

Notice how the ab ove constraints compare with the constraints concerned with the

relation every for DRSs on page They are eectively the same

The threading of assignments through an expression is relatively simple when compared

with the threading in the DRT example in Section b efore it was necessary to build

threads to order the parts of a natural language utterance Here we are dealing with

an articial language which is much b etter b ehaved Threads where assignments

go can b e determined lo cally and usually simply go into the rst daughter of a rule

Outputs are determined by the type of term the no de represents

DPL and natural language

DPL as it is basically dened do es not give a mechanism for translating natural lan

guage utterances into logical forms analogous to the construction algorithm in DRT

However in this section we outline such a translation called DPLNL from a natural

language fragment to a dynamic predicate logic Later work in dynamic semantics

Gro enendijk Stokhof a describ e a more complex form of dynamic semantics

namely Dynamic Montague Grammar for the purp oses of our description and compa

rison with DRT a simpler form is sucient Of course again the translation is for the

Ro oth syntactic fragment introduced in Section

In the DPL and DMG literature typically natural language glosses are given to dy

namic logic expressions For example

A man walks He talks

1 1

xmanx w al k x tal k x

DPL AND NATURAL LANGUAGE

Note that the glosses already contain coindexing of pronouns and their referents as

appropriate In the example presented b elow we will convert utterances without inde

xing into a dynamic form similar to the translation of DPL describ ed in the previous

section

There are at least two ways to do such a translation DPL could b e used as an

intermediate representation b etween natural language and the semantics in this case

assignments The description would then b e required to construct a DPL expression

from the natural language utterance and then rely of something similar to the previous

description to relate it to the describ ed situation A second p ossible treatment and

the route actually taken is to translate directly from the natural language utterance

to the semantic formthreads of assignments

The route of a nonexplicit intermediate representation no direct representation of

DPL expressions could b e argued by Gro enendijk and Stokhof s claim of a non

representational theory although p erhaps some of the advantages of DPL particularly

comp ositionality may b e obscured by this metho d Comp ositionality is prop osed as an

imp ortant asp ect of dynamic logic but the examples mainly deal with intersentential

comp ositionality rather than intrasentential Gro enendijk and Stokhof argue that

conventional semantic treatments of discourses including DRT do not oer simple

subexpressions representing each of the sentences in the discourse Consider the fol

lowing discourse

A man talks He walks

1 1

In simple rst order logic would have a translation as

xmanx w al k x tal k x

while the DPL translation is

xmanx w al k x tal k x

Imp ortantly the DPL translation do es have a simple subexpression which represents

each sentence while the rst order one do es not without the addition of something

like lambda abstractions This fact should make natural language treatments in DPL

easier to sp ecify Unfortunately this comp ositionality do es not always hold within

sentences Particularly there is no DPL subexpression which directly represents the

subsentential phrase a man The consequence of this is that the translation from

utterance to DPL is not as simple as would b e hop ed but by no means imp ossible

Each utterance situation in the analysis of a natural language phrase will b e related

to an input and output assignment type Assignments are dened in the same form

as describ ed in Section ab ove Before the details are given the following example

will help to show what the desired treatment is The analysis for a man walks is

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

SIT

catSITsentence

A

A

AssignInSIT

A

A

AssignOutSIT walkX

manX

assignedX

The output assignment is exactly as it would b e for the astl DPL treatment of the

expression xmanx w al k x

Note that we will b e treating the sentence A man walks as xmanx w al k x

rather than xmanx w al k x This is a consequence of the threading relations

which are themselves a consequence of the way we wish to deal with DRT The die

rence is not signicant but we choose the existential to scop e over the whole sentence

so the treatment can b e as similar as p ossible to the DRT one Of course the dynamic

asp ects are still illustrated by intersentential anaphora

The DPLNL description is built directly using parts of the DRT description First

it uses exactly the same syntactic grammar the Ro oth fragment Secondly it uses

the same threading relations Syntactic utterance situations are threaded by the same

conditions as DRT description given in Section The part that do es change is

the removal of the constraints dening the relationship b etween incoming and outgoing

DRSs and the denition of accessibility situations In DPLNL the semantics is dened

by types of assignment which are dened over the threading relations

Each utterance situation is related to an incoming and outgoing assignment type

The output assignment is the input assignment plus information contributed by the

semantics of the utterance situation itself For example the output assignment of the

top no de of a quantied noun phrase is

S S S AssignOutS

AssignIn

DS DS VRVA

DS typeVATYPE

S S S catSNounPhrase

S daughterS

DS DS

DPL AND NATURAL LANGUAGE

DS catDSdeterminer

S daughterS

DS DS

DS catDSnoun

DS typeDSTYPE

DS semDSRA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

S AssignInSAssignIn

That is the input assignment type is extended with two conditions One from the

relation introduced by the head noun related to whatever the argument is assigned to

The second fact identies the type of the noun male female or neuter used in nding

pronoun referents

The constraint for the indenite determiner utterance situation shows how the trans

lation to the dynamic existential quantier is treated The output of the utterance

that introduces the existential is the output assignment from the thread it scop es over

ie the DPL subexpression As the subexpression already includes the information

that was an input to that utterance it do es not need to b e combined with the input

assignment

S S S AssignOutSBodyOut

S S S catSDeterminer

S semSQXYZ

S envSSEnv

Env Env anchorQsome

T TS TS tbodySBody

S S AssignOutSBodyOut

S S S AssignMidS

G

A A assignedX

S S S catSDeterminer

S semSQXYZ

S envSSEnv

Env Env anchorQsome

S AssignInSG

S indSI

The second constraint creates the intermediate assignment which introduces the fact

that the DPL variable is assigned The assignment related by AssignMid is threaded

into the start of the subexpression that this quanties over

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

The third example shows the constraint for the universal determiner This again

requires the use AssignMid as ab ove but this time the we must introduce the oftype

relation

S S S AssignMidS

A A assignedX

A oftypeAG

S S S catSDeterminer

S semSQXYZ

S envSSEnv

Env Env anchorQevery

S AssignInSG

S indSI

This time we will use the relation every rather than the forall relation we used in the

DPL translation given in the previous section Every can b e viewed as an abbreviation

for two forall relations In the previous section we translated xmanx w al k x as

DPL AND NATURAL LANGUAGE

A

A

A

A

forall

assignedX

A

A

A

A

manX

A

forall

A

oftypeA

assignedX

A

A

walkX

manX

A

A

oftypeA

assignedX

while using every we abbreviate the ab ove to

A

A

A

A

A

A

every

walkX

manX

manX

assignedX

assignedX

thus we have reduced one level of quantier This is justied by the fact that quantier

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

representing the natural language word every has the more sp ecic semantics x

rather that x This also of course makes the relation more similar to the DRT

every relation

The constraint for the every determiner no de in an utterance is

S S S AssignOutS

AssignIn

DS DS everyRangeAssign

BodyAssign

S S S catSDeterminer

S semSQXYZ

S AssignInSAssignIn

S envSSEnv

Env Env anchorQevery

T TS TS tbodySBody

S S AssignOutS

BodyAssign

T TS TS trangeSRange

S S AssignOutS

RangeAssign

Prop er nouns will b e treated as a form of existential quantier That is they introduce

a new DPL variable and assign it to a DPL individual that denotes the named ob ject

The constraint for a prop er noun utterance situation is

S S S AssignoutS

AssignIn

A A namedXName

A typeXTYPE

A assignedX

S S S catSProperNoun

S useofSName

S typeSTYPE

S semSX

S AssignInSAssignIn

This treatment means that wrongly prop er nouns are not available for pronominal

reference outside the scop e of a universal quantier this is true for the original DPL

and DMG descriptions not just of our astl description Some more general treat

ment of prop er nouns should b e given where once introduced they may b e referenced

anywhere

The last interesting asp ect of the DPLNL description that we will discuss is the

treatment of pronouns As coindexing of pronouns and their antecedents is marked

DPL AND NATURAL LANGUAGE

in DPL natural language glosses the treatment of pronoun resolution is not actually

discussed within DPL we could just accept the DPL treatment and lab el our pronouns

and noun phrases but this would require a dierent grammar or at least dierent

lexical entries from the one used in the DRT and STG description Here we will try

to include a metho d for selecting p ossible referents for pronouns

In this description pronouns introduce new DPL variables which are related to suitable

DPL variable referents In the following constraint we add to the outgoing assignment

a new DPL variable and add the condition that it ie its denotation is the same as

some accessible referent of the appropriate type

S S S AssignOutSAssignIn

A A assignedX

A isXZ

S S S catSPronoun

S typeSTYPE

S semSX

S AssignInSAssignIn

S AccessibleS

Acc A A typeZTYPE

A accessibleZ

TYPE will b e one of male female or neuter The type of the situation related by

the Accessible relation is that of the incoming assignment

S S S AccessibleSAcc AssignIn

S S S AssignInSAssignIn

The imp ortant denition is that those items that are assigned in the incoming assign

ment are exactly those that are accessible as referents This is captured by

S S S accessibleX

S S S assignedX

The whole DPLNL description gives a dynamic semantics for the Ro oth fragment

the full description is given in App endix A As stated ab ove the description is based

on much of the same description as the DRT description only the denitions of DRSs

and accessibility situations have b een replaced with denitions for assignments

The following examples show the output assignments for simple discourses

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

A man walks He talks

SIT

catSITfulldiscourse

P

P

talkPN

isPNE

AssignOutSIT assignedPN

walkE

manE

typeEmale

assignedE

E is the DPL variable introduced by the existential PN is the variable introduced by

the pronoun it

Every man with a donkey likes it

SIT

catSITfulldiscourse

AssignOutSIT

P

P

P

P

P

P

likeAPN

isPNE

withAE

assignedPN

donkeyE

withAE

typeEneuter

every

donkeyE

assignedE

typeEneuter

manA

assignedE

typeAmale

manA

assignedA

typeAmale

oftypePP

assignedA

oftypePP

In this example the main restriction is over two assignments The interpretation sta

tes that for all ways that the rst assignment can b e made true with an anchoring

DPL AND NATURAL LANGUAGE

environment there must b e an extension of that anchoring that makes the second ar

gument true Notice that the full contents of the rst type with parameter P are

contained within the second P This is b ecause the type was formed as an extension

of the rst This means that assignments contain a history of assignrelations and

restrictions Three DPL variables are introduced A from the universal E from the

existential and PN from the pronoun it

The DPLNL description is interesting as it provides a dynamic semantics for a sim

ple natural language fragment showing how such a translation can b e made from an

utterance to assignments There is no explicit representation of the dynamic logic

expression itself only the rst order representation of the semantics of the DPL ex

pression

Although in the original work on DPL Gro enendijk Stokhof b no translation

from natural language to DPL is given there has b een other work which attempts to do

this In Lewin a similar translation to the one ab ove is given That translation is

not given in terms of situation theory but the similarities to the one here are obvious

One dierence is that Lewin gives a b etter treatment of prop er nouns such that they

have scop e over the whole discourse unlike the restrictive treatment given here

The ab ove translation is for Dynamic Predicate Logic Gro enendijk Stokhof a in

tro duces a more complex dynamic logicDynamic Montague Grammar DMG DMG

is the application of Dynamic Intensional Logic to a natural language grammar to give

meanings for utterances The use of lambda abstraction increases the descriptive p ower

signicantly and allows for a level of comp ositional treatment within natural language

sentences that is not available in DPL

The essential dierences in DMG are how the semantics of a sentence and hence a

discourse are treated and the introduction of the sense of state Again like DPL the

basic concept in DMG is that the semantics of an utterance transforms a state to a new

state The basic representation of a natural language utterance with one existential

can b e summarised as

P P

where is a dynamic conjunction op erator and hence succeeding sentences can refer

to existentials introduced in But the whole discourse must b e applied to tr ue in

order to interpret it This is not the whole story The denotation of a sentence is with

resp ect to the current state which assigns values to discourse markers Gro enendijk

and Stokhof distinguish two types of variables discourse markers and conventional

variables and justify why this distinction is required The idea is that the bindings of

discourse markers are available outside the normal scop e of certain existentials

Beaver gives a reformulation of DMG which in turn has b een given a situation

theoretic description in Beaver et al where a translation of DMG is given in EKN

Extended Kamp Notation The result dep ends crucially on the use of lambda ab straction and application in situation theoretic terms these are abstraction anchoring

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

and reduction We could reformulate this description in astl but only if we include

general abstraction and a b etter form of reduction see Section

The dierence b etween DPLNL and a treatment of DMG in astl is primarily in

p ower DMG is a far more complex logic than what DPLNL is based on and hence

can provide a translation for a much wider range of utterances However that is

merely matter of scale The second and p erhaps more imp ortant dierence is that

DMG relies heavily on lambda abstraction and hence allows a more comp ositional

treatment of meaning formation The essential characteristic of dynamic logics DPL

and DMG is the notion of an expression changing state Secondly in the case of

natural language utterance interpretation b oth DPL and DMG exhibit the prop erty of

threading discourse markers introduced by existentials through the utterance

Comparison of DPLNL and DRT

It is imp ortant to remember that DPL was delib erately developed to have the same

semantic coverage of DRT so it is not surprising to nd how similar these theories

are Also b ecause the denition of such theories always leaves some asp ects op en to

the interpretation of the implementor there is some freedom in the actual metho d

of implementation Because of this and b ecause it is the general intention of this

work to show similarities b etween theories the DRT description in Chapter and the

description of DPLNL given ab ove lead to very similar representations However there

are some imp ortant dierences which can b e highlighted

First consider the DRT representation and DPLNL representation of the same ut

terance The DRT representation for Every man likes a pizza is

SIT

catSITfulldiscourse

SIT

DRSOutSIT

P

P

P

P

P

P

every

likeMAPA

manMA pizzaPA

COMPARISON OF DPLNL AND DRT

while the DPLNL for the same sentence is

SIT

catSITfulldiscourse

AssignOutSIT

P

P

P

P

P

P likeAE

pizzaE

manA typeEneuter

every

typeAmale assignedE

assignedA manA

oftypePP typeAmale

assignedA

oftypePP

One interesting asp ect of the dynamic translation is that all of the previous condi

tions are held in the assignments Thus the b o dy of the quantier every includes a

history of conditions but in the DRT case we only quantify over the minimal number

of conditions at that p oint In logic terms we can view the DRT case as

while in the DPLNL case we could summarise this as

From an implementation p oint of view although the ab ove two expressions are logically

equivalent the second could b e viewed as requiring more work to evaluate Of course

making valid statements ab out the amount of time it takes to evaluate expressions is

dicult Because it is known that such a relationship exists in the DPLNL repre

sentation we could easily exploit that and optimise the expression at interpretation

time accordingly However it should b e stated that in the direct interpretation of

this dynamic semantic translation it will b e the case that assignments will contain the

full history of the conditions Of course it is arguable that this history is a conse

quence of the representation of assignments but the metho d used here do es not seem

unreasonable

If DPL were extended to deal with generalised quantiers this could b e a problem

Many quantiers have equivalent semantics for the following two expressions

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

Q

Q

but this may b e a problem with the quantier onlythough p erhaps that should

not b e treated as a generalised quantier But even if we ignore only Lewin

Chap who gives a dynamic treatment for generalised quantiers argues that

unruly quantiers notwithstanding the second form ab ove will still cause problems

and hence requires an alternative to the standard dynamic semantic treatment Other

dynamic treatments of generalised quantiers also exist Chiercha

Although this duplication of information may seem a disadvantage it also has a denite

advantage In the DRT representation we explicitly state the accessible markers at

each p oint in the construction This is done by threading the information through

the analysis in a separate situation It is the case that the accessibility situation

will identify all discourse ob jects that are accessible at that p oint in the analysis

That is it will contain the full history of introduced ob jects in the same way as the

DPLNL assignment situationsthough the DRT accessibility situations contain only

accessible relations not all the conditions The dierence is the accessibility situation

in the DRT treatment is not used in the DRS interpretation function only in checking

for pronoun referents and so we do not have extra conditions to check However it is

true that we still have to calculate or trace that information In the case of DPL

NL assignments no extra calculation or denition of accessible ob jects is necessary as

the information is already directly available in the assignment

Gro enendijk and Stokhof argue that DPL has advantages over DRT as DPL is b oth

a compositional and nonrepresentational theory DPLs advantages were displayed by

the fact that the relationship b etween the natural language utterance and the DPL

expression were close and that we could easily map DPL subexpressions to parts of

the utterance For example in

A man walks

xmanx w al k x

there is a DPL subexpressions xmanx for the sub ject noun phrase A man

But in the DRS case there is no subDRS that can easily b e identied with the sub ject

noun phrase

X

A man walks ;

manX

walkX

Because of this mismatch b etween the structure of expressions and the structure of

the utterance Gro enendijk and Stokhof claim that DRT is not comp ositional However when we consider the following utterance

COMPARISON OF DPLNL AND DRT

Every man walks

we already lose this direct relationship as neither the DPL representation or the DRS

one oers subexpressions directly representing subutterances

xmanx w al k x

X

)

manX walksX

So according to Gro enendijk and Stokhof s denition of comp ositionality DPL itself

fails when we lo ok at the universal quantier To b e fair they only really concern

themselves with sentencesentence comp ositionality and not intrasentential But one

of the ob jects of this exercise is to give a uniform treatment for intersentential and

intrasentential anaphora so we cannot simply treat these as dierent issues

In DPLNL the representation itself is not actually DPL but closer to a representation

of the rst order metalanguage that gives the semantics of a DPL statement Therefore

the comp ositionality of expressions is partially lost The representation given has the

same shortcomings as the DRS representation as in the example A man walks He

talks there is no subexpression of the representation directly related to the initial

sentenceunless we discuss the implicit conjunction in types which is also true for

DRSs

SIT

catSITfulldiscourse

P

P

assignedE

manE

AssignOutSIT

maleE

walkE

assignedPN

isPNE

talkPN

In summary the dierences b etween DPLNL and DRT seem only to b e in the infor

mation that is in the assignmentsDRSs The extra information in the assignments is

CHAPTER DYNAMIC SEMANTICS AND SITUATION THEORY

not due to DPL b eing nonrepresentational or comp ositional It would b e p ossible

to give a treatment of DRT which would also carry around this extra information in

the right hand b ox of the relation

The description of DPLNL in astl shows how close the relationship b etween DRT

and dynamic semantics is This admittedly has partly b een delib erate as the DRT

description given in Chapter delib erately emphasizes the dynamic asp ects of that

theory Also the representation of DPL assignments has b een chosen so that they are

very similar to DRSs Such choices in representation although delib erate are not mis

representing the close relationship b etween the two theories They are b oth designed

to describ e the same phenomena and b oth use the same fundamental techniques to

achieve this Because of this closeness we should not view these as opp osing theories

but alternative ways to achieve the same result It should b e p ossible extensions to

either theory to b e adopted by the other

Summary

In this chapter we have describ ed dynamic predicate logic DPL and how such a

logic may b e describ ed in astl Unlike previous chapters which deal with natural

language here we describ e a logic within astl Then we show how a DPL treatment

can b e given to the Ro oth natural language fragment The translation reuses much of

the description used in the previous chapter on DRT showing the similarities b etween

dynamic semantics and DRT Finally a comparison b etween DPLNL the dynamic

semantic treatment of natural language and the astl treatment of DRT is given showing exactly the p oints where the theories dier

Chapter

Extensions

Introduction

We have prop osed situation theory or more particularly astl as a metatheory for

describing general natural language semantic theories We have shown how various

asp ects of contemporary theories can b e enco ded within astl STG DRT and dynamic

semantics Given that these enco dings are in the same system detailed comparisons

are p ossible However as stated in Chapter one of the ultimate goals in this work

is not just to oer a general environment for implementing and comparing theories

which is in itself useful but also to b e able to crossp ollinate ideas and techniques

b etween theories

In this chapter we will extend our DRT description to include event discourse markers

thus allowing pronouns to have sentence antecedents Event discourse markers have

already b een discussed as part of DRT see Partee Kamp Reyle and others

but here we will show how they naturally t into our description using prop erties

which are already part of astl The second example shows how we take the treatment

of pronouns from our DRT description add it to our STG description showing how

techniques can b e reused in what would previously have b een considered dierent

frameworks

The third part of this chapter discusses what extensions to astl itself would b e useful

to allow a wider coverage of treatments found in semantic theories and making existing

descriptions easier

Extending DRT in astl

In this section we will show how a simple extension can b e added to the basic DRT

fragment we describ ed in Chapter This extension is simple and has b een considered

b efore see Glasb ey for a brief history of a treatment of events in DRT but it

shows how we can add to DRT by directly using asp ects available in situation theory

CHAPTER EXTENSIONS

The extension considered here is adding event discourse markers allowing sentence

anaphora The intention is to deal with such examples as

Hanako sees Taro sing Anna sees it too

The imp ortant p oint that we wish to treat is that the referent of it is Taro sings

a sentence rather than a simple noun We will not try to give any treatment for

the word too In order for it to have a sentence referent we need to state that

sentences introduce event discourse markers

It should b e said that the following is not the only way to achieve the desired result

there are other p ossibiliti es but the exercise illustrates how useful and easy astl is in

developing theories In the description of basic DRT we gave in Section discourse

markers are introduced only for nouns Here we wish to add that and introduce di

scourse markers for sentences We will call this new form of discourse marker event

discourse markers Normal discourse markers are in the interpretation of a DRS

b ound to individual s in the mo del while event discourse markers need to b e b ound

to more complex ob jects Within the astl framework we have an obvious candidate

situations Event discourse markers represent situations of a type as dened by some

DRS Event discourse markers will only b e introduced for sentences used as comple

ments rather than all sentences This seems to b e partially linguistically justied but

is primarily done to reduce extra ambiguity which would complicate our description

In this extension to DRT the output DRS for the utterance Hanako sees Taro sing

is

P

P

seeHE

P

P

isoftypeE

singT

namedTTaro

typeTmale

typeEneuter

namedHHanako

typeHfemale

This requires a little explanation First notice that E is a situation name and also an

event discourse marker Notice we sp ecify the type neuter on E so that it may b e

a referent for the genderless pronoun it The sp ecial condition istypeof relates

situation to the DRS a parametric situation type The details of this relation as

describ ed b elow

EXTENDING DRT IN ASTL

To achieve this extension to our simple DRT description we rst have to increase the

syntax of our fragment to allow for sentence complements This is simply done by

adding an extra VP rule We also have to worry ab out the form of the embedded

sentence it has no agreement Such syntactic problems are not imp ortant to this

example and can trivially b e dealt with by adding various features to the utterance

situations

After adding the necessary syntax and threading information we have to add a con

straint for sentence complement utterance situations

S S S DRSOutS

DRSOut DRSIn

DS DS VRVAEDM

DS isoftypeEDMDS

DS typeEDMneuter

S S S catSsentence

S daughterS D

D D catDverbphrase

D daughterDD

D D catDsentence

D threadsDY

TS TS toutDX

T T DRSOutTDS

S DRSInSDRSIn

S semSRAA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

Env anchorAVA

This apparently rather complex constraint states that the DRSOut of a sentence contai

ning an embedded sentence is the input DRS plus a condition ab out the main sentence

This is made from the main verb phrase relation the sub ject argument and an event

discourse marker a situation name We also use the relation isoftype b etween

the event discourse marker and the output DRS of the embedded sentence Thirdly

we have a condition noting the pronominal type of the event discourse marker

In addition to a constraint dealing with the incoming and outgoing DRSs we also need

to make appropriate changes to the accessibility conditions Now that a discourse

marker for the embedded sentence has b een added to the DRS it allows later pronouns

to refer to that event The DRSout for the utterance Hanako sees Taro sing Anna

sees it too is

CHAPTER EXTENSIONS

P

P

seeAPN

isPNE

namedAAnna

typeAfemale

seeHE

P

P

isoftypeE

singT

namedTTaro

typeTmale

typeEneuter

namedHHanako

typeHfemale

Event discourse markers t neatly into the situation theoretic framework however we

do need to add a constraint to say what it means to supp ort an isoftype fact As

with the constraints given on page which describ e how the output DRS relates to

the describ ed situation we need to state how the DRS parametric situation type relates

to the event discourse marker situation For the ab ove example we can capture this

with the following two constraints

AS S anchorTT

SS S DRSOutS

P P isoftypeE

P P singT

P namedTTaro

P typeTmale

S drsanchorSA

E S S singT

S namedTTaro

S maleT

SS S DRSOutS

P P isoftypeE

P P singT

P namedTTaro

P typeTmale

S drsanchorS

PRONOUNS AND SITUATION THEORETIC GRAMMAR

A A anchorTT

This can b e read as for every output DRS with a condition isoftype b etween a

situation e and a DRS d as describ ed ab ove there exists an anchoring for the discourse

marker T such that there exists a situation e which is of the type formed from anchoring

T in d

Of course the ab ove example has b een simplied drastically There are obvious pro

blems esp ecially to do with the fact that ob jects introduced within the embedded

sentence will not b e accessible to pronouns outside that sentence but it is issues like

this which are easy to investigate in astl that make astl a useful to ol in exp erimenting

with semantic theories

Imp ortantly we have not had to increase our ontology within the system to add event

discourse markers to our simple DRT fragment The fact that situations are already

part of our mo del mean that they can easily b e utilised as event discourse markers

Pronouns and Situation Theoretic Grammar

In the work of Situation Theoretic Grammar STG there is no treatment of pronouns

given in the original denition Co op er As stated describing theories within the

framework of astl should allow the crossp ollination of treatments b etween theories

Rather than devise a new treatment for anaphora within STG it would illustrate astls

usefulness more if we could take the treatment of anaphora from our DRT description

given in Chapter and add it to the basic STG description from Chapter In

this section we will do just this

In STG the utterance situation representing the utterance A man walks is related

to a number of semantically relevant ob jects The semantics of the phrase itself is

captured through the relations sem and env The argument to sem is a parametric

fact The parameters are anchored by facts in the environment situation which is an

argument to the relation env Thus the basic form of the utterance situation for A

man walks is

CHAPTER EXTENSIONS

SIT

catSITsentence

tenseSITpres

semSIT QAAA

SIT

anchorWAMA

anchorA walkWA

anchorAMA

anchorA manMA

envSIT

labelQquantifier

anchorQsome

labelAvar

labelArange

labelAbody

In addition to this this situation is also related to a describ ed situation of the form

SIT

P P

P P

someMA

manMA walkMA

We can continue with this basic representation for the semantics of a simple sentence

even when we treat pronouns In order to give a treatment for pronouns we need to

record which p ossible referents are available when a pronoun is used The feature we

must then adopt from our DRT description is the concept of accessibility In the DRT

description each utterance situation in addition to an incoming and outgoing DRS is

also related to an explict incoming and outgoing accessibility situation That situation

supp orts facts ab out all discourse markers which are accessible as pronoun referents at

that p oint in the discourse

In order to give the same treatment for pronouns in STG we need to copy three things

from the DRT description First we need the threading relations tin tbody and

trange and the necessary parts that are used in the construction of these relations

These dene an alternative structure over the utterance situations in a discourse Be

cause the threading relation as discussed in Section is given abstractly from the

DRSs we can talk ab out copying it without also having to copy the threaded DRSs

to o The second feature we need is that of the accessibility situation In the DRT treat

ment we thread DRSs and an accessibility situation through each utterance situation

PRONOUNS AND SITUATION THEORETIC GRAMMAR

Here we need only thread the accessibility situation That is each utterance situation

will b e related to an incoming and outgoing accessibility situation The connection

b etween these will b e dened with repsect to the threading relations The incoming

accessibility situation will come from the outgoing accessibility situation previous in

the thread This can b e stated by the following constraint

SS S AccessInSAccess

TSTS TS tinSS

SS S AccessOutSAccess

We also need to ensure the correct threading at determiner no des in the same way as

we do in the DRT and DPLNL descriptions

In addition to the actual threading every utterance situation for nouns has to add a

marker actually the parameter introduced by the noun to the accessibility situation

This again can b e copied from the DRT description Such a constraint for prop er nouns

would b e

SS S AccessOutS

A AType

A A accessibleXTYPE

SS S catSProperNoun

S useofSN

S semSX

S typeSTYPE

S AccessInS

A AType

Notice as with the DRT treatment we also add typing information for the introduced

marker

The third prop erty we must b orrow from DRT is that of determining the referent of a

pronoun That is when we use a pronoun we wish to nd p ossible referents from the

accessible markers at that p oint in the discourse This can most simply b e achieved

by the following constraint

SS S semSX

SS S catSProNoun

S typeSTYPE

S AccessInS

A T T accessibleXTYPE

CHAPTER EXTENSIONS

That is we nd an accessible marker of the appropriate type male female or neuter

and make that parameter the semantics for the pronoun This of course is a slight

simplication of the DRT treatment of pronouns where a new marker is introduced

which is related to the referent by the relation is In order to get that generality in

our STG description we could introduce an anchor fact in the environment related to

the pronoun utterance situation anchoring the parameter introduced by pronoun to

the referent parameter from the accessibility situation

After we add the ab ove three asp ects from the DRT description to our STG description

we have a simple treatment of pronouns Given the initial sentence A man walks

the outgoing accessibility situation would b e of the form

SIT

accessibleMAmale

If the following sentence in the discourse is He talks the same accessibility situa

tion will b e the incoming accessibility situation to the pronoun utterance situation

Using the constraint ab ove this would make the sem relation in the pronoun utterance

situation

semSMA

The sentence utterance situation for the second sentence would then b e

SIT

catSITsentence

tenseSITpres

semSIT RA

SIT

anchorAMA

labelRpred

envSIT

anchorRtalk

labelAsubj

This is not quite the whole story though We also have another asp ect to deal with

in our STG description In the examples given in Chapter we did not discuss multi

sentential utterances To give the right treatment for the utterance A man walks He

talks it is necessary to ensure that the second sentence falls within the scop e of any toplevel existential quantier introduced in the rst

EXTENDING ASTL

Note that although we copied over DRTs treatment of pronouns to STG the result

is not the same as DRT Even if we ensure succeeding sentences are in the scop e of

existential quantiers STG still do es not provide a reasonable treatment of donkey

anaphora This is due to the way the relation every diers in the DRT description

and the STG description Other extensions would b e required to deal with donkey

anaphora if we wished to cover them

However we have shown that we can adopt a treatment of pronouns from one theory into

another The adoption was eectively done by simply copying a number of constraints

from the DRT description into the STG description and some changes to the basic

grammar rules But lo oking at the original denitions of DRT with its b oxes and STG

with its situation semantic notation it was not obvious that transfering a treatment

from one to the other would b e so simple Astl has help ed show how these theories

can b e related

Extending astl

Astl as describ ed in Chapter is very conservative in what it contains There are

a number of asp ects of situation theory which it do es not contain In this section we

will discuss some p ossible extensions We give details of one particular extension and

discuss other in less sp ecic terms

Abstraction parameters and anchoring in astl

In the basic denition of astl parameters are not treated in any sp ecial way They

are only distinguished from individual s in their declaration The only case where they

are treated sp ecially is in situation types where a parameter is used to identify the

ob ject situation which has b een abstracted over other uses of parameters are only

by convention In the Situation Theoretic Grammar description in Chapter we used

parametric facts to represent abstractions over facts Sp ecically we would represent

the semantics of intransitive verbs as

RA

where R and A are parameters We treat these as something similar to the lambda

expression

xy y x

but in the parametric ob ject case there is no ordering on the abstraction

One problem with this current representation of parametric ob jects is in the scop e of

the abstraction For example consider the following expression

CHAPTER EXTENSIONS

RRA

Is this an abstract over a one place relation whose argument is a one place relation

ie there are three parameters or is this an abstract over a one place relation whose

argument is an abstraction itself ie there is only one parameter The dierence is

more obvious in lambda expressions the ab ove can mean either the rst or second

of these expressions

R R R A RA

R R A RRA

There are other distinct combinations to o The dierence can though not always

b e imp ortant In EKN Barwise Co op er abstractions are represented in a form

more like lambda abstraction than astl ones They are explicit ab out the parameters

they are abstracting over There are two notations for abstraction the rst is the most

general

R A

RA

The second case is when an abstract can b e used as a relation

R A

RA

There is no real dierence b etween these two notations but the distinction can b e useful

in identifying their use

Let us now prop ose an extension to astl and call that extended language astl The

following is directly extending the formal denition of astl given in Chapter In

addition to the terms we previously dened let us add three new terms abstractions

anchoring environments and reductions The rst of these abstractions have the

following syntax

P P ter m

1 n

where P P are parameters So for example in the STG description we could now

1 n

represent the semantics of intransitive verbs as

R A RA

EXTENDING ASTL

The denotation for an abstraction term will b e an abstraction in the mo del This

requires us to enrich our mo del with a more elab orate set of types T as the present

set T contains only situation types here we need to extend it to include types for all

ob jects There are some consequences from such a semantics The following two terms

have the same denotation

R A RA

R A RA

Thus we have alpha equivalence b etween abstractions Unfortunately this notation

do es have a problem As we wish to apply these abstractions to other ob jects and

reduce the results there must b e some unique way to refer to the parameters app ea

ring b efore the vertical bar The problem is are the following two terms equivalent

R A RA

A R RA

In astl we will say that they are But b ecause we do say that they are and wish to

say that the arguments A and R are truly unordered there can b e no reasonable

way to refer to the arguments from outside the abstractionwithout actually using

the same name Naming the parameters outside the abstraction and exp ecting them to

have the same semantics seems unreasonable b esides if we have alpha equivalence this

implies the parameters names are irrelevant Using their p osition in the abstraction

requires some concept of ordering which contradicts the immediate example ab ove

The way we solve this is by allowing the arguments in an abstraction to b e labelled

As the lab els have a scop e actually global wider than the abstraction themselves this

1

will allow them to b e individuall y referenced A lab el an astl individual can follow

the parameter argument separated by an atsign

Rpred Asubj RA

That completes the outline for a denition of abstractions as terms in astl At

this stage it should b e stated that this form of abstraction is the same as that descri

b ed in Aczel Lunnon Although they use a dierent syntax their treatment of

abstractions is eectively that same as the one presentedabove

We also now need is a second term that we will call an anchoring environment This

is in fact not a new term but a sp ecial case of an already existing one An anchoring

environment is a situation which supp orts facts with relation anchorto We do

not restrict anchoring environment to only supp orting anchortofacts as this seems

Examples like

Rpred Asubj RA

Rverb Aarg RA are equivalent but not identical

CHAPTER EXTENSIONS

unnecessary but in all examples anchoring environments will only contain anchorto

facts The relation anchorto takes two arguments a lab el and an arbitrary term

An example is

AS S anchortopredsing

S anchortosubjhanako

The third term we need is to allow us to relate an abstraction to an anchoring envi

ronment and hence the reduced form We can do this by introducing another term of

the form

abstr action anchoring environment

An example is

Rpred Asubj RA

AS S anchortopredsing

S anchortosubjhanako

Basically such a term denotes the same ob ject as its fully reduced form In this case

the ab ove denotes the same as

singhanako

More formally a term of the form

abstr action anchoring environment

denotes the same as the syntactic ob ject that is formed by the following reduction

for each lab el L in the anchoring environment that is related to a term T by the

i i

relation anchorto and app ears as a lab el to a parameter P in the arguments of

i

the abstraction replace any o ccurrence of P in the b o dy of the abstraction with T

i i

and remove that parameter from the argument list If there are no parameters in the

abstractions parameter list the whole expression can b e replaced by the b o dy of the

abstraction

But unfortunately such a simple denition of abstraction anchoring and reduction

requires some more restrictions in computational environment There are a number

of problem cases for which solutions have not b een dened First we have got to

add the restriction that a lab el may only app ear at most once as the rst argument

to an anchortofact in any anchoring environment That is the reduction must b e functional

EXTENDING ASTL

The ab ove denition do es not imply that a reduction actually o ccurs Because the

semantics of the unreduced form has the same denotation as the reduced form there

is no need to actually calculate it As an analogy even if we know then

a p erfectly valid answer to the question what do es equal is Therefore

what is also needed is an inference rule which states that if a situation supp orts the

unreduced form it also supp orts the reduced form With such a rule we should b e able

to infer the following Obviously

SitS S singshanako

can b e inferred from

SitS S Rpred Asubj RA

AS S anchortopredsing

S anchortosubjhanako

But the following can also b e inferred as well

SitS S Asubj singA

AS S anchortopredsing

S anchortosubjhanako

SitS S Rpred Rhanako

AS S anchortopredsing

S anchortosubjhanako

Also note that if the following simple prop osition is true

SitS S singshanako

then from the same inference rule we should b e able to deduce

SitS S AL BL AB

QS S anchortoLsing

S anchortoLhanako

and innitely many other prop ositions However in a computational system we would

wish to restrict inferences in the reduction direction onlyat least this would b e the

simplest way to implement it

We have given the outline of an extension to astl which would make the writing of

descriptions of theories easier Although we have not fully sp ecied the extension it

is hop ed that the ab ove gives the general idea and that there are not to o many real

problems With the ab ove extension the STG description given in Chapter could

CHAPTER EXTENSIONS

b e improved In that description reduction of parametric ob jects and anchoring

environments was attempted using conventional constraints but this is not general

enough Using the extensions describ ed ab ove we can replace the more complex rules

with something a little more readable

S S catSSentence

S semS

Fact AVPEnv

Env Env anchortosubjY

NP NP catNPNounPhrase

NP semNPY

VP VP catVPVerbPhrase

VP semVPFact

VP envVPVPEnv

The semantic form for the verb phrase would now b e an abstraction for example

walks would b e of the form

Rpred Asubj RA

In addition to making the STG description more succinct the ab ove extensions would

allow the description of DMG in Beaver et al to b e easily implemented Also other

work in EKN which also makes a heavy use of generalised abstraction and reduction

should then b e describable Some of the later work in EKN also app eals to Aczel

Lunnon abstraction and hence such an extension to astl would allow more theories

to b e describ ed more easily

Another asp ect where abstractions would improve a description of a semantic theory

in astl is in the DRT descriptions DRSs could p erhaps b etter b e represented as

abstractions over situation types rather than as at present parametric situation types

The extensions describ ed ab ove are signicant in that they describ e a way that may

remove the need for parameters to app ear in any place other than abstractions The

concept of parametric ob jects indeterminates seemed imp ortant With a denition

of abstraction it seems that general free parameters are at least no longer needed

often and p erhaps may b e completely unnecessary

The fact that the role of general parameters might b e able to b e replaced by abstrac

tion is an interesting p ossibility One of the original justications of situation theory

was to allow parametric ob jects in the mo del By using abstractions to represent in

determinates we make the problem similar to the use of lambda abstractions for which

there is a well understo o d semantics see Barendregt However it should also b e

noted that traditional parameters are very useful in writing general semantic theory

descriptions The ability to use them as variables within the ob ject theory makes si

tuation theory useful as a metalanguage Although there probably is a way to recast

EXTENDING ASTL

all the techniques describ ed in semantic theories that use parameters as variables it

is not right for us to force this to b e the case As there is not any computational or

implementational problems in having simple parameters in the mo del its seems unne

cessary to remove them from the set of to ols provided This question of parameters

versus abstractions will unfortunately remain a philosophical one

Using semantic translations

Throughout the three ma jor examples describ ed ab ove we have only really b een con

cerned with dening and constructing semantic translations for utterances We have

not concerned ourselves with using the results for example asserting the results to

a database and drawing inferences from them As one of the p oints if not the most

imp ortant p oint of building semantic translations is to actually use them in a com

putational system it would add further to astls usefulness if we could give such

examples

In all three cases the semantic translation is a parametric situation type and constraints

are sp ecied as to how it relates to the type of the describ ed situation Admittedly

some manipulation is required in order to treat quantiers prop erly but we can for the

sake of discussion view the semantic translation simply as a situation type

Astl in order to make using translation easier requires some extensions Allowing

constraints as terms would allow for more complex descriptions however it is proba

bly adequate to introduce some distinguished relations with a sp ecial treatment eg

every

Let us briey lo ok a simple discourse and see what might b e required Supp ose we

wish to treat the following discourse

Every man sings

Taro is man

Who sings

If we use a STG semantic treatment the describ ed situation after the second sentence

would b e

SIT

mant

P P

P P

everyMA

manMA singMA

CHAPTER EXTENSIONS

We of course need to consider a treatment of questions As our description currently

stands we have no such treatment but we might consider something like the follo

wing Ideally we would like the semantic translation of a sentence to b e some form of

parametric type For example Who sings would translate as

P

P

singX

The answer to our question is what can b e anchored to X such that it b ecomes a type of

the describ ed situation Using the extension to astl describ ed in the previous section

we might write

S Q Answ er

ds

The anchoring environment Answ er would contain the information needed to generate

an answer Of course generation of pragmatically useful answers is in its own right a

research topic

Questions are still an active research area in computational semantics and the ab ove

is not intended to b e a serious attempt at treating questions only a small illustration

Work has b een done in situation semantics of questions but as yet do not have an imple

mentation Ginzburg There is also work on questions within a dynamic semantic

framework Gro enendijk Stokhof but they do not dep end of dynamic semantics

for their treatment of questions and use it only for treatments of quanticiation and

anaphora If descriptions of such theories could b e written in astl this would directly

lead to their implementation

Because we are in a situation theoretic framework we can take advantage of the ob jects

availableparticularly situations It seems p ossible to have descriptions in astl or

some reasonable extension of astl where our database is more complex than simple

facts Situations allow us to more easily represent phenomena like b eliefs attitudes etc

Perhaps b orrowing from the knowledge representational descriptions given in Prosit

would allow interesting exp eriments to b e made in higher level asp ects of semantics

and discourse mo delling Of course this would b e a signicant amount of work but

implementation should b e p ossible through an astllike language

Another direction in which astl could b e extended in coherence and defeasible con

straints At present there is no built in mechanism for ensuring that situations of the

form

SIT S S walkshanako

S walkshanako

are given no denotation A treatment of coherence ensuring a situation do es not

supp ort a fact and its dual although not necessary is often included in basic asp ects

SUMMARY

of situation semantics A treatment of coherence would lead to a b etter treatment

of negation Somewhat related to this topic are the notions of more complex con

straints such as negative constraints and defeasible constraints The area of defeasible

constraints and nonmonotonic reasoning is in itself a research topic but it would b e

useful if treatments could b e brought together in the same framework as treatments of

natural language discourse

All of the ab ove show that astl has many directions in which it can b e extended

Although we have shown its basic comp etence in the eld of computational semantics

there is still many useful extensions we could make

Summary

In this chapter we have attempted to show two things First that semantic descriptions

in astl can easily take ideas and techniques from other theories in order to provide

b etter overall theories Describing theories in the same environment ie astl allows

not only for dierences b etween theories to b e identied but for treatments of various

semantic phenomena to b e copied

Secondly future changes to astl are discussed An extension to deal with abstractions

and reduction is detailed which would allow easier treatment of a number of techni

ques used in various semantic theories Also some discussion of how to use semantic

translations of utterances is given

Overall this is intended to show that even as it currently stands astl is a useful

to ol in development of natural language semantic theories but that there are obvious

extensions which can b e made which would increase astls usefulness

Chapter

Conclusions

In this nal chapter we will restate the ma jor p oints of this thesis and try to draw

some conclusions from the work We will identify what the characteristics of astl are

and why they are imp ortant in a computational language for representing semantic

theories Finally some discussion is given of the future direction of this research and

how it contributes to the eld of computational semantics

After some general discussion of contemporary issues in computational semantics in

Chapter we discussed the idea of building a computational framework in which general

asp ects of computational semantic theories of natural language may b e describ ed and

exp erimented with Because of the broad similarities b etween some contemporary

theories this seems a useful direction in which to head and has b een the sub ject of

other research eg Johnson Kay A uniform environment for implementation

and exp erimentation should allow closer comparison of theories and help to identify

the exact dierences and similarities b etween them Also this hop efully will lead to

metho ds for sharing techniques and treatments b etween theories by extending theories

as well as the p ossibility of creating hybrids where no conict exists A number of

p ossible areas from which a basis for a computational language for semantic theories

might b e found are discussed including logic programming as in Prolog feature

structures and situation theory

In Chapter we introduced the language astl Astl is designed as a computational

language for describing natural language semantic theories Astl is dened with res

p ect to basic asp ects of situation theory Its semantics is given in terms of a situation

theoretic mo del The language oers representations for individuals relations para

meters situations variables situation types and constraints Also a set of inference

rules are dened in order that we can draw inferences from a system of situations and

constraints Imp ortantly astl is not just a theoretical language it has an actual im

plementation We describ e an implementation and give simple examples of how it can

b e used

In order to show that astl is a suitable implementation device for at least the basic as

p ects of contemporary natural language semantic theories the following three chapters

gave detailed example descriptions of three dierent theories By descriptions we mean

formal sp ecications of asp ects of semantic theories We could go further as try ensure

that formalisations of theories in astl are formally equivalent with axiomatizations of

the theories we are interested in This was not done b ecause it is dicult to nd axio

matizations of theories due to them constantly changing and improving thus usually

making any axiomatization out of date Instead we have lo oked at formalizations of

classic analyses of phenomena within the theory b eing describ ed After all it those

analyses of particular phenomena that we actually wish to compare

First we introduced a metho d of representing syntactic structures and grammar rules

within astl A simple semantics was added to this based on the work of Situation

Theoretic Grammar Co op er This showed how a situation semantic theory can

neatly b e describ ed within astl This set the scene showing how we can use astl as

an environment for describing semantic theories and use those descriptions to derive

semantic analyses from utterances Next we describ ed two dierent semantic theo

ries which sp ecically address the same semantic phenomena Chapter deals with

Discourse Representation Theory Kamp Kamp Reyle DRT oers a repre

sentation for natural language discourses A description of the theory itself is given

and an astl description is presented which adequately captures the main issues of

DRT The astl description is based on the DRT fragment in Johnson Klein

The third example of a semantic theory describ ed in astl is given in Chapter

This deals with the general area of dynamic semantics Gro enendijk Stokhof b

Gro enendijk Stokhof a Two small examples are given rst a treatment of Dy

namic Predicate Logic DPL is given then a dynamic semantic treatment is given for

the same simple natural language syntactic fragment used in the DRT and STG de

scriptions The dynamic semantic description reuses much of the description of DRT

Because DRT and DPLNL are intended to describ e the same semantic phenomena ie

asp ects of anaphora once describ ed in astl we can easily give a detailed comparison

of the theories The results seems to show that they dier in their representation of

the amount of information at each stage in a discourse which may impinge on ecient

inference from that result An imp ortant asp ect of these two descriptions is how much

can actually b e directly shared b etween them Both DRT and DPLNL use the same

constraints with regards threading of information and only asp ects of the information

passed along these threads dier We also showed that the treatment of pronouns from

DRT could easily b e adopted into Situation Theoretic grammar once b oth had b een

describ ed within astl something that would not b e obvious when rst lo oking at the

semantic representation used in each theory

Even though we have only partially describ ed three theories in astl it seems reasonable

to claim that astl is a suitable environment for formalizing implementing compa

ring and developing such theories Although it should not b e very surprising that

these theories can b e describ ed within the same framework actually showing this is a

necessary prerequisite for such a claim Also although astl comprises just very basic

asp ects of situation theory it is sucient to give a useful level for semantic description

It should b e stated that astl is just an exp erimental system and it is not in its present

form prop osed as a practical system for large scale implementation of theories for the

semantic comp onent of practical language pro cessing systems Chapter describ es an

CHAPTER CONCLUSIONS

extension to astl namely abstraction and reduction which would make astl a much

more usable system but other enhancements would b e necessary to make a general

implementation systembut these small example descriptions do suggest that these

enhancements would b e worthwhile

Another asp ect that deserves some mention is how much do es astl inuence the

descriptions of theories made within it Any system of this form will inuence forma

lisations in it Some of these restrictions are merely arbitrary such as having to use a

linear form to conform to the syntax of astl as opp osed to using b oxes Other restric

tions are more to do with astl itself and the underlying situation theoretic asp ects

of the language Astls basic mechanism of constraints means that everything has to

b e sp ecied in that form even though an original theory may dep end on abstraction

and application These are equivalent at some level but it may require lo oking at a

theory in a slightly dierent way Although astl oers situations as ob jects it do es not

require descriptions to use them though as there are no constructs such as sets or lists

there is a certain encouragement Astl tries not to constrain descriptions very much

trying to b e a to ol rather than a sp ecic theory of course it may b e that descriptions

as is the case in the descriptions given in this thesis can b e describ ed in a very similar

way but at least some of that is by design rather than forced by the astl language In

fact as we wish to use astl as an environment for comparing and mixing theories using

similar techniques to describ e theories is an advantage as long as it do es not restrict

to o much the theories that can b e describ ed

A general problem with computational semantics is that there is always a conict b et

ween the engineers and theorists In this eld there is b oth the temptation to

make theories more formal thus making more explicit the underlying prop erties of the

theory and more computational thus making implementation b etter faster more trac

table easier to use etc This thesis has tried to rmly set itself b etween these goals

paying resp ect to b oth sides However there is always the argument that the theorists

may criticise this work b ecause the descriptions of their theories are not complete and

the engineers may criticise b ecause they can achieve must faster implementations or

greater coverage by resorting to a more general programming language or b ending a

theory a little Although b oth critics have valid p oints it is the whole enterprise that

must b e judged Perhaps they could lo ok from each others p ersp ective

From the engineers p oint of view we have built a sound system that do es work alt

hough it may not have all the debugging aids and eciency of real systems But

astl has a go o d theoretical basis and few corners have b een cut for the sake of the

implementation This shows that theory can b e practical Also through implementa

tion of these theories we b egin to understand the essential prop erties of these theories

such that if short cuts really are necessary in implementation we can more easily iden

tify which short cuts can b e made without losing the fundamental treatments of the

phenomena we are trying to describ e

From the theorists p oint of view this work has tried to use a theoretical basis for the

language astl Although we have only describ ed minimal parts of semantic theories

within astl we have shown that the theories are computational and can have a rea

sonable implementation Implementation of a theory allows for a b etter testing of its

computational prop erties and also allows easy exp erimentation Also in describing a

theory such that it can b e run requires a much more explicit denition that might

otherwise b e given

Another theoretical asp ect of this work is that of using a situation theoretic language

as a metalanguage for describing natural language semantic theories Although it

would have b een p ossible or even easier to merely treat astl the implementation

mechanism as simply a formalism similar to a feature system or some form of Prolog

using a formalism which is fully given a rm theoretical grounding and a formal se

mantics makes it clearer ab out what is going on in descriptions We can make stronger

claims ab out the descriptions we give as well as having the p ossibility of using existing

formal asp ects of situation theory The fact that we are using situation theory as the

basis for astl is in itself interesting research as it has not b een clear b efore that situa

tion theory could oer the basis for a computational language but astl and prosit

Nakashima et al Frank Schutze has gone some way to add to this claim

Much work has b een done in the area of situation semantics and situation theory but the

idea of a computational language based on situation theory in a similar way that Prolog

is based on rst order logic is relatively new Representational formalisms have b een

dened eg situation schema but a language in which computation ie something

akin to inference was new Prosit Nakashima et al Frank Schutze is

the only other example Unlike prosit astl tries only to use features which can

b e describ ed in terms of core asp ects of situation theory This of course restricts the

language and p erhaps makes it harder to program in but means that descriptions

in it will have a clear semantics It is really the denition of constraints and inference

that make astl computational

From the other viewp oint showing that asp ects of contemporary theories of semantics

can b e describ ed within a situation theoretic framework shows a use for situation

theory which has not really b een made explicit b efore Situation theory is a very

general mathematical framework this work has help ed to show how it can b e used

with current semantic theories rather than as an alternative or opp osing framework

It is worth discussing what alternative language could b e used instead of astl This

might help identify what prop erties of astl are essential in making it a suitable as

a semantic metalanguage The substantial work in the area of feature systems has

pro duced a large number of variant systems each of which is tailored for various tasks

As describ ed in Section it would b e p ossible to dene a feature system which had

the necessary prop erties but this could b e reasonably argued as an implementation of

astl itself A situation theoretic semantics could b e given for such a feature formalism

Also it should b e p ossible to co de up astllike descriptions in logic programming

languages like Prolog After all there already exist implementations in Prolog of our

three basic example theories but it is not just the end result of implementation that we

are lo oking for we are also trying to understand what the basic essential computational

prop erties of these theories are Arbitrary implementations even in the same language

will not necessarily help us Even if we had the freedom of a general programming language the essential prop erties

CHAPTER CONCLUSIONS

that would b e used would b e those of astl These can b e summarised by the following

list

The ability to represent complex structured ob jects and allow general relations b et

ween them

The ability to have constraints b etween general ob jects and draw inferences from

them

A mechanism for reasoning ab out variables in the ob ject language as distinct from

variables in the metalanguage and describing binding mechanisms for these

ob ject language variables

These are the minimum descriptive prop erties that seem necessary Astl go es a step

further by not only oering these but also oering a formal semantics and not just a

formalism In situation theoretic terms the ab ove prop erties relate directly to situa

tions and abstractions constraints and parameters and anchoring All three of these

are fundamental prop erties of situation theory If we lo ok for such prop erties in other

areas of formal semantics we can nd some but not all very easily In a Montaguelike

framework the use of named partial p ossible worlds as in the work of Muskens

oers semantic ob jects similar or even equivalent for many purp oses to situations

This thesis is only a rst step in a general mechanism for describing and implementing

semantic theories of natural language There are many directions not all conicting

in which this work can b e continued From the computational p oint of view astl

can b e enhanced adding new formal featuresfor example the general abstraction and

anchoring describ ed in Section There is little in the language that deals with

coherence some treatment that deals with ensuring that situations do not supp ort

facts and their duals would allow b etter treatments of negation Defeasible constraints

would lead to b etter mo delling of general knowledge representation and would aid the

mo delling of b elief

As well as the formal asp ects of extensions there are practical asp ects to o It is im

p ortant that a computational system b e easy to use It should not b e considered just

as an afterthought Developing computational semantic theories is hard The full

consequences of formal decisions are not always obvious Exp erimentation can help

enormously but only if the implementation is easy to use Reasonable sp eed and de

bugging facilities are real aids to the computational semanticist A go o d metho d for

displaying results and allowing the semanticist to easily see the consequences of their

theory makes development signicantly easier

We can consider other directions to o Only minimal descriptions of STG DRT and

dynamic semantics have b een given Larger examples would help conrm the usefuln

ess of the techniques describ ed here Also it would allow more comparison b etween

theories Covering extensions to these ob ject theories such as plural anaphora denites

etc would aid not only the understanding of dierences b etween treatments but also

the treatments within the theories themselves as they currently stand Descriptions of

FINAL COMMENTS

other theories might also b e considered Obvious candidates are Montague Grammar

and Dynamic Montague Grammar

Another direction is in extending what it means to implement the theory Here we have

implemented a theory by giving a sp ecication of key asp ects of that theory sucient

to derive semantic translations from utterances Using that translation for database

lo okup or dialogue mo delling would b e a b etter computational test of a theory Astl

do es not as it currently stands oer much help in building such active descriptions

but it do es seem that it would not require many extensions to make the use of semantic

translations easier Moreover b ecause our semantic translations in some descriptions

are situation types and it is clear what it means for a situation to b e of that type

theorem proving with the translation should b e relatively easy

Final comments

We have describ ed a computational language called astl which is given a situation

theoretic semantics Astl is an example of how situation theory oers a basis for an

interesting and p owerful language suitable for describing asp ects of natural language

semantic theories In order to show this we gave detailed descriptions in astl of the

basic asp ects of three contemporary semantic theories These are Situation Theoretic

Grammar Discourse Representation Theory and a form of Dynamic Predicate Logic

Because these descriptions are restricted to b eing in the same environment very detai

led comparisons can easily b e made identifying exactly the dierences b etween them

particularly in the case of the later two Also b ecause astl has an implementation de

scriptions of these theories directly oer implementations which can b e run to pro duce

semantic translations for utterances

In conclusion although we have successfully describ ed a computational language based

on situation theory and showed that at least the core asp ects of some contemporary

semantic theories of natural language can b e neatly describ ed within that language

there is still a lot of work to do b efore we have a reasonably broad computational

coverage of natural language semantics It is imp ortant for theoretical semanticists to

keep computational and more imp ortantly implementation asp ects in mind as much

as it is imp ortant for implementors of systems to know ab out theoretical asp ects but

neither can do without the other In this thesis we have taken into consideration b oth

sides of the argument and developed a theoretical approach to the description and implementation of computational semantic theories

Biblio graphy

Aczel Lunnon P Aczel and R Lunnon Universes and parameters In

Situation Theory and its Applications II CSLI Lecture

Notes Number pages Chicago University Press

Ades Steedman A Ades and M Steedman On the order of words Lin

guistics and Philosophy

AitKaci Nasr H AitKaci and R Nasr LOGIN A logic programming

language with builtin inheritance Technical Rep ort AI

MCC Micro electronics Computer Corp oration

Alshawi H Alshawi The Core Language Engine MIT Press

Cambridge Mass

Barendregt H Barendregt The lambda calculus its syntax and

semantics NorthHolland Amsterdam

Barwise Co op er J Barwise and R Co op er Generalized quantiers and

natural language Linguistics and Philosophy

Barwise Co op er J Barwise and R Co op er Extended Kamp Notation

a graphical notation for situation theory In Situation

Theory and its Applications III CSLI Lecture Notes

Chicago University Press forthcoming

Barwise Etchemendy J Barwise and J Etchemendy The Liar an essay on

truth and circularity Oxford University Press

Barwise Etchemendy J Barwise and J Etchemendy Information infons and

inference In Situation Theory and its Applications I

CSLI Lecture Notes Number pages Chicago

University Press

Barwise Perry J Barwise and J Perry Situations and Attitudes MIT

Press Cambridge Mass

BIBLIOGRAPHY

Barwise Seligman J Barwise and J Seligman The rights and wrongs of

natural regularity to b e published in Philosophical Per

spectives vol or edited by James Tomberlin forth

coming

Barwise a J Barwise Notes on branch p oints in situation theory

In The Situation in Logic CSLI Lecture Notes Number

pages Chicago University Press

Barwise b J Barwise The Situation in Logic CSLI Lecture Notes

Number Chicago University Press

Barwise J Barwise Information links in domain theory In

Proceedings of the Mathematical Foundations of Pro

gramming Semantics Conference pages

LNCS Springer

Barwise J Barwise Constraints channels and ow of informa

tion In Situation Theory and its Applications III CSLI

Lecture Notes Chicago University Press forthcoming

Beaver D Beaver DMG through the lo oking glass In Quan

tication and Anaphora I DYANA Deliverable RA

pages Centre for Cognitive Science University

of Edinburgh

Beaver et al D Beaver A Black R Co op er and I Lewin DMG in

EKN In Partial and Dynamic Semantics III DYANA

Deliverable RC pages Centre for Cognitive

Science University of Edinburgh

Black A Black Embedding DRT in a Situation Theoretic fra

mework In Proceedings of COLING the th Inter

national Conference on Computational Linguistics pa

ges Nantes France

Brachman Schmolze RJ Brachman and JG Schmolze An overview of the

KLONE knowledge representation system Cognitive

Science

Braun et al G Braun H Eikmeyer T Polzin H Rieser P Ruhr

b erg and U Schade Situations in PROLOG Technical

Rep ort Technical Rep ort No DFGResearch Group

Koharenz Faculty of Linguistic and Literary Studies

University of Bielefeld

Bresnan J Bresnan Polyadicity In The mental representation of

grammatical relations pages MIT Press Cam bridge Mass

BIBLIOGRAPHY

Charniak Wilks E Charniak and Y Wilks Computational Seman

tics Fundamental studies in computer science North

Holland Amsterdam

Chiercha G Chiercha Anaphora and dynamic binding Lingui

stics and Philosophy

Chomsky N Chomsky Lectures on Government and Binding

Studies in Generative Grammar Foris Dordrecht

Holland

Cliord J Cliord Formal Semantics and for Na

tural Language Querying Cambridge University Press

Co op er Kamp R Co op er and H Kamp Negation in situation seman

tics and Discourse Representation Theory In Situation

Theory and its Applications II CSLI Lecture Notes

Number pages Chicago University Press

Co op er R Co op er Quantication and Syntactic Theory Stu

dies in Linguistics and Philosophy Reidel Dordrecht

Co op er R Co op er Information and grammar Technical Rep ort

RP No Dept of Articial Intelligence University

of Edinburgh Also to app ear in J Wedekind ed

Proceedings of the Titisee Conference on Unication and

Grammar

Co op er Richard Co op er Classicationbased Phrase Structure

Grammar An Extended Revised Version of HPSG Un

published PhD thesis University of Edinburgh Edin

burgh UK

Cro cker M Cro cker Multiple metainterpreters in a logical mo

del of sentence pro cessing In C Brown and G Ko ch

editors Natural Language Understanding and Logic

Programming III Elsevier Science Publishers North

Holland

Dowty et al D Dowty R Wall and S Peters Introduction to Mon

tague Semantics Studies in Linguistics and Philosophy

Reidel Dordrecht

Fenstad et al J Fenstad PK Halvorsen T Langholm and J van

Bentham Situations Language and Logic Studies in Linguistics and Philosophy Reidel Dordrecht

BIBLIOGRAPHY

Frank Schutze M Frank and H Schutze The prosit language v

CSLI Stanford University

Franz A Franz A parser for HPSG Technical Rep ort LCL

Lab oratory for Computational Linguistics Carnegie

Mellon University Pittsburgh Penn

Frisch A Frisch Parsing with restricted quantication an in

itial demonstration In Articial Intel ligence and its Ap

plications pages J Wiley and Sons

Gardent C Gardent VP anaphora Unpublished PhD thesis

University of Edinburgh Edinburgh UK

Gawron Peters M Gawron and S Peters Anaphora and Quantication

in Situation Semantics CSLI Lecture Notes Number

Chicago University Press

Gazdar et al G Gazdar E Klein G Pullum and I Sag Generalized

Phrase Structure Grammar Blackwell Oxford

Geach P Geach Reference and Generality Cornell University

Press Ithaca NY

Ginzburg J Ginzburg Questions Queries and Facts a seman

tics and pragmatics for interrogatives Unpublished PhD

thesis Stanford University CA

Glasb ey S Glasb ey Distinguishing b etween events and times

some evidence from the semantics of then Technical

Rep ort RP No Dept of Articial Intelligence Uni

versity of Edinburgh to app ear in Journal of Na

tural Language Semantics

Gro enendijk Stokhof a J Gro enendijk and M Stokhof Dynamic Montague

Grammar In Quantication and Anaphora I DYANA

Deliverable RA pages Centre for Cognitive

Science University of Edinburgh

Gro enendijk Stokhof b J Gro enendijk and M Stokhof Dynamic Predicate Lo

gic Linguistics and Philosophy

Gro enendijk Stokhof J Gro enendijk and M Stokhof A note on interrogati

ves and adverbs of quantication Technical Rep ort LP

Institute for Logic Language and Computation

University of Amsterdam

Harel D Harel Dynamic logic In D Gabbay and F Guenth

ner editors Handbook of Philosophical Logic II pages

Reidel Dordrecht

BIBLIOGRAPHY

Hegner S Hegner Horn extended feature structures fast uni

cation with negation and limited disjunction In Pro

ceedings of the th conference of the European Chapter

of the Association for Computational Linguistics pages

Berlin Germany

Hirst G Hirst Anaphora in Natural Language Understanding

a survey SpringerVerlag Berlin

Hobbs Shieb er J Hobbs and S Shieb er An algorithm for generating

quantier scopings Computational Linguistics num

b ers

Hop croft Ullman J Hop croft and J Ullman Introduction to automata

theory languages and computation AddisonWesley

Reading Mass

Jackson et al P Jackson H Reichgelt and F van Harmelen Logic

based know ledge representation MIT Press Cambridge

Mass

Johnson Kay M Johnson and M Kay Semantic abstraction and ana

phora In Proceedings of the th International Confe

rence on Computational Linguistics Vol pages

Helsinki Finland

Johnson Klein M Johnson and E Klein Discourse anaphora and

parsing In Proceedings of the th International Con

ference on Computational Linguistics pages

Bonn West Germany

Johnson M Johnson Attributevalue logic and the theory of gram

mar CSLI Lecture Notes Number Chicago Univer

sity Press

Kamp Reyle H Kamp and U Reyle From discourse to logic Intro

duction to Model Theoretic Semantics of Natural Langu

age Formal logic and Discourse Representation Theory

Studies in Linguistics and Philosophy Kluwer Dor

drecht forthcoming

Kamp H Kamp A theory of truth and semantic representation

In J Gro enendijk T Janssen and M Stokhof editors

Formal Methods in the Study of Language Mathematical

Center Amsterdam

Kamp H Kamp Pro cedural and cognitive asp ects of prop o

sitional attitudes and contexts Notes distributed for a

course at the Third Europ ean Summer School in Langu

age Logic and Information Universitat des Saarlandes Saarbr ucken

BIBLIOGRAPHY

Kay M Kay Functional unication grammar a formalism

for machine translation In Proceedings of the th Inter

national Conference on Computational Linguisticsnd

Annual Conference of the Association for Computational

Linguistics pages Stanford University California

Kilbury J Kilbury A prop osal for mo dication of the formalism

of GPSG In Proceedings of the rd conference of the

European Chapter of the Association for Computatio

nal Linguistics pages Cop enhagen Denmark

King P King A logical formalism for HeadDriven Phrase

Structure Grammar Unpublished PhD thesis Univer

sity of Manchester Manchester UK

Lascarides Asher A Lascarides and N Asher Discourse Relations and

Commonsense Entailment In H Kamp editor Default

Logics for Linguistic Analysis Dyana Deliverable RB

Lewin I Lewin A quantier scoping algorithm without a free

variable constraint In Proceedings of the th Interna

tional Conference on Computational Linguistics Vol

pages Helsinki Finland

Lewin I Lewin Dynamic Quantication in Logic and Compu

tational Semantics Unpublished PhD thesis University

of Edinburgh Edinburgh UK

Montague R Montague The prop er treatment of quantication

in English In Thomason R editor Formal Philosophy

Yale University Press New York

Muskens R Muskens Meaning and Partiality Unpublished

PhD thesis University of Amsterdam Amsterdam The

Netherlands

Nakashima et al H Nakashima H Suzuki PK Halvorsen and S Pe

ters Towards a computational interpretation of situation

theory In Proceedings of the International Conference

on Fifth Generation Computer Systems pages

ICOT

Nakashima et al H Nakashima S Peters and H Schutze Communi

cation and inference through situations In Proceedings

of the th International Joint Conference on Articial

Intel ligence volume pages

BIBLIOGRAPHY

Partee B Partee Montague grammar and transformational

grammar Linguistic Inquiry

Partee B Partee Nominal and temp oral anaphora Linguistics

and Philosophy

Pereira Warren F Pereira and D Warren Denite Clause Grammars

for language analysis Articial Intel ligence

Pereira Warren F Pereira and D Warren Parsing as deduction In st

Annual Conference of the Association for Computational

Linguistics pages MIT Massachusetts

Pereira F Pereira Logic for Natural Language Analysis Unpu

blished PhD thesis University of Edinburgh Edinburgh

UK reprinted as Technical Note Articial In

telligence Center SRI International Menlo Park Ca

Pinkal M Pinkal On the syntacticsemantic analysis of b ound

anaphora In Proceedings of the th conference of the

European Chapter of the Association for Computational

Linguistics pages Berlin Germany

Pollard Moshier C Pollard and D Moshier Unifying partial descriptions

of sets In P Hanson editor Information Language and

Cognition volume of Vancouver Studies in Cognitive

Science University of British Columbia Press Vancou

ver

Pollard Sag C Pollard and I Sag Informationbased Syntax and Se

mantics Volume Fundamentals CSLI Lecture Notes

Number Chicago University Press

Polzin et al T Polzin H Rieser and U Schade More situations in

PROLOG Technical Rep ort Technical Rep ort No

DFGResearch Group Koharenz Faculty of Linguistic

and Literary Studies University of Bielefeld

Popowich Vogel F Popowich and C Vogel The HPSGPL system Tech

nical Rep ort CSSIS TR School of Computing

Science Simon Fraser University

Pulman S Pulman Comparatives and ellipsis In Proceedings of

the th conference of the European Chapter of the Asso

ciation for Computational Linguistics pages Berlin

Germany

Reeves S Reeves An introduction to semantic tableaux Tech

nical rep ort Dept of Computer Science University of Essex

BIBLIOGRAPHY

Ritchie G Ritchie Simulating a Turing machine using functio

nal unication grammar In T OShea editor Advances

in Articial Intel ligence pages North Holland

Ro oth M Ro oth Noun phrase interpretation in Montague

Grammar le change semantics and situation seman

tics In P Gardenfors editor Generalised Quantiers

Studies in Linguistics and Philosophy Reidel Dord

recht

Rounds W Rounds Set values for unicationbased grammar

formalisms and logic grammars Technical Rep ort CSLI

CSLI Stanford University

Rupp C Rupp Situation semantics and machine translation

In Proceedings of the Fourth Conference of the European

Chapter of the Association for Computational Lingui

stics pages Manchester UK

Shieb er S Shieb er The design of a computer language for lingui

stic information In Proceedings of the th International

Conference on Computational Linguisticsnd Annual

Conference of the Association for Computational Lin

guistics pages Stanford University California

Shieb er a S Shieb er An Introduction to Unication Approaches

to Grammar CSLI Lecture Notes Number Chicago

University Press

Shieb er b S Shieb er A simple reconstruction of GPSG In Procee

dings of the th International Conference on Computa

tional Linguistics pages Bonn West Germany

Smolka G Smolka A feature logic with subsorts LILOG Re

p ort IWBS IBM Deutschland To app ear in

J Wedekind and C Rohrer eds Unication in Gram

mar The MIT Press

Thomason R Thomason Formal philosophy Selected papers by

Richard Montague Yale University Press New Haven

Uszkoreit H Uszkoreit Categorial Unication Grammars In Pro

ceedings of the th International Conference on Com

putational Linguistics pages Bonn West Ger many

BIBLIOGRAPHY

Winograd T Winograd Understanding Natural Language Acade

mic Press New York

Winograd T Winograd Language as a Cognitive Process Volume

I Syntax AddisonWesley Reading Mass

Woo ds W Woo ds Whats in a link Foundations for semantic

nets In D Bobrow and A Collins editors Represen

tation and Understanding Studies in Cognitive Science

pages Academic Press New York

Zadronzy W Zadronzy On comp ositional semantics In Procee

dings of COLING the th International Conference

on Computational Linguistics pages Nantes

France

Zeevat H Zeevat A comp ositional approach to Discourse Re

presentation Theory Linguistics and Philosophy

App endix A

Examples

A Introduction

In this App endix we will give the full astl sp ecication of four dierent descriptions

the Ro oth syntactic fragment Section is the syntactic fragment used as the basis

for the following three semantic descriptions Situation Theoretic Grammar Section

Discourse Representation Theory Chapter and DPLNL Chapter which

oers a dynamic semantic treatment of the Ro oth fragment These descriptions are

unfortunately rather dicult to read They are included here b ecause this is a com

putational thesis and the full complete descriptions which are directly executable

show exactly what is needed in order to compute semantic forms

A Ro oth Fragment

This astl description is a for a simple syntactic grammar describ ed in Section

based on the fragment in Ro oth The grammar is large enough to deal with simple

declarative sentences including quantiers and anaphora It can analyse sentences like

Hanako sings

A man walks He talks

Every man with a donkey likes it

Note this only denes the syntax semantic forms are built on top of this structure in

the later STG DRT and DPLNL descriptions

Individuals

Relations

APPENDIX A EXAMPLES

These are the relations which act like features in a

conventional attribute value system

useof cat

Syntactic functions which act as arguments to cat

NounPhrase Noun Determiner

Sentence VerbPhrase Verb

PrepPhrase Preposition

Discourse

Structural relation

daughter

Parameters

DSNPVPPNNPREPDETV

Variables

SNP VP V N PP PREP DET D

Situations

GoalProp

S S S catSdiscourse

Grammar Rules

S NP VP

S S catSSentence

S daughterNP

S daughterVP

NP NP NP catNPNounPhrase

VP VP VP catVPVerbPhrase

VP V NP

VP VP catVPVerbPhrase

VP daughterV

VP daughterNP

V V V catVVerb

NP NP NP catNPNounPhrase

N N PP

N N catNnoun

N daughterN

N daughterPP

N N N catNnoun

PP PP PP catPPPrepPhrase

A ROOTH FRAGMENT

NP Det N

NP NP catNPNounPhrase

NP daughterDET

NP daughterN

DET DET DET catDETDeterminer

N N N catNnoun

PP P NP

PP PP catPPPrepPhrase

PP daughterPREP

PP daughterNP

PREP PREP PREP catPREPPreposition

NP NP NP catNPNounPhrase

D S

D D catDDiscourse

D daughterS

S S S catSSentence

D D S

D D catDDiscourse

D daughterD

D daughterS

D D D catDDiscourse

S S S catSSentence

A basic set of lexical entries to allow some simple classic sentences

Lexical Entries

Nouns

Hanako

PN PN catPNNounPhrase

PN useofPNHanako

Taro

APPENDIX A EXAMPLES

PN PN catPNNounPhrase

PN useofPNTaro

Anna

PN PN catPNNounPhrase

PN useofPNAnna

man

N N catNNoun

N useofNman

donkey

N N catNNoun

N useofNdonkey

Pronouns

he

PN PN catPNNounPhrase

PN useofPNhe

she

PN PN catPNNounPhrase

PN useofPNshe

it

PN PN catPNNounPhrase

PN useofPNit

Determiners

a

DET DET catDETDeterminer

DET useofDETa

the

DET DET catDETDeterminer

DET useofDETthe

every

DET DET catDETDeterminer

DET useofDETevery

Verbs

smiles

VP VP catVPVerbPhrase

VP useofVPsmiles

sings

VP VP catVPVerbPhrase

VP useofVPsings

walks

A STG DESCRIPTION

VP VP catVPVerbPhrase

VP useofVPwalks

talks

VP VP catVPVerbPhrase

VP useofVPtalks

runs

VP VP catVPVerbPhrase

VP useofVPruns

likes

V V catVVerb

V useofVlikes

beats

V V catVVerb

V useofVbeats

Prepositions

to

PREP PREP catPREPPreposition

PREP useofPREPto

with

PREP PREP catPREPPreposition

PREP useofPREPwith

on

PREP PREP catPREPPreposition

PREP useofPREPon

A STG description

This adds a Situation Theoretic Grammar semantic treatment for the Ro oth fragment

Ro oth This deals with simple declarative sentences but not anaphora See Sec

tion for a full discussion Note unlike the Ro oth astl description ab ove here we

distinguish b etween prop er nouns pronouns and noun phrases

The semantics of an utterance is represented by a parametric fact and anchoring en

vironment The anchoring environment is extended with anchor relations as more

information is available ab out the sentence The describ ed situation is represented by

the reduction of the anchoring environment and parametric fact

Individuals

aht

Relations

useof cat

env sem described

NounPhrase Noun Determiner

APPENDIX A EXAMPLES

Sentence VerbPhrase Verb

PrepPhrase Preposition

Discourse pform

subj obj comp pred

var range body quantifier

arg arg arg prep

label anchor

beat like walk talk smile sing run

man donkey

named

Parameters

RQPAAADSNPVPPNNPREPDETVENVDS

SMA WA SA RA R TA LA LA BA BA MA

DA

Variables

X S Y Z Fact Qexpr use

DS Env

SEnv VPEnv VEnv NPEnv NEnv DetEnv PEnv

PPEnv EnvType

Body Range Type Z

R A A A VR VA VA VA

SDS DStype DS DS DS

pred Var Pvar Basis pobj obj prep

PA PA PR

Situations

SmileEnv Env Env labelRpred

Env anchorRsmile

Env labelSMAsubj

SingEnv Env Env labelRpred

Env anchorRsing

Env labelSAsubj

WalkEnv Env Env labelRpred

Env anchorRwalk

Env labelWAsubj

RunEnv Env Env labelRpred

Env anchorRrun

Env labelRAsubj

TalkEnv Env Env labelRpred

Env anchorRtalk

Env labelTAsubj

LikeEnv Env Env labelRpred

Env anchorRlike

Env labelLAsubj

Env labelLAobj

BeatEnv Env Env labelRpred

Env anchorRbeat

A STG DESCRIPTION

Env labelBAsubj

Env labelBAobj

ManEnv Env Env labelRpred

Env anchorRman

Env labelMAarg

DonkeyEnv Env Env labelRpred

Env anchorRdonkey

Env labelDAarg

AEnv Env Env labelQquantifier

Env anchorQsome

Env labelAvar

Env labelArange

Env labelAbody

EveryEnv Env Env labelQquantifier

Env anchorQevery

Env labelAvar

Env labelArange

Env labelAbody

WithEnv Env Env labelPprep

Env anchorPwith

Env labelAarg

Env labelAarg

GoalProp

S S S catSdiscourse

A rather exhaustive set of constraints is needed to sp ecify the relationship b etween

the parametric fact and anchoring environment to the describ ed situation These

constraints are really just cases of the same notional constraint They try to capture

the notion of reduction as discussed in Section Even with this large number of

similar constraints the full notion of reduction is actually not captured

Constraints

S S S describedSDS

DS DS VRVAVAVA

S S S catSsentence

S semSRAAA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

Env anchorAVA

Env anchorAVA

S S S describedSDS

APPENDIX A EXAMPLES

DS DS VRVAVAVA

S S S catSVerbPhrase

S envSSEnv

Env Env anchorRVR

Env anchorAVA

Env anchorAVA

Env anchorAVA

S semSRAAA

S S S describedSDS

DS DS VRVAVA

S S S catSsentence

S semSRAA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

Env anchorAVA

S S S describedS

DS DS DS VRAVA

S S S catSVerbPhrase

S envSVPEnv

Env Env anchorRVR

Env anchorAVA

S semSRAA

S S S describedSDS DS DS VRVA

S S S catSsentence

S semSRA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

S S S describedSDS DS DS VRA

S S S catSVerbPhrase

S semSRA

S envSVPEnv

Env Env anchorRVR

S S S describedSDS DStype

A STG DESCRIPTION

S S S catSnoun

S useofSX

Grammar Rules

S NP VP

As proper nouns are not treated like quantifiers a la

Montague two rules are necessary one to deal with a

proper noun subject and a second to deal with a quantified

NP

S S catSSentence

S semSFact

S envSSEnv EnvType

Env Env anchorXY

NP NP catNPNounPhrase

NP useofNPuse lexical NP

NP semNPY

VP VP catVPVerbPhrase

VP semVPFact

VP envVPVPEnv EnvType

Env Env labelXsubj

S S catSSentence

S semSQexpr

S envSSEnv EnvType

Env Env anchorYVar

Env anchorBodyDSType

NP NP catNPNounPhrase

NP semNPQexpr

NP envNP Env EnvType

Env Env labelBodybody

Env labelXvar

Env anchorXVar

VP VP catVPVerbPhrase

VP describedVPDS DSType

VP envVPVPEnv Env Env labelYsubj

APPENDIX A EXAMPLES

VP semVPFact

VP V NP

Again two rules one for a proper noun object and the

second for quantified NPs

VP VP catVPVerbPhrase

VP envVPVPEnv EnvType

Env Env anchorBody

predYVar

Env labelYsubj

VP semVPQexpr

V V catVVerb

V envVEnv

Env Env labelYsubj

Env labelRpred

Env anchorRpred

V semVFact

NP NP catNPNounPhrase

NP envNPEnv Envtype

Env Env labelRangerange

Env labelBodybody

Env labelPvarvar

Env anchorPvarVar

NP semNPQexpr

VP VP catVPVerbPhrase

VP envVPVPEnv EnvType

Env Env anchorXY

VP semVPFact

V V catVVerb

V envVEnv Envtype

Env Env labelXobj

V semVFact

NP NP catNPNounPhrase

NP useofNPuse lexical NP

NP semNPY

NP Det N

A STG DESCRIPTION

NP NP catNPNounPhrase

NP semNPQEXPR

NP envNPNPEnv

EnvType

Env Env anchorXA

Env anchorRange

DStype

DS DS predA

DET DET catDETDeterminer

DET semDETQEXPR

DET envDETDetEnv

EnvType

Env Env labelRangerange

Env labelXvar

N N catNnoun

N envNEnv

Env Env labelAarg

Env anchorRpred

N describedNDS DStype

N semNRA

N N PP

Reduction is done on the fly here

N N catNnoun

N semNY

N describedNDS DStype

DS DS prepAZ

N envNNEnv Envtype

N N catNnoun

N envNEnv Envtype

Env Env labelAarg

N semNY

PP PP catPPPrepPhrase

PP describedPPDS DStype

PP envPPPPEnv

Env Env labelPAarg

Env labelPAarg

Env anchorPAZ

Env labelPRprep

Env anchorPRprep

PP P NP

APPENDIX A EXAMPLES

Two are required the first for proper nouns second for

quantified NPs

PP PP catPPPrepPhrase

PP describedPPDS DStype

PP envPPPPEnv Envtype

Env Env anchorPAY

PREP PREP catPREPPreposition

PREP envPREPPenv Envtype

Env Env labelPAarg

NP NP catNPNounPhrase

NP useofNPuse lexical NP

NP semNPY

D S

D D catDDiscourse

D envSEnv

D describedDDS

S S catSSentence

S envSEnv

S describedSDS

D D S

This is again a little hacky The sentence described is always

one fact so we can add it we know its not a them to the

discourse described but we need a rule for each semantic arity

D D catDDiscourse

D describedDDS DStype

DS DS RA

D D catDDiscourse

D describedDDS DStype

S S catSSentence

S describedSDS

DS DS RA

A basic set of lexical entries to allow some the simple classic sentences Note the

constraints ab ove are sometimes used to expand entries ie like Lexical Redundancy

Rules

Lexical Entries

A STG DESCRIPTION

Nouns

Hanako

PN PN catPNNounPhrase

PN useofPNHanako

PN semPNh

Taro

PN PN catPNNounPhrase

PN useofPNTaro

PN semPNt

Anna

PN PN catPNNounPhrase

PN useofPNAnna

PN semPNa

man

N N catNNoun

N useofNman

N semNRMA

N envNManEnv

donkey

N N catNNoun

N useofNdonkey

N semNRDA

N envNDonkeyEnv

Pronouns

Not used in this actual description

he

PN PN catPNNounPhrase

PN useofPNhe

PN semPNX

she

PN PN catPNNounPhrase

PN useofPNshe

PN semPNX

it

PN PN catPNNounPhrase

PN useofPNit

PN semPNX

Determiners

Their semantics is a relation between a variable a parameter

and a range a type and a body a type too

APPENDIX A EXAMPLES

a

DET DET catDETDeterminer

DET useofDETa

DET semDETQAAA

DET envDETAEnv

every

DET DET catDETDeterminer

DET useofDETevery

DET semDETQAAA

DET envDETEveryEnv

Verbs

smiles

VP VP catVPVerbPhrase

VP useofVPsmiles

VP semVP RSMA

VP envVPSmileEnv

sings

VP VP catVPVerbPhrase

VP useofVPsings

VP semVP RSA

VP envVPSingEnv

walks

VP VP catVPVerbPhrase

VP useofVPwalks

VP semVP RWA

VP envVPWalkEnv

talks

VP VP catVPVerbPhrase

VP useofVPtalks

VP semVPRTA

VP envVPTalkEnv

runs

VP VP catVPVerbPhrase

VP useofVPruns

VP semVPRRA

VP envVPRunEnv

likes

V V catVVerb

V useofVlikes

V envVLikeEnv

V semVRLALA

beats

V V catVVerb

A DRT DESCRIPTION

V useofVbeats

V semVRBABA

V envVBeatEnv

Prepositions

to

PREP PREP catPREPPreposition

PREP useofPREPto

with

PREP PREP catPREPPreposition

PREP useofPREPwith

PREP semPREPPAA

PREP envPREPWithEnv

on

PREP PREP catPREPPreposition

PREP pformPREPon

PREP useofPREPon

A DRT description

This is a DRT description in astl as describ ed in Chapter Again it is based on

the Ro oth fragment Unlike the STG description this deals with pronouns including

donkey anaphora

Unlike the STG description the semantics a DRS is built up using a threading tech

nique rather than what is eectively lambda application and reduction Threading

relations are set up b etween utterance situations sp ecing an ordering The DRSs are

sp ecied as monotonically increasing over threads

Individuals

Relations

useof cat

sem env type threads

NounPhrase Sentence VerbPhrase Discourse

ProperNoun ProNoun PrepPhrase Preposition

FullDiscourse DisStart DisEnd

subj pred

label anchor

sing like smile

donkey man hat with

named male female neuter

DRSIn DRSOut

tin tout tfeed tneed

APPENDIX A EXAMPLES

accessible

Hush relations not to be displayed on output by default

daughter threads

Parameters

RAA A SSSTSNPVPPNVEnvDSRes

PN PN PN A PREP PP

DA MA HA T H P

Variables

X Y Z S U Fact VPEnv SEnv VPEnvType VEnv

VEnvType Env PPEnv PEnv EnvType Nenv

R A A VR VA VA DS DS PN R

pred

DRSIn DRSout AOut AIn AType Access

ThreadS ThreadNP ThreadVP ThreadV Thread ThreadDS

ThreadDS TYPE OUT

A OUT M M TD

QEXPR Range Body BodyDRS RangeDRS

QUANT PQUANT PVAR PRANGE PBODY Name

T T T S S P P NPSem

NP VP V N DET PP PREP N D

Situations

SingEnv Env Env labelRpred

Env anchorRsing

Env labelAsubj

SmileEnv Env Env labelRpred

Env anchorRsmile

Env labelAsubj

WalkEnv Env Env labelRpred

Env anchorRwalk

Env labelWAsubj

TalkEnv Env Env labelRpred

Env anchorRtalk

Env labelTAsubj

LikeEnv Env Env labelRpred

Env anchorRlike

Env labelAsubj

Env labelAobj

ManEnv Env Env labelRpred

Env anchorRman

Env labelMAarg

DonkeyEnv Env Env labelRpred

Env anchorRdonkey

Env labelDAarg

HatEnv Env Env labelRpred

Env anchorRhat

Env labelHAarg

A DRT DESCRIPTION

AEnv Env Env labelQquantifier

Env anchorQsome

Env labelAvar

Env labelArange

Env labelAbody

EveryEnv Env Env labelQquantifier

Env anchorQevery

Env labelAvar

Env labelArange

Env labelAbody

WithEnv Env Env labelPprep

Env anchorPwith

Env labelAarg

Env labelAarg

AccessStart

GoalProp

S S S catSfulldiscourse

S DRSOutSAOutDRSout

Constraints

These rst set of constraints dene the relationship b etween the incoming DRS and

the outgoing DRS in the various types of no de The only interesting ones are sentences

where a new condition is added nouns where type information malefemale is added

and pronouns where the accessible markers are checked a ob ject of the right type that

has already b een mentioned The other utterance types simply copy the DRSIn to

DRSOut

S S S DRSOutS

Access

DRSIn

DS DS VRVA

S S S catSsentence

S DRSInSAccessDRSIn

S semSRA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

S S S DRSOutS

Access

DRSIn

DS DS VRVAVA

S S S catSsentence

S DRSInSAccessDRSIn

APPENDIX A EXAMPLES

S semSRAA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

Env anchorAVA

S S S DRSoutS

Access AType

AS AS accessibleXTYPE

DRSIn

DS DS namedXName

S S S catSProperNoun

S useofSName

S semSX

S typeSTYPE

S DRSInSA AType DRSIn

S S S DRSoutS

A AType

DRSIn

DS DS isXY

S S S catSPronoun

S typeSTYPE

S semSX

S DRSInS

A AType

A A accessibleYTYPE

DRSIn

S S S DRSOutS

Access

DRSIn

DS DS everyRangeDRSBodyDRS

S S S catSDeterminer

S partofdiscourseSTD

S DRSInSAccessDRSIn

S semSPQUANTXYZ

S envSSEnv

Env Env anchorPQUANTevery

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S DRSOutSABodyDRS

A DRT DESCRIPTION

T TS TS partofdiscourseTSTD

TS trangeSRange

S S partofdiscourseSTD

S DRSOutSARangeDRS

S S S DRSOutSAccessDRSIn

S S S catSDeterminer

S partofdiscourseSTD

S semSPQUANTXYZ

S envSSEnv

Env Env anchorPQUANTsome

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S DRSOutS

Access

DRSIn

S S S DRSOutSAccessDRSOut

S S S catSNounPhrase

S daughterS

DS DS DS catDS

determiner

S DRSInSAccessDRSOut

S S S DRSOutSAccessBodyDRS

S S S catSNounPhrase

S partofdiscourseSTD

S daughterS

DS DS DS catDS

ProperNoun

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S DRSOutSAccessBodyDRS

S S S DRSOutSAccessBodyDRS

S S S catSNounPhrase

S partofdiscourseSTD

S daughterS

DS DS DS catDS ProNoun

APPENDIX A EXAMPLES

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S DRSOutS

Access

BodyDRS

S S S DRSOutS

A AType

AS AS accessibleATYPE

DRSIn

DS DS VRA

S S S catSNoun

S useofSX

S semSRA

S typeSTYPE

S envSSEnv

Env Env anchorRVR

S DRSInSAIn AType

DRSIn

S S S DRSOutS

Access

DRSIn

DS DS VRVAVA

S S S catSNoun

S envSSEnv

Env Env labelVAarg

S daughterSPP

PP PP catPPPrepPhrase

PP semPPRAA

PP envPPEnv

Env Env anchorRVR

Env anchorAVA

S DRSInSAccessDRSIn

S S S DRSOutSAccessDRSOut

S S S catSVerbPhrase

S DRSInSAccessDRSOut

S S S DRSOutSAccessBodyDRS

A DRT DESCRIPTION

S S S catSVerb

S partofdiscourseSTD

S semSRA

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S DRSOutSAccessBodyDRS

S S S DRSOutSAccessDRSOut

S S S catSVerb

S semSRAA

S DRSInSAccessDRSOut

S S S DRSOutSAccessDRSOut

S S S catSPreposition

S DRSInSAccessDRSOut

S S S DRSOutSAccessDRSOut

S S S catSPrepPhrase

S DRSInSAccessDRSOut

S S S DRSOutSAccessDRSOut

S S S catSDiscourse

S DRSInSAccessDRSOut

Special DRS used at start of subthreads

S S S DRSOutSAccessD

S S S catSMarker

S dominatorS

D D D RDAccessX

R

S S S DRSOutSAccessDRSOut

S S S catSFullDiscourse

S threadsST

TS TS toutSX

DS DS DRSOutDSAccessDRSOut

APPENDIX A EXAMPLES

The relationship b etween the DRSIn and the previous DRSOut is done by threading All

the situations which supp ort tin facts are checked for one where information ab out

the threading of that situation is found

S S S DRSInSADRSin

T TS TS partofdiscourseTSTD

TS tinS S

S S DRSOutSADRSIn

This is basically a lexical rule to add the base case of the threads Lexical items thread

through themselves as they have no daughters

S S S threadsSThread

TS TS tneedSS

S S S useofSY

Thread TS TS toutSS

S S S catSnoun

S useofSY

S threadsSThread

Thread TS TS toutSS

S S S catSverbphrase

S useofSY

S threadsSThread

Spurious partial analyses can o ccur so it is necessary to identify which discourse an

utterance is part of This is done by relating each utterance to the discourse situation

it is part of

D D D partofdiscourseDS

S S S catSFullDiscourse

S daughterSD

D D D partofdiscourseDX

S S S daughterSD

S partofdiscourseSX

A DRT DESCRIPTION

T D D partofdiscourseDX

S S S threadsST

S partofdiscourseSX

The actual grammar rules are resp onsible for building up the syntactic structure and

the basic semantic information relating noun phrases to arguments of verbs in a very

similar way to the the STG description The grammar rules also build up the threading

information

Grammar Rules

S NP VP

S S S catSSentence

S semSFact

S envSSEnv VPEnvType

Env Env anchorPNPSem

S daughterSNP

S daughterSVP

S threadsSThreadS

TS TS tneedSY

TS tinXZ

TS tbodyOUTOUT

TS tbodyOUTS

TS tinSVP

TS toutSOUT

NP NP NP catNPNounPhrase

NP semNPNPSem

NP threadsNPThreadNP

TS TS tneedNPY

TS toutNPOUT

TS tfeedNPZ

VP VP VP catVPVerbPhrase

VP semVP Fact

VP envVPVPEnv VPEnvType

Env Env labelPsubj

VP threadsVPThreadVP

TS TS tneedVPX

TS toutVPOUT

VP V NP

VP VP VP catVPVerbPhrase

APPENDIX A EXAMPLES

VP semVPFact

VP envVPVPEnv VEnvType

Env Env anchorPNPSem

VP daughterVPV

VP daughterVPNP

VP threadsVPThreadVP

TS TS tneedVPY

TS tinXZ

TS toutVPOUT

TS tinVPV

V V V catVVerb

V semVFact

V envVVEnv VEnvType

Env Env labelPobj

V threadsVThreadV

TS TS tneedVX

NP NP NP catNPNounPhrase

NP semNPNPSem

NP threadsNPThreadNP

TS TS tneedNPY

TS tfeedNPZ

TS toutNPOUT

VP Vintrans

VP VP VP catVPVerbPhrase

VP semVPRA

VP envVPVPEnv

VP daughterVPV

VP threadsVPThreadVP

TS TS tneedVPVP

TS toutVPV

V V V catVVerb

V semVRA

V envVVPEnv

NP Det Noun

NP NP NP catNPNounPhrase

NP semNPA

NP daughterNPDET

NP daughterNPN

NP threadsNPT

TS TS tneedNPX

A DRT DESCRIPTION

TS tinYM

S S catSMarker

S dominatorSDETDRSIn

TS tinNPOUT

TS trangeDETOUT

TS tfeedNPM

S S catSMarker

S dominatorSOUTDRSOut

TS toutNPDET

DET DET DET catDETDeterminer

DET semDETPQUANTPVAR

PRANGEPBODY

DET envDETEnv

Env Env anchor

PQUANTevery

DET threadsDETT

TS TS tneed

DETX

N N N catNnoun

N envNEnv

Env Env labelAarg

N semNRA

N threadsNT

TS TS tneedNY

TS toutNOUT

NP NP NP catNPNounPhrase

NP semNPA

NP daughterNPDET

NP daughterNPN

NP threadsNPT

TS TS tneedNPY

TS tinNPOUT

TS trangeDETOUT

TS tfeedNPNP

TS toutNPDET

DET DET DET catDETDeterminer

DET semDETPQUANTPVAR

PRANGEPBODY

DET envDETEnv

Env Env anchor

PQUANTsome

DET threadsDETT

TS TS tneedDETX

APPENDIX A EXAMPLES

N N N catNnoun

N envNEnv

Env Env labelAarg

N semNRA

N threadsNT

TS TS tneedNY

TS toutNOUT

NP Pronoun

NP NP NP catNPNounPhrase

NP semNPX

NP daughterNPPN

NP threadsNPThreadNP

TS TS tneedNPY

TS toutNPNP

TS tfeedNPPN

PN PN PN catPNPronoun

PN semPNX

PN threadsPNThread

TS TS tneedPNY

NP Propernoun

NP NP NP catNPNounPhrase

NP semNPX

NP daughterNPPN

NP threadsNPThreadNP

TS TS tneedNPY

TS toutNPNP

TS tfeedNPPN

PN PN PN catPNProperNoun

PN semPNX

PN threadsPNThread

TS TS tneedPNY

N N PP

N N N catNnoun

N daughterNN

N daughterNPP

N semNRA

N envNNEnv Envtype

A DRT DESCRIPTION

N threadsNT

TS TS tneedNX

TS tinNPP

TS tbodyOUTN

TS tinYOUT

TS toutNOUT

N N N catNnoun

N envNEnv Envtype

Env Env labelAarg

N semNRA

N threadsNT

TS TS tneedNX

TS toutNOUT

PP PP PP catPPPrepPhrase

PP semPPFact

PP threadsPPT

TS TS tneedPPY

TS toutPPOUT

PP P NP

PP PP PP catPPPrepPhrase

PP daughterPPPREP

PP daughterPPNP

PP semPPFact

PP envPPPPEnv EnvType

Env Env anchorPNPSem

PP threadsPPT

TS TS tneedPPY

TS tinXZ

TS tinPPPREP

TS toutPPOUT

PREP PREP PREP catPREPPreposition

PREP semPREPFact

PREP envPREPPEnv Envtype

Env Env label

Parg

PREP threadsPREPT

TS TS tneed

PREPX

NP NP NP catNPNounPhrase

NP semNPNPSem

NP threadsNPT

APPENDIX A EXAMPLES

TS TS tneedNPY

TS tfeedNPZ

TS toutNPOUT

Discourse S

DS DS DS catDSDiscourse

DS daughterDSS

DS threadsDSThreadDS

TS TS tneedDSX

TS tinDSS

TS toutDSOUT

S S S catSsentence

S threadsSThreadS

TS TS tneedSX

TS toutSOUT

Discourse Discourse S

DS DS DS catDSDiscourse

DS daughterDSDS

DS daughterDSS

DS threadsDSThreadDS

TS TS tneedDSX

TS tinYOUT

TS tinDSS

TS toutDSOUT

DS DS DS catDSDiscourse

DS threadsDSThreadDS

TS TS tneedDSX

TS toutDSOUT

S S S catSsentence

S threadsSThreadS

TS TS tneedSY

TS toutSOUT

Fulldiscourse ds Discourse de

DS DS catDSfulldiscourse

DS partofdiscourseDSDS

DS daughterDSS

DS daughterDSDS

DS threadsDS

ThreadDS

A DRT DESCRIPTION

TS TS partofdiscourseTSDS

TS tinXS

TS toutDSY

S S S catSDisStart

DS DS DS catDSdiscourse

DS threadsDSThreadDS

TS TS tneedDSX

TS toutDSY

S S catSDisEnd

Lexical Entries

Discourse start and end markers

ds

DS DS catDSDisStart

DS DRSOutDSAccessStartDS

de

DS DS catDSDisEnd

Proper nouns

Hanako

PN PN catPNProperNoun

PN useofPNHanako

PN typePNfemale

PN semPNh

Anna

PN PN catPNProperNoun

PN useofPNAnna

PN typePNfemale

PN semPNa

Taro

PN PN catPNProperNoun

PN useofPNTaro

PN typePNmale

PN semPNt

Pronouns

he

PN PN catPNProNoun

PN useofPNhe

PN typePNmale

APPENDIX A EXAMPLES

PN semPNPN

she

PN PN catPNProNoun

PN useofPNshe

PN typePNfemale

PN semPNPN

her

PN PN catPNProNoun

PN useofPNher

PN typePNfemale

PN semPNPN

it

PN PN catPNProNoun

PN useofPNit

PN typePNneuter

PN semPNPN

Common nouns

man

N N catNnoun

N useofNman

N typeNmale

N semNRMA

N envNManEnv

donkey

N N catNnoun

N useofNdonkey

N typeNneuter

N semNRDA

N envNDonkeyEnv

hat

N N catNnoun

N useofNhat

N typeNneuter

N semNRHA

N envNHatEnv

Quantifiers

a

D D catDDeterminer

D useofDa

D semDQAAA

D envDAEnv

every

A DPLNL DESCRIPTION

D D catDDeterminer

D useofDevery

D semDQAAA

D envDEveryEnv

Verbs

sings

VP VP catVPVerb

VP useofVPsings

VP semVPRA

VP envVPSingEnv

smiles

VP VP catVPVerb

VP useofVPsmiles

VP semVPRA

VP envVPSmileEnv

walks

VP VP catVPVerb

VP useofVPwalks

VP semVP RWA

VP envVPWalkEnv

talks

VP VP catVPVerb

VP useofVPtalks

VP semVPRTA

VP envVPTalkEnv

likes

V V catVVerb

V useofVlikes

V semVRAA

V envVLikeEnv

Prepositions

with

PREP PREP catPREPPreposition

PREP useofPREPwith

PREP semPREPPAA

PREP envPREPWithEnv

A DPLNL description

This is an astl description which gives a DPL like treatment to the Ro oth fragment

details are given in Chapter Utterance situations are related to input and output

APPENDIX A EXAMPLES

assignments which contain actual assignments and conditions on what they assign

This is based on the DRT description Basically the whole DRT description can b e used

and only the constraints regarding the relations b etween DRSs need to b e rewritten

The threading relations of DRSs and DPL assignments are exactly the same

Individuals

Relations

useof cat

sem env type threads

NounPhrase Sentence VerbPhrase Discourse

ProperNoun ProNoun PrepPhrase Preposition

FullDiscourse DisStart DisEnd

subj pred

label anchor

exists forall

sing like smile

donkey man hat with

named male female neuter

AssignIn AssignOut

tin tout tfeed tneed

Hush relations not to be displayed on output by default

daughter threads

Parameters

RAA A SSSTSNPVPPNVEnvDSRes

PN PN PN A PREP PP E H T P

DA MA HA WA TA T H P

Variables

X Y Z S U I K G Fact VPEnv SEnv

VEnvType Env PPEnv PEnv EnvType Nenv NPEnv

R A A A VR VA VA DS DS DS PN

pred VPEnvType VEnv

AssignIn AssignIn AssignOut

ThreadS ThreadNP ThreadVP ThreadV Thread ThreadDS

ThreadDS TYPE OUT TD

A Acc OUT M M

QEXPR Range Body BodyAssign RangeAssign

QUANT Q PVAR PRANGE PBODY Name

T T T S S P P NPSem BodyOut

NP VP V N DET PP PREP N D

Situations

SingEnv Env Env labelRpred

Env anchorRsing

Env labelAsubj

SmileEnv Env Env labelRpred

A DPLNL DESCRIPTION

Env anchorRsmile

Env labelAsubj

WalkEnv Env Env labelRpred

Env anchorRwalk

Env labelWAsubj

TalkEnv Env Env labelRpred

Env anchorRtalk

Env labelTAsubj

LikeEnv Env Env labelRpred

Env anchorRlike

Env labelAsubj

Env labelAobj

ManEnv Env Env labelRpred

Env anchorRman

Env labelMAarg

DonkeyEnv Env Env labelRpred

Env anchorRdonkey

Env labelDAarg

HatEnv Env Env labelRpred

Env anchorRhat

Env labelHAarg

AEnv Env Env labelQquantifier

Env anchorQsome

Env labelAvar

Env labelArange

Env labelAbody

EveryEnv Env Env labelQquantifier

Env anchorQevery

Env labelAvar

Env labelArange

Env labelAbody

WithEnv Env Env labelPprep

Env anchorPwith

Env labelAarg

Env labelAarg

GoalProp

S S S catSfulldiscourse

S AssignOutSAssignOut

Constraints

These rst set of constraints dene the relationship b etween the incoming assignments

and the outgoing assignment in the various types of no de The only interesting ones are

sentences where a new condition is added nouns where type information malefemale

is added and pronouns where the current AssignIn is checked for a ob ject of the right

type that has already b een mentioned Determiners also do interesting things The

other utterance types simply copy the AssignIn to AssignOut

APPENDIX A EXAMPLES

S S S AssignOutS

AssignIn

DS DS VRVA

S S S catSsentence

S AssignInSAssignIn

S semSRA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

S S S AssignOutS

AssignIn

DS DS VRVAVA

S S S catSsentence

S AssignInSAssignIn

S semSRAA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

Env anchorAVA

S S S AssignoutS

AssignIn

A A namedXName

A typeXTYPE

A assignedX

S S S catSProperNoun

S useofSName

S typeSTYPE

S semSX

S AssignInSAssignIn

S S S AssignoutSAssignIn

A A assignedX

A isXZ

S S S catSPronoun

S typeSTYPE

S semSX

S AssignInSAssignIn

S AccessibleS

Acc A A typeZTYPE

A accessibleZ

A DPLNL DESCRIPTION

S S S AssignOutS

AssignIn

DS DS forallRangeAssign

BodyAssign

S S S catSDeterminer

S partofdiscourseSTD

S semSQXYZ

S AssignInSAssignIn

S envSSEnv

Env Env anchorQevery

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S AssignOutS

BodyAssign

T TS TS partofdiscourseTSTD

TS trangeSRange

S S partofdiscourseSTD

S AssignOutS

RangeAssign

S S S AssignOutSBodyOut

S S S catSDeterminer

S partofdiscourseSTD

S semSQXYZ

S envSSEnv

Env Env anchorQsome

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S AssignOutS

BodyOut

S S S AssignMidS

G

A A assignedX

S S S catSDeterminer

S semSQXYZ

S envSSEnv

Env Env anchorQsome

APPENDIX A EXAMPLES

S AssignInSG

S indSI

S S S AssignMidS

A A assignedX

A oftypeAG

S S S catSDeterminer

S semSQXYZ

S envSSEnv

Env Env anchorQevery

S AssignInSG

S indSI

S S S AssignOutS

AssignIn

DS DS VRVA

DS typeVATYPE

S S S catSNounPhrase

S daughterS

DS DS

DS catDSdeterminer

S daughterS

DS DS

DS catDSnoun

DS typeDSTYPE

DS semDSRA

S envSSEnv

Env Env anchorRVR

Env anchorAVA

S AssignInSAssignIn

S S S AssignOutSBodyAssign

S S S catSNounPhrase

S partofdiscourseSTD

S daughterS

DS DS

DS catDSProperNoun

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S AssignOutS BodyAssign

A DPLNL DESCRIPTION

S S S AssignOutSBodyAssign

S S S catSNounPhrase

S daughterS

DS DS

DS catDSProNoun

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S AssignOutS

BodyAssign

S S S AssignOutSAssignOut

S S S catSNoun

S useofSX

S AssignInSAssignOut

S S S AssignOutS

AssignIn

DS DS VRVAVA

S S S catSNoun

S envSSEnv

Env Env labelVAarg

S daughterSPP

PP PP catPPPrepPhrase

PP semPPRAA

PP envPPEnv

Env

Env anchorR

VR

Env anchorA

VA

S AssignInSAssignIn

S S S AssignOutSAssignOut

S S S catSVerbPhrase

S AssignInSAssignOut

S S S AssignOutSBodyAssign

S S S catSVerb

S partofdiscourseSTD

S semSRA

APPENDIX A EXAMPLES

T TS TS partofdiscourseTSTD

TS tbodySBody

S S partofdiscourseSTD

S AssignOutS

BodyAssign

S S S AssignOutSAssignOut

S S S catSVerb

S semSRAA

S AssignInSAssignOut

S S S AssignOutSAssignOut

S S S catSPreposition

S AssignInSAssignOut

S S S AssignOutSAssignOut

S S S catSPrepPhrase

S AssignInSAssignOut

S S S AssignOutSAssignOut

S S S catSDiscourse

S AssignInSAssignOut

S S S AssignOutSAssignOut

S S S catSFullDiscourse

S threadsST

TS TS toutSX

DS DS AssignOutDSAssignOut

In this description accessibility is a direct function of the assigned DPL variables in the

incoming assignment We need merely to state the type of the accessibility situation

to b e that of the incoming assignment and that assigned variables are accessible ones

S S S AccessibleSAcc AssignIn

S S S AssignInSAssignIn

S S S accessibleX

A DPLNL DESCRIPTION

S S S assignedX

S S S AccessibleSAcc G

S S S AccessibleS

Acc T T oftypeTG

The relationship b etween the AssignIn and the previous AssignOut is done by threa

ding All the situations which supp ort the tin are checked for one where information

ab out the threading of that situation is found

S S S AssignInSAssignIn

T TS TS partofdiscourseTSTD

TS tinS

S

S

S AssignOutS

AssignIn

S S S AssignInSK

T TS TS partofdiscourseTSTD

TS tnote

DET

S S AssignMidSK

S

This is basically a lexical rule to add the base case of the threads Lexical items thread

through themselves as they have no daughters

S S S threadsSThread

TS TS tneedSS

S S S useofSY

Thread TS TS toutSS

S S S catSnoun

S useofSY

S threadsSThread

Thread TS TS toutSS

S S S catSverbphrase

APPENDIX A EXAMPLES

S useofSY

S threadsSThread

Spurious partial analyses can o ccur so it is necessary to identify which utterance si

tuations are part of which which discourse Thus each utterance situation is related

to the full discourse situation it is part of Also each situation containing threading

information is marked likewise

D D D partofdiscourseDS

S S S catSFullDiscourse

S daughterSD

D D D partofdiscourseDX

S S S daughterSD

S partofdiscourseSX

T D D partofdiscourseDX

S S S threadsST

S partofdiscourseSX

Grammar Rules

S NP VP

S S S catSSentence

S semSFact

S envSSEnv

VPEnvType

Env Env anchorPNPSem

S daughterSNP

S daughterSVP

S threadsSThreadS

TS TS tneedSY

TS tinXZ

TS tbodyOUTOUT

TS tbodyOUTS

TS tinSVP

TS toutSOUT

NP NP NP catNPNounPhrase

NP semNPNPSem

NP threadsNPThreadNP

TS TS tneedNPY

TS toutNPOUT

A DPLNL DESCRIPTION

TS tfeedNPZ

VP VP VP catVPVerbPhrase

VP semVP Fact

VP envVPVPEnv VPEnvType

Env Env labelPsubj

VP threadsVPThreadVP

TS TS tneedVPX

TS toutVPOUT

VP V NP

VP VP VP catVPVerbPhrase

VP semVPFact

VP envVP

VPEnv

VEnvType

Env Env anchorPNPSem

VP daughterVPV

VP daughterVPNP

VP threadsVPThreadVP

TS TS tneedVPY

TS tinVZ

TS toutVPOUT

TS tinVPV

V V V catVVerb

V semVFact

V envVVEnv VEnvType

Env Env labelPobj

V threadsVThreadV

TS TS tneedVX

NP NP NP catNPNounPhrase

NP semNPNPSem

NP threadsNPThreadNP

TS TS tneedNPY

TS tfeedNPZ

TS toutNPOUT

VP Vintrans

VP VP VP catVPVerbPhrase

VP semVPRA

VP envVPVPEnv

VP daughterVPV

VP threadsVPThreadVP

APPENDIX A EXAMPLES

TS TS tneedVPVP

TS toutVPV

V V V catVVerb

V semVRA

V envVVPEnv

NP Det Noun

NP NP NP catNPNounPhrase

NP semNPA

NP envNPNPEnv

EnvType

Env Env anchorAA

NP daughterNPDET

NP daughterNPN

NP threadsNPT

TS TS tneedNPX

TS tinNPOUT

TS tnoteDETY

TS trangeDETNP

TS tfeedNPNP

TS toutNPDET

DET DET DET catDETDeterminer

DET semDETQUANTAAA

DET threadsDETT

TS TS tneedDETX

N N N catNnoun

N envNEnv EnvType

Env Env labelAarg

N semNRA

N threadsNT

TS TS tneedNY

TS toutNOUT

NP Pronoun

NP NP NP catNPNounPhrase

NP semNPX

NP daughterNPPN

NP threadsNPThreadNP

TS TS tneedNPY

TS toutNPNP

TS tfeedNPPN

A DPLNL DESCRIPTION

PN PN PN catPNPronoun

PN semPNX

PN threadsPNThread

TS TS tneedPNY

NP Propernoun

NP NP NP catNPNounPhrase

NP semNPX

NP daughterNPPN

NP threadsNPThreadNP

TS TS tneedNPY

TS toutNPNP

TS tfeedNPPN

PN PN PN catPNProperNoun

PN semPNX

PN threadsPNThread

TS TS tneedPNY

N N PP

N N N catNnoun

N daughterNN

N daughterNPP

N semNRA

N typeNTYPE

N envNNEnv Envtype

N threadsNT

TS TS tneedNX

TS tinNPP

TS tbodyOUTN

TS tinYOUT

TS toutNOUT

N N N catNnoun

N envNEnv Envtype

Env Env labelAarg

N semNRA

N typeNTYPE

N threadsNT

TS TS tneedNX

TS toutNOUT

PP PP PP catPPPrepPhrase

PP semPPFact

PP threadsPPT

APPENDIX A EXAMPLES

TS TS tneedPPY

TS toutPPOUT

PP P NP

PP PP PP catPPPrepPhrase

PP daughterPPPREP

PP daughterPPNP

PP semPPFact

PP envPPPPEnv EnvType

Env Env anchorPNPSem

PP threadsPPT

TS TS tneedPPY

TS tinXZ

TS tinPPPREP

TS toutPPOUT

PREP PREP

PREP catPREPPreposition

PREP semPREPFact

PREP envPREPPEnv Envtype

Env Env labelParg

PREP threadsPREPT

TS TS tneedPREPX

NP NP NP catNPNounPhrase

NP semNPNPSem

NP threadsNPT

TS TS tneedNPY

TS tfeedNPZ

TS toutNPOUT

Discourse S

DS DS DS catDSDiscourse

DS daughterDSS

DS threadsDSThreadDS

TS TS tneedDSX

TS tinDSS

TS toutDSOUT

S S S catSsentence

S threadsSThreadS

TS TS tneedSX

TS toutSOUT

A DPLNL DESCRIPTION

Discourse Discourse S

DS DS DS catDSDiscourse

DS daughterDSDS

DS daughterDSS

DS threadsDSThreadDS

TS TS tneedDSX

TS tinYOUT

TS tinDSS

TS toutDSOUT

DS DS DS catDSDiscourse

DS threadsDSThreadDS

TS TS tneedDSX

TS toutDSOUT

S S S catSsentence

S threadsSThreadS

TS TS tneedSY

TS toutSOUT

Fulldiscourse ds Discourse de

DS DS catDSfulldiscourse

DS partofdiscourseDSDS

DS daughterDSDS

DS daughterDSD

DS threadsDS

ThreadDS

TS TS partofdiscourseTSDS

TS tinXD

TS toutDSY

D S S catSDisStart

DS DS DS catDSdiscourse

DS threadsDSThreadDS

TS TS tneedDSX

TS toutDSY

S S catSDisEnd

Lexical Entries

Discourse start and end markers

ds

DS DS catDSDisStart

APPENDIX A EXAMPLES

DS AssignOutDST

de

DS DS catDSDisEnd

Proper nouns

Hanako

PN PN catPNProperNoun

PN useofPNHanako

PN typePNfemale

PN semPNh

Anna

PN PN catPNProperNoun

PN useofPNAnna

PN typePNfemale

PN semPNa

Taro

PN PN catPNProperNoun

PN useofPNTaro

PN typePNmale

PN semPNt

Pronouns

he

PN PN catPNProNoun

PN useofPNhe

PN typePNmale

PN semPNPN

she

PN PN catPNProNoun

PN useofPNshe

PN typePNfemale

PN semPNPN

her

PN PN catPNProNoun

PN useofPNher

PN typePNfemale

PN semPNPN

it

PN PN catPNProNoun

PN useofPNit

PN typePNneuter

PN semPNPN

Common nouns

A DPLNL DESCRIPTION

man

N N catNnoun

N useofNman

N typeNmale

N semNRMA

N envNManEnv

donkey

N N catNnoun

N useofNdonkey

N typeNneuter

N semNRDA

N envNDonkeyEnv

hat

N N catNnoun

N useofNhat

N typeNneuter

N semNRHA

N envNHatEnv

Quantifiers

a

D D catDDeterminer

D useofDa

D semDQEAA

D indDI

D envDAEnv

every

D D catDDeterminer

D useofDevery

D semDQAAA

D indDI

D envDEveryEnv

Verbs

sings

VP VP catVPVerb

VP useofVPsings

VP semVPRA

VP envVPSingEnv

smiles

VP VP catVPVerb

VP useofVPsmiles

VP semVPRA

APPENDIX A EXAMPLES

VP envVPSmileEnv

walks

VP VP catVPVerb

VP useofVPwalks

VP semVP RWA

VP envVPWalkEnv

talks

VP VP catVPVerb

VP useofVPtalks

VP semVPRTA

VP envVPTalkEnv

likes

V V catVVerb

V useofVlikes

V semVRAA

V envVLikeEnv

Prepositions

with

PREP PREP catPREPPreposition

PREP useofPREPwith

PREP semPREPPAA

PREP envPREPWithEnv