mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
Extending resource.
This commit is contained in:
33
grammars/database/Database.gf
Normal file
33
grammars/database/Database.gf
Normal file
@@ -0,0 +1,33 @@
|
||||
abstract Database = {
|
||||
|
||||
flags startcat=Query ;
|
||||
|
||||
cat
|
||||
Query ;
|
||||
Category ; Subject ; Value ; Property ; Relation ; Comparison ; Name ;
|
||||
Feature ;
|
||||
|
||||
fun
|
||||
WhichAre : Category -> Property -> Query ;
|
||||
IsThere : Category -> Query ;
|
||||
AreThere : Category -> Query ;
|
||||
IsIt : Subject -> Property -> Query ;
|
||||
WhatIs : Value -> Query ;
|
||||
|
||||
MoreThan : Comparison -> Subject -> Property ;
|
||||
TheMost : Comparison -> Category -> Value ;
|
||||
Relatively : Comparison -> Category -> Property ;
|
||||
|
||||
RelatedTo : Relation -> Subject -> Property ;
|
||||
|
||||
Individual : Name -> Subject ;
|
||||
AllN : Category -> Subject ;
|
||||
Any : Category -> Subject ;
|
||||
MostN : Category -> Subject ;
|
||||
EveryN : Category -> Subject ;
|
||||
|
||||
FeatureOf : Feature -> Subject -> Subject ;
|
||||
ValueOf : Feature -> Name -> Value ;
|
||||
|
||||
WithProperty : Category -> Property -> Category ;
|
||||
} ;
|
||||
Reference in New Issue
Block a user