-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal patterns passed on evalution of a DefinedSchemaNode by a GroundedPredicateNode #704
Comments
This is difficult to understand, but I think you were expecting The explanation for this is easy: when you
In order to see if the AndLink is true, the pattern matcher must check to see if above is true. This is done in two steps: first, From what I can tell, what you need to do is to have this instead:
and that will give you what you want. However, the Is this what you want to do? If so, then I guess that a |
In scheme, DontExecLink is called |
Yes, something like Another thing I don't get why (BindLink
(VariableList
(TypedVariableLink
(VariableNode "Demand" (stv 0.96491325 0))
(TypeNode "ConceptNode")
)
)
(AndLink
(DefinedPredicateNode "OpenPsi: demand-pattern")
(EqualLink
(VariableNode "Demand" (stv 0.96491325 0))
(ConceptNode "OpenPsi: Energy" (stv 0.66960984 0.99999982))
)
)
(VariableNode "Demand" (stv 0.96491325 0))
) instead of (SetLink
(ConceptNode "OpenPsi: Energy")
) |
ah yes, you are right ... the result of |
Yes please, on fixing the muddled-puddle 😄 How about |
working on it now. Its causing a snowball of changes to occur. |
fixed in pull request #714 |
Thanks |
Setup scheme file content
Trying to get the DefineSchemaNode
The issue
If the BindLink was actually an expansion of the DefinedSchemaNode, then the
Expected DefinedSchemaNode got
lines of the output wouldn't have been an empty list. It seems, a BindLink that is created intermediately within the query-engine is passed instead.Expected BindLink to be passed to the
what?
function isThe text was updated successfully, but these errors were encountered: