PowerLoom
1 program
Added 2026-02-10T20:18:07Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: PowerLoom KR&R System
Provenance: commit f1c2b36baa · authored 2026-02-10T21:19:00+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Family Relations Example
Provenance: commit f1c2b36baa · authored 2026-02-10T21:19:00+01:00 · agent claude-code · model sonnet · WebSearch disabled
(in-module "FAMILY")
(defconcept PERSON (?p))
(defconcept MALE (?m) :=> (PERSON ?m))
(defconcept FEMALE (?f) :=> (PERSON ?f))
(defrelation PARENT (?p ?c)
:documentation "?p is a parent of ?c")
(defrelation FATHER (?f ?c)
:=> (and (MALE ?f) (PARENT ?f ?c)))
(defrelation MOTHER (?m ?c)
:=> (and (FEMALE ?m) (PARENT ?m ?c)))
(assert (MALE John))
(assert (FEMALE Mary))
(assert (MALE Tom))
(assert (PARENT John Tom))
(assert (PARENT Mary Tom))
(retrieve all (?f ?c) (FATHER ?f ?c))