Hi,
This is the data, that i gave,
(EvaluationLink
(PredicateNode "eats")
(ListLink
(ConceptNode "tom")
(ConceptNode "chicken-feet")
)
)
(InheritanceLink (stv 0.9 0.9)
(ConceptNode "tom")
(ConceptNode "chinese")
)
(EvaluationLink
(PredicateNode "eats")
(ListLink
(ConceptNode "tim")
(ConceptNode "chicken-feet")
)
)
(InheritanceLink (stv 0.9 0.9)
(ConceptNode "tim")
(ConceptNode "chinese")
)
(EvaluationLink
(PredicateNode "eats")
(ListLink
(ConceptNode "chinese")
(ConceptNode "chicken-feet")
)
)
(InheritanceLink (stv 0.9 0.9)
(ConceptNode "Jim")
(ConceptNode "chinese")
)
Defining Source :
(define source
(InheritanceLink
(ConceptNode "Jim")
(ConceptNode "chinese")
)
)
Defining rules and adding rules to the rule-base:
(load "/opt/opencog/opencog/pln/rules/deduction-rule.scm
(define base (ConceptNode "my-rule-base"))
(InheritanceLink
(ConceptNode "my-rule-base")
(ConceptNode "URE")
)
(ExecutionLink
(SchemaNode "URE:maximum-iterations")
(ConceptNode "my-rule-base")
(NumberNode "100")
)
(MemberLink (stv 0.9 1)
deduction-inheritance-rule-name
(ConceptNode "my-rule-base")
)
(MemberLink (stv 0.5 1)
deduction-implication-rule-name
(ConceptNode "my-rule-base")
)
(MemberLink (stv 0.5 1)
deduction-subset-rule-name
(ConceptNode "my"my-rule-base"))
When i run, (cog-fc source base (SetLink))
it returned,
(SetLink
What do i miss here???
Regards,
Vishnu