static query(str, maxDepth, callback) {

    let graphQuery;

    try {
      graphQuery = new GraphQuery(str, maxDepth);
    } catch (err) {
      callback(err);
      return false;
    }

    graphQuery.query(callback);

    return true;

  }
Create and execute a GraphQuery object
@param {String} str The query to execute
@param {Number} maxDepth The maximum depth of graph to traverse
@param {Function} callback The function to execute upon completion