We have a Watson Knowledge Studio (WKS) trained Entity and Relation model that makes use of the "Role" for some entityTypes. When using this model in Discovery for Entity/Relation extraction, we can e.g. query against the entity type using the discovery query language by using enriched_text.entities.type::"MyEntity"
, which works fine. However, we find no (obvious) way to query against the role
of that entityType. So my question is: how can I query for an entity and then filter against the role
of that entity? Is this supported, or do we need to assign a subtype to the entity in WKS and the use enriched_text.entities.disambiguation.subtype
for querying in Discovery?
Thank you