Skip to content

Type missing from the context warning when using prefix #230

@fpotier

Description

@fpotier

When a prefix is defined in the context and referenced later:

RoCrateMetadataContext context =  new RoCrateMetadataContext();
context.addToContext("rdfs", "https://www.w3.org/2000/01/rdf-schema#");
...
builder = new DataEntityBuilder();
builder.addType("rdfs:Property");

The following warning is emitted:
type rdfs:Property is missing from the context!

#226 and this made me think, would it make sense to rely on titanium-json-ld for validation/flattening?

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions