Skip to content

Fix schema:size context type (use xsd:integer)Ensure schema:size is treated as literal, not @id#378

Open
sanchalitorpe-source wants to merge 1 commit intoINCF:masterfrom
sanchalitorpe-source:fix-schema-size-context
Open

Fix schema:size context type (use xsd:integer)Ensure schema:size is treated as literal, not @id#378
sanchalitorpe-source wants to merge 1 commit intoINCF:masterfrom
sanchalitorpe-source:fix-schema-size-context

Conversation

@sanchalitorpe-source
Copy link

@sanchalitorpe-source sanchalitorpe-source commented Jan 17, 2026

This PR fixes the JSON-LD context definition of schema:size by explicitly declaring it as an xsd:integer literal.

Previously, schema:size inherited an @id type via external context, which caused Jena parsing errors when numeric values were used. This change aligns the context with the SHACL constraint and resolves the issue described in #160.

Fixes #160.

@sanchalitorpe-source
Copy link
Author

Hi @MFSY, this PR fixes the schema:size JSON-LD context issue discussed in #160
by defining it as an xsd:integer literal. Could you please take a look when you have time?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

size with type @id ?

1 participant