[TASK] Add like query

This allows to query for properties
of type references.