summaryrefslogtreecommitdiff
path: root/grammars/resource/abstract/Database.gf
diff options
context:
space:
mode:
authoraarne <unknown>2003-09-22 13:16:55 +0000
committeraarne <unknown>2003-09-22 13:16:55 +0000
commitb1402e8bd6a68a891b00a214d6cf184d66defe19 (patch)
tree90372ac4e53dce91cf949dbf8e93be06f1d9e8bd /grammars/resource/abstract/Database.gf
Founding the newly structured GF2.0 cvs archive.
Diffstat (limited to 'grammars/resource/abstract/Database.gf')
-rw-r--r--grammars/resource/abstract/Database.gf36
1 files changed, 36 insertions, 0 deletions
diff --git a/grammars/resource/abstract/Database.gf b/grammars/resource/abstract/Database.gf
new file mode 100644
index 000000000..d261e3e11
--- /dev/null
+++ b/grammars/resource/abstract/Database.gf
@@ -0,0 +1,36 @@
+abstract Database = {
+
+flags startcat=Query ;
+
+cat
+ Query ; Phras ; Statement ; Question ;
+ Noun ; Subject ; Value ; Property ; Relation ; Comparison ; Name ;
+ Feature ;
+
+fun
+ LongForm : Phras -> Query ;
+ ShortForm : Phras -> Query ;
+
+ WhichAre : Noun -> Property -> Phras ;
+ IsThere : Noun -> Phras ;
+ AreThere : Noun -> Phras ;
+ IsIt : Subject -> Property -> Phras ;
+ WhatIs : Value -> Phras ;
+
+ MoreThan : Comparison -> Subject -> Property ;
+ TheMost : Comparison -> Noun -> Value ;
+ Relatively : Comparison -> Noun -> Property ;
+
+ RelatedTo : Relation -> Subject -> Property ;
+
+ Individual : Name -> Subject ;
+ AllN : Noun -> Subject ;
+ Any : Noun -> Subject ;
+ MostN : Noun -> Subject ;
+ EveryN : Noun -> Subject ;
+
+ FeatureOf : Feature -> Subject -> Subject ;
+ ValueOf : Feature -> Name -> Value ;
+
+ WithProperty : Noun -> Property -> Noun ;
+} ;