Add additional query tests

- `[[HasSomeProperty::Foo||Bar]]`
- `[[Born in::<q>[[Category:City]] [[Located in::Outback]]</q>]]`