summaryrefslogtreecommitdiff
path: root/examples/phrasebook/Words.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-04-05 16:36:38 +0000
committeraarne <aarne@chalmers.se>2010-04-05 16:36:38 +0000
commit2ced613d81b1fb93e3e60c974eee73a8872d7093 (patch)
tree1cf145a675fc1e69210b41810cf50688493236a1 /examples/phrasebook/Words.gf
parentc87fe6f0f6e95b5e9c1eddc7b83de4ce36b6958e (diff)
generalized and extended Phrasebook in many ways
Diffstat (limited to 'examples/phrasebook/Words.gf')
-rw-r--r--examples/phrasebook/Words.gf39
1 files changed, 30 insertions, 9 deletions
diff --git a/examples/phrasebook/Words.gf b/examples/phrasebook/Words.gf
index 0d364be20..594589569 100644
--- a/examples/phrasebook/Words.gf
+++ b/examples/phrasebook/Words.gf
@@ -4,27 +4,48 @@ abstract Words = Sentences ** {
fun
Wine, Beer, Water, Coffee, Tea : Kind ;
Cheese, Fish, Pizza : Kind ;
- Fresh, Warm, Italian,
+ Fresh, Warm,
Expensive, Delicious, Boring, Good : Property ;
- Bar, Restaurant, Toilet : PlaceKind ;
+ Bar, Restaurant, Toilet,
+ Museum, Airport, Station, Hospital, Church : PlaceKind ;
Euro, Dollar, Lei : Currency ;
- English, Finnish, French, Romanian, Swedish : Language ;
+ English, Finnish, French, Italian, Romanian, Swedish : Nationality ;
+ Belgian : Citizenship ;
+ Flemish : Language ;
+ Belgium : Country ;
--- actions can be expressed by different structures in different languages
+ Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday : Day ;
- AWant : Person -> Object -> Action ;
- ALike : Person -> Item -> Action ;
- AHave : Person -> Kind -> Action ;
- ASpeak : Person -> Language -> Action ;
- ALove : Person -> Person -> Action ;
+-- actions can be expressed by different structures in different languages
+ AWant : Person -> Object -> Action ;
+ ALike : Person -> Item -> Action ;
+ AHave : Person -> Kind -> Action ;
+ ASpeak : Person -> Language -> Action ;
+ ALove : Person -> Person -> Action ;
+ ACitizen : Person -> Citizenship -> Action ;
AHungry : Person -> Action ;
AThirsty : Person -> Action ;
ATired : Person -> Action ;
+ AIll : Person -> Action ;
AScared : Person -> Action ;
AUnderstand : Person -> Action ;
+ AKnow : Person -> Action ;
+ AWantGo : Person -> Place -> Action ;
+ ABePlace : Person -> Place -> Action ;
+ AHasName : Person -> Name -> Action ;
+ ALive : Person -> Country -> Action ;
+
+ QWhatName : Person -> Question ;
+
+ PropOpen : Place -> Proposition ;
+ PropClosed : Place -> Proposition ;
+ PropOpenDate : Place -> Date -> Proposition ;
+ PropClosedDate : Place -> Date -> Proposition ;
+ PropOpenDay : Place -> Day -> Proposition ;
+ PropClosedDay : Place -> Day -> Proposition ;
}