A somewhat working version of ssos.Query.  Have a look at test_ssos.py for some usage (not really a test yet).