Local subdomain query examples for the distributions primer

This patch adds examples of the local subdomain query features to the distributions primer.