Use the query schema directly, instead of reffing it
Fixes #21 - curl equivalents of actions