• Generate SPARQL CONSTRUCT query from a normalized schema

    Parameters

    • subjectIRI: OptionalStringOrStringArray

      The IRI(s) of the subject(s) to construct (single IRI or array of IRIs) or undefined/null to construct all subjects

    • typeIRIs: any

      The IRI(s) of the type(s) to construct (single IRI or array of IRIs) or undefined/null to construct all types

    • normalizedSchema: NormalizedSchema

      Schema with all $refs resolved

    • Optionaloptions: {
          excludedProperties?: string[];
          filterOptions?: GraphTraversalFilterOptions;
          flavour?: SPARQLFlavour;
          maxRecursion?: number;
          prefixMap?: Prefixes;
          resolveInverseMaxDepth?: number;
      }

      Optional configuration

    Returns ConstructResult

    CONSTRUCT and WHERE patterns with metadata