Reporting script data source - can we reference the results of a previous query data source?

A report query data source returns a single row,

v-- ITEMS
 +- Description
 +- LotId
 +- Material

I want a script data source to calculate a value based on values from the ITEMS data source.
How do I address the individual columns in the query data source? e.g., a variation of the data['ITEMS'] syntax?

The returned value of a query will be a QueryResults object:

So probably you want coreResults to get the underlying dataset.