Well first of all, using a HebbianLink doesn't make sense you want a
AssociativeLink.
And then it should kinda look like this:
(AssociativeLink (stv 0.9 0.9)
(InheritanceLink (stv 0.9 0.9)
(ConceptNode "Einstein")
(ConceptNode "violin-players")
)
(NumberNode "8787")
)
On Tuesday, February 28, 2017 at 9:18:46 PM UTC+1, Vishnu Priya wrote:
>
>
>
> i tried FC using the knowledge which has NumberNodes that are associated
> with the ConceptNodes through HebbianLink. I applied deduction rule and got
> an empty SetLink.
>
> Knowledge:
>
> (ConceptNode "Socrates" (stv .001 0.9))
> (ConceptNode "Einstein" (stv .001 0.9))
> (ConceptNode "Peirce" (stv .001 0.9))
> (ConceptNode "man" (stv .01 0.9))
> (ConceptNode "human" (stv .02 0.9))
>
>
> (InheritanceLink (stv 0.9 0.9)
> (ConceptNode "Socrates")
> (ConceptNode "man"))
>
> (HebbianLink (stv 0.9 0.9)
> (ConceptNode "Socrates")
> (ConceptNode "man")
> (NumberNode "8787"))
>
> (InheritanceLink (stv 0.9 0.9)
> (ConceptNode "Einstein")
> (ConceptNode "man"))
>
> (HebbianLink (stv 0.9 0.9)
> (ConceptNode "Einstein")
> (ConceptNode "man")
> (NumberNode "8787"))
>
> (InheritanceLink (stv 0.9 0.9)
> (ConceptNode "Peirce")
> (ConceptNode "man"))
>
> (HebbianLink (stv 0.9 0.9)
> (ConceptNode "Peirce")
> (ConceptNode "man")
> (NumberNode "8787"))
>
> (InheritanceLink (stv 0.9 0.9)
> (ConceptNode "man")
> (ConceptNode "human"))
>
> (HebbianLink (stv 0.9 0.9)
> (ConceptNode "man")
> (ConceptNode "human")
> (NumberNode "8787"))
>
> (InheritanceLink (stv 0.9 0.9)
> (ConceptNode "Einstein")
> (ConceptNode "violin-players"))
>
> (HebbianLink (stv 0.9 0.9)
> (ConceptNode "Einstein")
> (ConceptNode "violin-players")
> (NumberNode "8787"))
>
>
> (define source
> (InheritanceLink
> (ConceptNode "Einstein")
> (ConceptNode "man")
> (NumberNode "8787")
> )
> )
>
>
> Where is it wrong in including ID?
>
>
> Thanks,
> Vishnu
>
>
>
> n Monday, 27 February 2017 16:29:45 UTC+1, Vishnu Priya wrote:
>>
>>
>> Thanks for the reply, Roman.
>>
>> So, should it be like this
>>
>> (EvaluationLink
>> HebbianLink
>> (PredicateNode "sweet@3fe00455-333f-4cd8-a488-1d23f81c4546")
>> (ListLink
>> (ConceptNode "oranges@33c76dd3-d3c1-4e38-b2ba-b77abfbebadb")
>> (NumberNode 7878
>> )
>>
>> In general, i parse and get r2l output of the sentence. Then i can apply
>> a custom code to get the HebbianLink and the NumberNode ?
>>
>>
>>
>>
--
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/1a516a84-cd5d-4788-a496-bbe39a693c09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.