Skip to content

Support for wildcards? {} #197

@jucajuca

Description

@jucajuca

Hello,

I was wondering if the library does support wildcards. If I understand it correctly, the jsonld framing should support wildcards for @type.

https://www.w3.org/TR/json-ld11-framing/#dfn-wildcard

Image

However, when I try to set this in the context, I get an error.

        "dValue": {"@id": "ex:dValue", "@type": {}  },
ERROR 2025-03-19 15:17:33,158 RDF 1177 137656096786112 JsonLdError occurred: ('Could not process context before framing.',)
Type: jsonld.FrameError
Cause: ('Invalid JSON-LD syntax; an @context @type value must be an absolute IRI.',)
Type: jsonld.SyntaxError
Code: invalid type mapping

It might be that my understanding here is a bit limited.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions