Every country that does not border a sea is a landlocked-country.
SubClassOf(
ObjectIntersectionOf(
:country
ObjectComplementOf(
ObjectSomeValuesFrom(
:border
:sea
)
)
)
:landlocked-country
)
Which country is a landlocked-country?
ObjectIntersectionOf(
:country
:landlocked-country
)
abstract Unitconv = {
flags startcat = Unitconv ;
cat Unit ; Unitconv ;
fun
unitconv : Unit -> Unit -> Unitconv ;
land_mile, nautical_mile : Unit ;
}
concrete UnitconvEng of Unitconv = {
lincat Unit, Unitconv = {s : Str} ;
lin
unitconv x y = {s = "how much is" ++ x.s ++ "in" ++ y.s ++ "?"} ;
land_mile = {s = "mile"} ;
nautical_mile = {s = "nautical mile" | "mile"} ;
}
concrete UnitconvWolfram of Unitconv = {
lincat Unit, Unitconv = {s : Str} ;
lin
unitconv x y = {s = "convert" ++ x.s ++ "to" ++ y.s} ;
land_mile = {s = "mile"} ;
nautical_mile = {s = "nmi"} ;
}
Parsing i.e. converting a string how much is nautical mile in mile ? to tree(s)
Unitconv> parse -lang=Eng "how much is nautical mile in mile ?"
unitconv nautical_mile land_mile
unitconv nautical_mile nautical_mile
Linearization i.e. converting a tree unitconv nautical_mile land_mile to string(s)
Unitconv> linearize -treebank -list (unitconv nautical_mile land_mile)
UnitconvEng: how much is nautical mile in mile ?, , how much is mile in mile ?
UnitconvWolfram: convert nmi to mile
Translation i.e. parse + linearize
Unitconv> parse -lang=Eng "how much is nautical mile in mile ?" | l -lang=Wolfram
convert nmi to mile
convert nmi to nmi
An ACE grammar in GF/RGL adds multiple natural languages as front-ends to ACE.
p -lang=Ace "if a person admires no golfer then the person buys
at least 2 aquariums that nothing but travelers inspect ." | l
si una persona no admira cap golfista llavors la persona compra
almenys 2 aquarins que nomÈs viatgers inspeccionen .
als een persoon geen golfer bewondert , dan koopt de persoon
ten minste 2 aquaria die slechts reizigers inspecteren .
jos henkilö ei ihaile mitään golfaajaa niin henkilö ostaa
vähintään 2 akvaariota jonka vain matkustajat tarkastavat .
si une personne n' admire aucun golfeur alors la personne achète
au moins 2 aquariums que seulement des voyageurs inspectent .
wenn eine Person keinen Golfer bewundert , dann kauft die Person
wenigstens 2 Aquariume die nur Reisenden inspizieren .
si una persona non ammira nessuno giocatore di golf allora la persona compra
almeno 2 acquari che soltanto viaggiatori ispezionano .
si una persona no admira hacia golfista entonces la persona compra
al menos 2 acuarios que solamente viajeros inspeccionan .
om en person beundrar inget golfspelare så personen köper
minst 2 akvariumar som bara resenärar avsynar .
Table of Contents | t |
---|---|
Exposé | ESC |
Full screen slides | e |
Presenter View | p |
Source Files | s |
Slide Numbers | n |
Toggle screen blanking | b |
Show/hide slide context | c |
Notes | 2 |
Help | h |