adding support for querying all the properties in the categories given a linearisation function