Add more query tests

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