Add hasFormat relation for alternate-format sibling Building Blocks - #84
Draft
fmigneault wants to merge 1 commit into
Draft
Add hasFormat relation for alternate-format sibling Building Blocks#84fmigneault wants to merge 1 commit into
fmigneault wants to merge 1 commit into
Conversation
hasFormat represents dcterms:hasFormat/isFormatOf semantics: two Building Blocks that are substantially the same content in another format (e.g. a JSON vs an XML serialization of the same model), as opposed to isProfileOf's specialization/inheritance semantics. - bblock.schema.yaml: add hasFormat (array of bblock references), symmetric, intended to be declared on every sibling that should be linked - models.py: normalize bblocks:// prefixes on hasFormat like dependsOn/isProfileOf - register-context.yaml: map hasFormat to dct:hasFormat, and add the previously-missing seeAlso -> rdfs:seeAlso mapping (the property name itself had no JSON-LD context term, unlike its raw rdfs:seeAlso IRI counterpart)
fmigneault
added a commit
to crim-ca/bblocks-prov-jsonld-alt
that referenced
this pull request
Sep 11, 2026
The 5 W3C PROV representation profiles are alternate formats of the same content, not just generically "related" - dcterms:hasFormat/isFormatOf is the precise relation (see companion opengeospatial/bblocks-postprocess#84). w3c-prov-base's own seeAlso to the OGC PROV Chain forms block is unrelated and unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hasFormattobblock.schema.yaml: identifiers of other Building Blocks that represent the same content as this one, in an alternate format (dcterms:hasFormat/isFormatOf) - siblings, not a specialization likeisProfileOfbblocks://prefixes onhasFormatlike the existingdependsOn/isProfileOfhandlinghasFormattodct:hasFormatin the JSON-LD register context; also add the previously-missingseeAlso->rdfs:seeAlsocontext term (the property name itself had no mapping before)