Seems like #solid server implementations don't support SPARQL yet, keep that in mind when working with applications storing a lot of data. The current recommendation is to use Globbing instead.
More about this: https://noeldemartin.com/tasks/implementing-a-task-manager-using-solid#comment-4