I have a question regarding the RTQP engine. Can it read PI Annotations ?
I notice there is a IsAnnotated flag on values, but I can't seem to find any way to read PI Annotations.
No, the RTQP engine currently does not support Annotations. I suggest you to post a request at Uservoice. When you do so, please also indicate your use case. Annotations can be of any format which makes the handling pretty challenging. If your ask is e.g. to show operator comments (string annotations) this should be relative easy to implement.
I have added this Idea in User voice:
Add Annotations support for RTQP Engine – User Feedback for OSIsoft Products and Services
Retrieving data ...