Files
INTUIA/Programa final/_internal/nltk_data/grammars/book_grammars/background.fol
T

23 lines
553 B
Plaintext
Raw Normal View History

2026-03-15 13:27:50 +00:00
## Natural Language Toolkit: background1.fol
##
## Illustration of simple knowledge base for use with inference tools.
## To accompany sem4.fcfg
##
## Author: Ewan Klein <ewan@inf.ed.ac.uk>
## URL: <http://nltk.sourceforge.net>
## For license information, see LICENSE.TXT
all x. (boxerdog(x) -> dog(x))
all x. (boxer(x) -> person(x))
all x. (-(dog(x) & person(x)))
all x. (married(x) <-> exists y. marry(x,y))
all x. (bark(x) -> dog(x))
all x. all y. (marry(x,y) -> (person(x) & person(y)))
(-(Vincent = Mia))
(-(Vincent = Fido))
(-(Mia = Fido))