Skip to content

Instantly share code, notes, and snippets.

@patham9
Created September 14, 2022 13:41
Show Gist options
  • Save patham9/651a4699deb9b72aa93b014573edf766 to your computer and use it in GitHub Desktop.
Save patham9/651a4699deb9b72aa93b014573edf766 to your computer and use it in GitHub Desktop.
GPT-3 (text-davinci-002) prompt to translate English to Narsese (via examples only, and no higher-order relations)
Q: Garfield is a cat
A: <{Garfield} --> cat>.
Q: cats are animals
A: <cat --> animal>.
Q: dogs are barking
A: <dog --> [bark]>.
Q: Garfield is a yellow cat
A: <{Garfield} --> ([yellow] & cat)>.
Q: Slow cars are bad
A: <([slow] & car) --> [bad]>.
Q: cats eat mice
A: <(cat * mouse) --> eat>.
Q: the human drinks white liquid
A: <(human * ([white] & liquid)) --> drink>.
Q: Cats eat mice and are fast animals
A: <(cat * mice) --> eat>. <cat --> ([fast] & animal)>.
Q: Cars are devices built by humans. Cars are fast.
A: <(car * human) --> built>. <car --> [fast]>.
Q: A clock is left to the fridge
A: <(clock * fridge) --> [left]>.
Q: The cat is drinking black coffee
A: <(cat * ([black] & coffee)) --> drink>.
Q: The hat is made of steel
A: <(hat * steel) --> made>.
Q: Narsese is a good language
A: <Narsese --> ([good] & language)>.
Q: the dog has a yellow leg
A: <(dog * ([yellow] & leg)) --> has>.
Q: The cat likes to eat bad food in the garden
A: <(cat * ([bad] & food)) --> eat>. <(cat * garden) --> in>.
Q: The fridge is old and rusty
A: <fridge --> [old]>. <fridge --> [rusty]>.
Q: The bear is fat yet fast
A: <bear --> ([fat] & [fast])>.
Q: The duck and the cat are animals
A: <duck --> animal>. <cat --> animal>.
Q: a car and an airplane are vehicles
A:<car --> vehicle>. <airplance --> vehicle>.
Q: a rat and a cat are animals
A: <rat --> animal>. <cat --> animal>.
Q: the glass in the garden is transparent but also scratched
A: <(glass * garden) --> in>. <glass --> [transparent]>. <glass --> [scratched]>.
Q: the cat needs a new smartphone to use
A: <(cat * ([new] & smartphone)) --> needs>.
Q: my neighbour will bring me a pizza and beer
A: <(neighbour * pizza) --> bring>. <(neighbour * beer) --> bring>.
Q: bring me a pizza!
A: <(human * pizza) --> [bring]>!
Q: i want a beer!
A: <(human * beer) --> [bring]>!
Q: i want to have a new car!
A: <(human * ([new] & car)) --> [bring]>!
Q: I want to have a full battery!
A: <(human * ([full] & battery)) --> [bring]>!
Q: is the microwave on?
A: <microwave --> [on]>?
Q: is there a person to the left?
A: <person --> [left]>?
Q: is there a tree to the left?
A: <tree --> [left]>?
Q: I want a beautiful tree!
A: <(human * ([beautiful] & tree)) --> [bring]>!
Q: a bomb is hitting the building
A: <(bomb * building) --> hit>.
Q: the cat is hungry and eats the mouse
A: <(cat * brown mouse) --> eat>. <cat --> ([fast] & animal)>.
Q: the cup is on the table
A: <(cup * table) --> on>.
Q: a humulu is a green banana
A: <humulu --> ([green] & banana)>.
Q: A human is not a machine
A: (! <human --> machine>).
Q: a cat can't kill a human
A: (! <(cat * human) --> kill>).
Q: please make coffee!
A: <(human * coffee) --> [bring]>!
Q: penguins are birds which do not fly
A: <penguin --> bird>. (! <penguin --> [fly]>).
Q: cars are machines built by humans
A: <(car * human) --> built>. <car --> machine>.
Q: cats and dogs are both animals
A: <cat --> animal>. <dog --> animal>.
Q: cats do meow and dogs do bark
A: <(cat * meow) --> do>. <(dog * bark) --> do>.
Q: Garfield is a cat.
A: <{Garfield} --> cat>.
Q: does Garfield meow?
A: <({Garfield} * meow) --> do>?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment