public:t-622-arti-11-1:lab_6_materials
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:t-622-arti-11-1:lab_6_materials [2011/03/02 18:45] – angelo | public:t-622-arti-11-1:lab_6_materials [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * You can download [[http:// | * You can download [[http:// | ||
| * PowerLoom documentation in [[http:// | * PowerLoom documentation in [[http:// | ||
| - | * Helpful | + | * Some **helpful** |
| - | (all-facts-of | + | (all-facts-of |
| - | (help assert) | + | (help assert) |
| - | (demo) | + | (demo) |
| </ | </ | ||
| Line 21: | Line 21: | ||
| (reset-features) | (reset-features) | ||
| (in-dialect KIF) | (in-dialect KIF) | ||
| - | </ | + | </ |
| (save-module " | (save-module " | ||
| Line 28: | Line 28: | ||
| </ | </ | ||
| - **Defining a basic type/class predicate (a unary relation) called a " | - **Defining a basic type/class predicate (a unary relation) called a " | ||
| - | (defconcept Person(? | + | (defconcept Person(? |
| - | (defconcept Male (?p Person)) | + | (defconcept Male (?p Person)) |
| - | (defconcept Female (?p Person)) ;; A Female is a (subset of) Person | + | (defconcept Female (?p Person)) |
| </ | </ | ||
| - **Basic TELLing and ASKing:**\\ < | - **Basic TELLing and ASKing:**\\ < | ||
| Line 66: | Line 66: | ||
| </ | </ | ||
| (assert (<=> (= (GetFather ?c) ?f) (and (Male ?f) (ParentOf ?f ?c)))) | (assert (<=> (= (GetFather ?c) ?f) (and (Male ?f) (ParentOf ?f ?c)))) | ||
| - | </ | + | </ |
| - | - **Defining | + | * Is Zod Male? |
| - | </ | + | * Is Zod Mary's parent? |
| + | - **Defining | ||
| + | * SisterOf; | ||
| + | * AreSiblings; | ||
| + | * SonOf, DaughterOf, ChildOf; | ||
| + | * GrandmotherOf and GrandfatherOf; | ||
| + | * UncleOf, AuntOf; | ||
| + | * ... \\ and try **answering** questions like: | ||
| + | * Is X a sibling of Y? | ||
| + | * Who are X's grandmothers? | ||
| + | * Who are X's uncles? | ||
| + | * Does X's mother' | ||
| + | * ... | ||
/var/www/cadia.ru.is/wiki/data/attic/public/t-622-arti-11-1/lab_6_materials.1299091536.txt.gz · Last modified: 2024/04/29 13:32 (external edit)