title: Convert from .gql to json or csv
body: <p>How to convert gql file (grakn) to json or csv?
  I read the documentation provided by grakn.ai and there are only detailed explanation of how to convert different file formats to gql provided.</p>
  
  <p>Here: <a href="https://grakn.ai/pages/documentation/migration/migration-overview.html" rel="nofollow noreferrer">https://grakn.ai/pages/documentation/migration/migration-overview.html</a></p>
  
  <p>is explained how to do it:</p>
  
  <p>Exporting Data from Grakn
  It is also possible to export data from Grakn using the migration shell script. Usage is as follows:</p>
  
  <pre><code>    usage: graql migrate export -data -schema [-help] [-no] [-batch &lt;arg&gt;] [-uri &lt;arg&gt;] [-keyspace &lt;arg&gt;]
       -data                 export data
       -schema               export schema
       -h,--help             print usage message
       -k,--keyspace &lt;arg&gt;   keyspace to use
       -n,--no               dry run- write to standard out
       -u,--uri &lt;arg&gt;        uri to engine endpoint
       -r, --retry           Number of times to retry sending tasks if engine is not available
       -d,--debug            Migration immediatly stops if any transaction fails
  </code></pre>
  
  <p>Exporting data or the schema from Grakn, into Graql, will always redirect to standard out.</p>
  
  <p>But I'm afraid, I don't understand how to use it.</p>