Skip to content

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

Closed
sanchalitorpe13 wants to merge 1 commit into
INCF:masterfrom
sanchalitorpe13:fix-schema-size-context
Closed

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

Conversation

@sanchalitorpe13

@sanchalitorpe13 sanchalitorpe13 commented Jan 17, 2026

Copy link
Copy Markdown

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.

@sanchalitorpe13

Copy link
Copy Markdown
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!

@sanchalitorpe13 sanchalitorpe13 closed this by deleting the head repository Jul 16, 2026
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