Query with json output

Any Query (jena) where you can call GET ( Jersey) to create json from it