For more advanced queries to PPMXL, consider using ADQL. See also the service info.
To the extent possible under law, the publisher has waived all copyright and related or neighboring rights to PPMXL. For details, see the Creative Commons CC0 1.0 Public Domain dedication. Of course, you should still give proper credit when using this data as required by good scientific practice.