Alright, so I definitely made some progress, but I'm still having a little bit of difficulty with my command.
What I'm attempting to do is use testforblock to see if a particular block is above a player at all. Here's an example of the command I'm playing with...
This one works to detect a block of stone brick, relative to under a player (got this working for myself as a proof of concept before moving on to more complex commands):
/execute @a ~ ~ ~ /testforblock ~ ~-1 ~ minecraft:stonebrick
However, I cannot seem to get the following to work (checking to see if there is stonebrick within 10 blocks above the player):
/execute @a ~ ~ ~ /testforblock x=~ y=~ z=~ dx=0 dy=10 dz=0 minecraft:stonebrick
Is tilde notation not usable with the selectors?