Relations queries support.
ignore distributions.
Test harness and basic tests.