<?php
$data=['entities'=>['Q3045586'=>['claims'=>'here we are!']]];
// If we know the id Q3045586, it is easy to find the claims:
echo $data['entities']['Q3045586']['claims'];
// Any elegant solution if we don't?
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
here we are!