core data - notes on Ray’s query tutorial