Atomese
1 program
Added 2026-03-13T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: OpenCog Atomese, AtomSpace language
Provenance: commit 37a1cbcdc3 · authored 2026-03-13T04:41:58+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/atomeseRelated languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Inheritance and Pattern Matching
Provenance: commit 37a1cbcdc3 · authored 2026-03-13T04:41:58+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
; Atomese knowledge representation example
; Demonstrates nodes, links, truth values, and pattern matching
; Running in OpenCog AtomSpace (Guile Scheme interface)
; Define entities with strength and confidence truth values (stv)
(ConceptNode "Fido" (stv 1.0 1.0))
(ConceptNode "Rex" (stv 1.0 1.0))
(ConceptNode "dog" (stv 1.0 1.0))
(ConceptNode "mammal" (stv 1.0 1.0))
(ConceptNode "animal" (stv 1.0 1.0))
; Inheritance relationships
(InheritanceLink (stv 1.0 1.0)
(ConceptNode "Fido")
(ConceptNode "dog"))
(InheritanceLink (stv 1.0 1.0)
(ConceptNode "Rex")
(ConceptNode "dog"))
(InheritanceLink (stv 1.0 1.0)
(ConceptNode "dog")
(ConceptNode "mammal"))
(InheritanceLink (stv 1.0 1.0)
(ConceptNode "mammal")
(ConceptNode "animal"))
; A relational predicate: Fido likes Rex
(PredicateNode "likes" (stv 1.0 1.0))
(EvaluationLink (stv 1.0 1.0)
(PredicateNode "likes")
(ListLink
(ConceptNode "Fido")
(ConceptNode "Rex")))
; Pattern match: find all X that inherit from "dog"
(define find-dogs
(BindLink
(VariableNode "$X")
(InheritanceLink
(VariableNode "$X")
(ConceptNode "dog"))
(VariableNode "$X")))
; Execute the query - returns a SetLink containing Fido and Rex
(cog-bind find-dogs)