Exercise-ch5: Difference between revisions

From Lexical Resource Semantics
Jump to navigation Jump to search
Line 60: Line 60:
Which parts of the logical form are contributed by which word?
Which parts of the logical form are contributed by which word?
|type="[]"}
|type="[]"}
|''e'' ¦|'''pat''' ¦|'''chris''' ¦|'''like''' ¦|'''like''' • ''e'' ¦|('''like''' • ''e'') • '''chris''' ¦|(('''like''' • ''e'') • '''chris''') • '''pat'''
|''e'' ¦|'''pat''' ¦| '''chris''' ¦| '''like''' ¦| '''like''' • ''e'' ¦| ('''like''' • ''e'') • '''chris''' ¦| (('''like''' • ''e'') • '''chris''') • '''pat'''
-+----- ''Pat''
-+----- ''Pat''
+--++++ ''likes''
+--++++ ''likes''
--+---- ''Chris''
--+---- ''Chris''


{Sentence: ''Pat likes Chris.''<br />Logical form: (('''like''' &bull; ''e'') &bull; '''chris''') &bull; '''pat'''<br />
{Sentence: ''Alex is happy.''<br />Logical form: (('''happy''' &bull; ''e'') &bull; '''alex''')<br />
Which parts of the logical form are contributed by which word?
Which parts of the logical form are contributed by which word?
|type="[]"}
|type="[]"}
|''e'' &brvbar;|'''pat''' &brvbar;|'''chris''' &brvbar;|'''like''' &brvbar;|'''like''' &bull; ''e'' &brvbar;|('''like''' &bull; ''e'') &bull; '''chris''' &brvbar;|(('''like''' &bull; ''e'') &bull; '''chris''') &bull; '''pat'''
|''e'' &brvbar; |'''alex''' &brvbar; |'''happy''' &brvbar; | '''happy''' &bull; ''e'' &brvbar; | ('''happy''' &bull; ''e'') &bull; '''alex'''
-+----- ''Pat''
-+---- ''Alex''
+--++++ ''likes''
+--+++ ''is''
--+---- ''Chris''
--+--- ''happy''


</quiz>
</quiz>

Revision as of 20:08, 3 November 2013

Exercises for chapter 5: Simple LRS

Functional notation

We have introduced the functional notation and the eventuality variable in chapter 5. What are the new formulae that correspond to the formulae from chapter 2?

1 Notation from chapter 2: hobbit(frodo)
New notation:

frodohobbit
hobbitfrodo

2 Notation from chapter 2: walk(frodo)
New notation:

walkfrodo
(walke)•frodo
(walkfrodo)•e

3 Notation from chapter 2: help(aragorn,frodo)
New notation:

((helpe)•frodo)•aragorn
((helpe)•aragorn)•frodo
((helparagorn)•frodo)•e


Semantic types

Add the semantic types in the blanks. Use simple letters ("e" or "t") for simple types. Use round brackets for complex types (for example: "(e,t)").

1 Add the types for simple expressions:

a. frodo_


b. hobbit_


c. walk_


d. help_


e. (hobitx)_

2 Add the semantic types for complex expressions:

a. ((walk_

e_

) • aragorn_

)_

b. (hobbit_

y_

)_


Basic combinatorics

1 Sentence: Pat likes Chris.
Logical form: ((likee) • chris) • pat
Which parts of the logical form are contributed by which word?

e ¦pat ¦ chris ¦ like ¦ likee ¦ (likee) • chris ¦ ((likee) • chris) • pat
Pat
likes
Chris

2 Sentence: Alex is happy.
Logical form: ((happye) • alex)
Which parts of the logical form are contributed by which word?

e ¦ alex ¦ happy ¦ happye ¦ (happye) • alex
- Alex
+ is
- happy



Back to