title: Compound queries
body: <p>I have a RESTful service that accepts a custom query, like this:</p>
  
  <pre><code>/entities/User?actions=
  
  {
    "$link": {
      "entityType": "Manager",
      "entity": {
        "name": "John Smith"
      },
      "linkName": "managers",
      "backLinkName": "account",
      "$set": {
        "propertyName": "aclWrite",
        "propertyValue": {
          "$ref": {
            "propertyName": "entityId"
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>Which simply means:</p>
  
  <ul>
  <li>Create a new Entity of type User </li>
  <li>Create a new Entity of type Manager with the field name, linking the User to be created to this Manager through link name "managers"</li>
  <li>Then back-linking the Manager entity to be created to the User with a link name "account" and setting the Manager entity write ACL (Access Control List) to the ID of the User to be created. </li>
  </ul>
  
  <p>I created this query structure because I can't find any suitable Query language that can seem to support such action/procedure. </p>
  
  <p><strong>The question here is are there any Query language that can support such compound action/procedure or can GraphQL handle such?</strong> </p>