There are probably differences in the query results on get and delete, causing #34 .
The best way to solve this is probably to define which properties should be included in query responses in the ontology and adjust the queries accordingly.
Special attention needs to be paid to the ID, which is probably the culprit in the case of #34.
The label criterion is now irrelevant and could be replaced by a criterion on the class of properties.
There are probably differences in the query results on get and delete, causing #34 . The best way to solve this is probably to define which properties should be included in query responses in the ontology and adjust the queries accordingly. Special attention needs to be paid to the ID, which is probably the culprit in the case of #34. The label criterion is now irrelevant and could be replaced by a criterion on the class of properties.