Enhancement
In the query language of the tl:KnowledgeBase you can access values of row attributes. This is done via
attribute(type, attributeName)
for primitive attributes and with
reference(type, referenceName)
for reference-valued attributes.
If the name of a primitive attribute is specified in reference, this leads to an error, if the name of a reference-value attribute is specified in attribute, this does not lead to an error, but "only" to an incorrect result.
Improvement
When analyzing the query, an error occurs in such a case.
Test
TestQueryLanguage