Well I may be mistaken, but I think you template like:
www.example.com/foo{?ninja,knight}

Which would become

www.example.com/foo?ninja=this&knight=that

See:
http://tools.ietf.org/html/rfc6570#section-3.2.8

Main point here was we should have correct example.