improved link query behaviors (no longer just rel&id matching)