code: function convertEntity(entity) {
      switch (entity[0]) {
          case '"': {
              if(entity.indexOf("^^") > 0) {
                  var parts = entity.split("^^");
                  return {literal: parts[0] + "^^<" + parts[1] + ">" };
              } else {
                  return { literal: entity };
              }
          }
          case '_': return { blank: entity.replace('b', '') };
          default:  return { token: 'uri', value: entity, prefix: null, suffix: null };
      }
  }
docs: Converts an entity in N3.js representation to this library's representation