enhancement
In the tl:KnowledgeBase query language, you can access the values of row attributes. This is done using
attribute(type, attributeName)
for primitive attributes and with
reference(type, referenceName)
for reference-type attributes.
If the name of a primitive attribute is specified in `reference`, this results in an error; if the name of a reference-type attribute is specified in `attribute`, this does not result in an error, but “only” in an incorrect result.
Improvement
When analyzing the query, an error occurs in such a case.
Test
TestQueryLanguage