Function createEntityWithAuthoritativeLink

Creates an entity with an authoritative link

  • Parameters

    • sourceData: any

      array of source data

    • _targetData: any

      not used

    • Optionaloptions: {
          authorityFields: AuthorityFieldInformation[];
          mainProperty: { offset?: number };
          single?: boolean;
          typeIRI?: string;
          typeName?: string;
      }

      options for the creation

    • Optionalcontext: StrategyContext

      the context for the strategy

    Returns Promise<any>

    the created entity