I'd like to aggregate across a few properties using a Function. For example, I have a Function where a start and end date is input, and also a Schedule Object Type with "date", "shift_type", "department", and "hours worked" properties.
I'd like my output to be the sum of hours worked for each date/shift type/department combo.
I don't think you can natively in functions, only if you materialize the data into your Functions driver and code the logic manually. However you could create a column at dataset level that you then index into ontology and query that.
In your pipeline (pyspark example)
then in your functions you can aggregate on the shift id: