Skip to content

refactor: replace resolveLanguage with resolveLiteral (companion to coasys/ad4m#842)#3

Open
HexaField wants to merge 1 commit into
mainfrom
refactor/typed-rdf-literals-and-fn-cleanup
Open

refactor: replace resolveLanguage with resolveLiteral (companion to coasys/ad4m#842)#3
HexaField wants to merge 1 commit into
mainfrom
refactor/typed-rdf-literals-and-fn-cleanup

Conversation

@HexaField

Copy link
Copy Markdown
Contributor

Summary

Companion PR to coasys/ad4m#842 — typed RDF literals and resolveLanguage → resolveLiteral migration.

  • RESOLVE_LANG constant → RESOLVE_LITERAL with predicate ad4m://resolveLiteral
  • resolve_language function parameter → resolve_literal: bool (was string)
  • SHACL link targets changed from literal:string:literal to literal:true
  • All property dict entries updated to use resolve_literal: True (boolean)

Test plan

  • generate-mock-seed.py --help runs without error
  • Generated seed produces valid SHACL with ad4m://resolveLiteral links

🤖 Generated with Claude Code

…nerator

Companion change for coasys/ad4m#842 — the SHACL predicate changes from
ad4m://resolveLanguage (target: literal:string:literal) to
ad4m://resolveLiteral (target: literal:true / literal:false).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant