Issue #107: Implement `query()` using `UriMatcher`