• Generate a safe SPARQL variable name from a property path

    Parameters

    • property: string

      Property name or path

    • depth: number = 0

      Depth level for uniqueness

    Returns string

    Safe variable name without the ? prefix