Configuration options for the semantic setup
The base IRI for the application (e.g., 'https://example.com/')
The default IRI that will be used for non prefixed properties and types (defaults to baseIRI if not specified)
A mapping of prefix names to their corresponding IRIs (e.g., { 'foaf': 'http://xmlns.com/foaf/0.1/' })
If true, throws an error when encountering an unknown prefix during field-to-IRI conversion (defaults to false)
If true, throws an error when encountering an IRI that doesn't match any known prefix during IRI-to-field conversion (defaults to false)
Optional partial GlobalSemanticConfig to override specific properties of the generated configuration
A complete GlobalSemanticConfig object with IRI conversion functions, JSON-LD context, and query building options
Creates a semantic configuration object for RDF/SPARQL operations with comprehensive IRI handling.
This helper function generates a complete GlobalSemanticConfig with sensible defaults, handling IRI conversions, entity creation, and JSON-LD context configuration.
Example
Example
Example