I'm trying to develop a system with users who have accounts with points in
them ...how do I associate a user concept and particular instantiations of
users with accounts which have a NumberNode in them which is denoted in
"points"?
I have this so far:
(define User (ConceptNode "User" (stv 0.01 1)))
(define account (PredicateNode "account"))
(define Animal (ConceptNode "Animal" (stv 0.1 1)))
(define alive (PredicateNode "alive" (stv 0.01 1))) ; something is alive
(define user_animal (InheritanceLink User Animal (stv 1 1))) ; all users
are animals; defined by us (no market needed)
(define animal_alive (EvaluationLink alive (ListLink Animal) (stv 0.9 1)))
; most animals we will encounter are alive
;(define create-account (QuantityLink (ConceptNode "points") (NumberNode
100000)))
; all users have an account
(EvaluationLink
account
(ListLink
User
)
)
How do I say that an account has points in it, that can be updated and
that a user has that account etc? I'm sorry, I'm still rather new to
Atomese and I've been trying to figure this out but I'm seriously stuck.
Please help!
--
You received this message because you are subscribed to the Google Groups
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit
https://groups.google.com/d/msgid/opencog/fd452668-a2a9-4cfd-94f3-bbc5a7167fef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.