Repository navigation
Conversation
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
9 times, most recently
from
May 12, 2026 16:35
a705c35 to
3d3a52a
Compare
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
3 times, most recently
from
June 10, 2026 19:42
cab84ad to
b2b3dba
Compare
rmessaou
force-pushed
the
feat/envited-x-pipeline
branch
from
July 8, 2026 09:02
97e73d0 to
ef7ad85
Compare
Open
3 tasks done
3 tasks done
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
from
September 11, 2026 14:23
6aa7702 to
233adc3
Compare
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
from
September 11, 2026 14:44
233adc3 to
b8a388e
Compare
This was referenced Sep 14, 2026
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
from
October 2, 2026 12:10
3026d81 to
abd2032
Compare
8 of 23 tasks
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
from
October 8, 2026 14:35
e3081ef to
d75f782
Compare
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
2 times, most recently
from
October 14, 2026 07:58
0ac558f to
536d6f1
Compare
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
2 times, most recently
from
October 23, 2026 13:13
d6ef9ea to
88e3a80
Compare
…nstraints For an inlined-as-dict slot whose range class has an identifier/key slot, render the key slot's string-applicable constraints onto JSON Schema propertyNames (draft-06+) instead of dropping them. In the inlined-dict form the mapping key is the identifier value, so the key slot's constraints constrain the keys. JSON object keys are always strings, so only pattern, enum (equals_string_in) and a string const (equals_string) are emitted; numeric minimum/maximum, numeric const (equals_number) and allOf are excluded -- a numeric const would otherwise reject every key. structured_pattern is honored when materialize_patterns is enabled, consistent with value patterns. Backward compatible: emitted only when a string-applicable key constraint applies. Signed-off-by: Carlo van Driesten <[email protected]> Includes the documentation for the emitted propertyNames constraint. Signed-off-by: jdsika <[email protected]> (cherry picked from commit 2036e70)
…SHACL and JSON Schema gen-shacl dropped class-level any_of, all_of, exactly_one_of and none_of, so a class stating "a code or a name is required" generated shapes that accepted everything. gen-json-schema translated them, but only for the declaring class, and read an absent slot differently depending on where an expression was nested. Both generators now give class expressions one semantics, shared in linkml.generators.common.class_expression: - A class expression constrains every instance of its class, so a class carries the expressions of its ancestors and mixins, translated in its own context. - The specification does not say what a slot condition means for an absent slot. As an SQL CHECK constraint (ISO/IEC 9075) reads a condition on null, a condition that doesn't decide whether its slot may be absent is unknown for an absent slot. An instance is invalid only when an expression is definitely false, and exactly_one_of holds when exactly one member is definitely true. The operators compose, and gen-json-schema no longer rejects an instance meeting only the first member of an exactly_one_of while accepting one meeting none. gen-shacl emits sh:or, sh:and, sh:xone and sh:not (the operators' exact_mappings, SHACL 4.6) over anonymous member shapes, each in its "not false" form or, under sh:not, its "definitely true" form, where such a condition also has sh:minCount 1. Conditions translate required, value_presence, the cardinalities, minimum/maximum_value, pattern, equals_string(_in), equals_number and range; a parameter SHACL allows once per shape that one condition needs twice moves into an sh:and member. An operator whose members use anything else is skipped whole, with one warning naming the shapes it is missing from. gen-json-schema builds the same forms with anyOf, allOf, oneOf and not, resolves conditions on the induced slot, and also enforces cardinalities (minItems / maxItems, or minProperties / maxProperties for a slot inlined as a dict, whose values are the values of the dict) and range in class-level conditions. value_presence: ABSENT on several slots of one expression now requires each to be absent rather than not all of them present, in rules too. An is_a member names a class that every instance of the class carrying the expression belongs to (the class or an ancestor), that only some belong to (through a descendant), or that none belongs to, since an instance belongs to its class and that class's ancestors. Only the second case checks the instance: sh:class in SHACL, and in JSON Schema, which carries no type, a reference to the class's definition. Before, a class inherited its parent's any_of over its own subclasses as sh:class and $ref to itself, which recursed without end in JSON Schema and, in SHACL, rejected a node typed only as a subclass. The slot loop's range dispatch and sh:path computation move into _add_range and _slot_iri; output for schemas without class expressions is unchanged. The compliance tests test_class_any_of and test_class_any_of_with_required run for SHACL. Signed-off-by: jdsika <[email protected]> (cherry picked from commit 41fc33a)
…L and JSON Schema
gen-shacl ignored a slot's range_expression, and gen-json-schema read it
with the two-valued builder of rules, which ignores cardinalities, the
range of a condition, and the slot_usage and aliases of the value class.
Both generators now read it as a class-level expression: each value must
satisfy it as an instance of the range class satisfies a class-level
expression. In SHACL it is an sh:node next to the range's sh:class. On a
class alternative of any_of it applies to that alternative, and in a
slot condition it takes the form of the condition. SHACL skips an
expression it cannot express with a warning, as it skips a class-level
expression.
gen-json-schema applied the value constraints of a slot inlined as a
dict to the dict instead of to each value, which only a range_expression
showed. The compact forms of such a dict, {id: value} and {id: null},
stay out of its reach.
Signed-off-by: jdsika <[email protected]>
(cherry picked from commit 91575b2)
has_member asks for at least one value of a multivalued slot satisfying an expression. gen-shacl ignored it. gen-json-schema translated it as contains, which an absent slot passes but an empty one fails, applied only the value operators of the expression, and ignored it in class-level expressions. Both generators now read a member as one value, which must satisfy the value operators, range and range_expression of the expression. A slot without a value has no member, so has_member decides presence. In SHACL it is an sh:qualifiedValueShape with sh:qualifiedMinCount 1; in JSON Schema, contains on a required slot, or some value of a dict inlined by key. In a slot condition the member takes the form of the condition. SHACL skips a has_member it cannot express with a warning, and both generators warn about one on a slot that is not multivalued. Signed-off-by: jdsika <[email protected]> (cherry picked from commit 773c7df)
The rules-to-SHACL-SPARQL converter recognised two named patterns. This
adds the presence-implies-value pattern: a precondition asserting
`value_presence: PRESENT` on one slot, and a postcondition constraining
another slot with `equals_string` or `equals_string_in`. It reads as
"if the guard slot is present, the target slot must be present and hold
one of the allowed values", and generalises the boolean guard to
arbitrary enum values. The boolean guard becomes the case
`equals_string: "true"` of this pattern on an xsd:boolean-typed flag.
`equals_string` / `equals_string_in` compare strings. The metamodel
defines them for slots of range string; enums and types with datatype
xsd:string are treated alike, and a slot without a range takes the
schema's default_range. On an xsd:boolean-typed slot each value must be
a lexical form of xsd:boolean (XML Schema 1.1 Part 2 section 3.3.2.2:
true, false, 1, 0) and denotes that boolean. A rule applying them to
any other range is skipped with a warning: its RDF values are typed
literals or IRIs that equal no string. Built-in type names resolve
without importing linkml:types, as in the main slot loop; the built-in
name of `curie` was misspelt there and is corrected.
Values are compared with `=`, spelled out as the disjunction SPARQL 1.1
section 17.4.1.9 defines `IN` to be, so the RDF 1.1-identical plain and
xsd:string literal forms both match and booleans compare by value;
rdflib evaluates `IN` and triple-pattern constants by term identity.
COALESCE turns the type error that RDFterm-equal raises for
incomparable literals into false, so a spec-conformant engine reports
such a value instead of dropping the row. Queries are DISTINCT and
project ?path (and ?value where there is one), so each result names the
property and the offending value. A value containing a backslash
followed by "u" or "U" is split with CONCAT, since codepoint escapes are
replaced before a query is parsed.
The exclusive-value pattern takes the precondition `has_member:
{equals_string: V}`, which states "V is one of the values". A bare
`equals_string: V` applies to every value of the slot, as the
specification applies a slot constraint to all members of a collection
and as gen-json-schema reads it, so it no longer matches this pattern:
such a rule is skipped with a warning naming has_member. The pattern
gets the same range check and value comparison, and its
maximum_cardinality > 1 form tests HAVING on the COUNT aggregate:
expressions projected by SELECT are not visible to HAVING (SPARQL 1.1
section 18.2.4.2), so `HAVING (?count > N)` never held and the
constraint never fired.
A rule applies to all members of its class, so a class shape now
carries the rules of its ancestors and mixins, as the JSON Schema
generator applies them. Each rule is translated in the inheriting
class's context, where slot_usage may refine the slots it references.
Classes sharing a class_uri share one shape, which carries each rule
once. With `open_world: true` "the postconditions may be omitted in
instance data", so an absent target is no violation.
Skip warnings name the rule by its position and its title, or its
description without one.
A rule whose conditions carry any operator beyond what a pattern
translates, or name an unknown or identifier slot, is skipped rather
than partially translated. Each problem with a rule is logged once as a
warning naming the declaring class, the rule's position and the class
shapes it affects. The metadata fields the operator accounting ignores
are derived from the metamodel. Slot resolution goes through induced
slots, so slot_usage overrides, slot_uri overrides and alias-form keys
resolve to the IRI sh:path emits.
Behaviour changes for existing schemas: an exclusive-value rule with a
bare equals_string precondition is skipped (write has_member:
{equals_string: V}); the boolean guard rejects a string "true" on an
xsd:boolean flag and skips a flag whose type has another datatype IRI
(main compared with str()); exclusive-value rules with
maximum_cardinality > 1 now fire; inherited rules are now enforced on
subclass shapes; problems with rules are logged at WARNING instead of
DEBUG; rule results carry sh:resultPath and sh:value; sh:message follows
the rule's in_language or default_language.
Co-authored-by: jdsika <[email protected]>
Signed-off-by: jdsika <[email protected]>
(cherry picked from commit 00cc373)
…ersion A rule that no named pattern matches is now composed from the operators it uses: each precondition becomes SPARQL filters on $this, and each postcondition slot gets its own constraint, the union of the ways to violate that slot's condition, binding the offending value to ?value (SHACL sections 5.3.1 and 5.3.2). A rule P -> A and B is violated exactly when P and not A, or P and not B, holds. A condition may use value_presence, required, equals_string, equals_string_in, equals_number, pattern, minimum_value, maximum_value, the slot-level any_of, all_of, exactly_one_of and none_of over those value tests, a range_expression on the slot's class (nested to any depth) and has_member. The semantics follow the JSON Schema generator's if/then: - presence: value_presence decides, then required, then a default: a precondition requires its slot, a postcondition unless the rule is open_world, an inner condition of a nested expression never; - value operators and range_expression apply to every value of the slot (05validation.md: "all members"), has_member to some value; - equals_string(_in) only on string, enum and boolean slots (the named patterns' range check); equals_number and the bounds only on the numeric datatypes of SPARQL 1.1 section 17.1, guarded with isNumeric, and only finite numbers; pattern as REGEX on the value's string form, as sh:pattern reads it (SHACL section 4.4.2); - a value is one term, so each member of a slot-level boolean is true or false, and the operators are those of 05validation.md: exactly_one_of counts the members that hold. Any other operator, or a rule with empty pre- or postconditions, skips the rule with one warning, so a rule is never partially translated. A rule skipped part-way no longer reports the notes of the abandoned translation. The compliance suite now runs SHACL in the rule tests, and every rule of test_preconditions and test_preconditions_combos is translated, so each instance is checked. The SHACL generator's documentation now describes the translation: the two named patterns and the composed one with the operators it supports and one constraint per postcondition slot, the semantics shared with the JSON Schema generator, inheritance, open_world, --no-emit-rules and the skip warnings, with a generated example. The rules section of advanced.md links to the JSON Schema and SHACL generator pages instead of a dangling "See above for implementation status". Co-authored-by: jdsika <[email protected]> Signed-off-by: jdsika <[email protected]> (cherry picked from commit e83948e)
Translate explicit instantiates declarations to rdf:type on the emitted schema resource through one shared helper. Apply the mapping consistently to schemas, classes, slots, types, enums, and non-literal permissible values. Literal permissible values cannot be RDF subjects and produce a warning. Membership types the schema element itself, not its ordinary data instances, and does not become subclass inheritance. Existing enum representation and OWL class/individual punning remain intact. No additional flag is needed because the schema already declares the relationship. Cover CURIEs, absolute and minted IRIs, literal values, representation modes, and the distinction between gen-rdf metamodel serialization and gen-owl ontology assertions. Document the LinkML and OWL specification references. A resource in the OWL 2 reserved vocabulary (Structural Specification section 2.4), such as a type emitted as xsd:integer without type objects, cannot be an OWL 2 DL individual; its instantiates is not asserted, with a warning. A value that is neither a CURIE nor an IRI would become a relative IRI and is skipped with a warning too. The instantiated class is declared as owl:Class, since OWL 2 DL requires a declaration for every class a class assertion uses (section 5.8.1). Signed-off-by: jdsika <[email protected]> (cherry picked from commit b829443)
A generated context can use JSON-LD 1.1 constructs: scoped contexts on enum slots and on class-level range overrides, and @Prefix. A JSON-LD 1.0 processor ignores them silently, so datatype coercions are lost. A context that uses one now starts with "@Version": 1.1. It makes a JSON-LD 1.0 processor stop (JSON-LD 1.1 section 1.7), and a JSON-LD 1.1 processor then requires 1.1 processing (JSON-LD 1.1 API section 4.1.2). The generator marks the three places where it emits such a construct, so no keyword table is needed, and the declaration follows what the context actually contains: with --no-model the scoped contexts are left out, with --no-prefixes the @Prefix entries. A context without a 1.1 construct stays loadable by a JSON-LD 1.0 processor. gen-jsonld embeds the declaration with the generated context. Signed-off-by: jdsika <[email protected]> (cherry picked from commit 20e48c3)
Describe in the gen-owl documentation what RDFC-1.0 canonicalization guarantees for standard RDF, why its sequential blank-node numbering can still produce noisy diffs, and that --diff-stable reduces that churn without guaranteeing minimal diffs. Note that the option also exists on gen-rdf, gen-shacl and gen-shex --format rdf, and that graphs that are not standard RDF, such as gen-shacl --include-annotations output with a non-CURIE annotation tag, are serialized by rdflib with a warning, where --diff-stable has no effect. Signed-off-by: jdsika <[email protected]> (cherry picked from commit ae0e4b5)
…t names A generated document failed to parse, or failed schema validation, in eight independent ways. A class resolving to no slot closed its body immediately, which GraphQL has no syntax for. A type the schema defined itself was named by a field but never declared. An enumeration drawing its values from an ontology was dropped while fields kept naming it; an enum type defines one or more values (GraphQL spec, October 2021, section 3.9), so such an enumeration is carried as a custom scalar instead. A type whose name landed on that of a class or an enumeration was declared alongside it, although every type of a schema shares one namespace in which a name is unique (section 3.3); such a name is now left undeclared, with a warning. The list of implemented interfaces was joined with a comma rather than an ampersand. A linkml:Any class was declared under its raw name while the fields referring to it used the camelcased one. A mixin carrying mixins of its own stayed an object type although other types implemented it. And the set of linkml:Any names lived on a mutable class attribute shared by every instance, so generating a second schema in the same process truncated it. The reference snapshot of the biolink model in this repository did not parse before this change and parses after it, with no type and no field lost. The docs gain sections on mixins, types, enumerations and fieldless classes, and record the gaps left open: no root operation type, names encoded with the reserved double underscore, interface field covariance, and implements being derived from mixins alone. Signed-off-by: jdsika <[email protected]> (cherry picked from commit 41509f4)
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
4 times, most recently
from
November 18, 2026 16:18
ccca666 to
abde9fb
Compare
…mes in generated artifacts Add an opt-in --normalize-prefixes option that writes the conventional name of a well-known namespace, e.g. dc for http://purl.org/dc/elements/1.1/ where a schema declares dce, and writes the same name in each of the generators that offer it: gen-owl, gen-shacl, gen-shex, gen-sparql, gen-yarrrml, gen-sssom and gen-jsonld-context. Only names change; every IRI stays the same. The names come from two curated sources, the prefixmaps linked_data context and the names rdflib binds by default, which the RDF generators serialize with; the two name no namespace differently. prefixmaps' merged context is not used: it names a namespace after the first registry in its merge order that lists it, which for W3C vocabularies is often the upper-cased Bioregistry name, such as ADMS for http://www.w3.org/ns/adms#. linkml.generators.common.prefixes computes one plan per schema as a curies Converter of preferred names with the other names as synonyms. In each output format a prefix declaration reaches no further than the document that carries it (Turtle 1.1 2.4, SPARQL 1.1 4.1.1.1, JSON-LD 1.1 3.1, CURIE Syntax 1.0 3), so a declaration in an imported schema binds nothing in a generated document that does not repeat it. A conventional name is therefore unavailable for a namespace where the schema's documents write it for another one: the schema declares it itself, or only an import declares it and it is in use, meaning that an element is identified by or mapped to an IRI of that namespace, is written with the prefix in a CURIE, names it in id_prefixes, or a schema lists it in emit_prefixes; or nothing declares it and a CURIE, id_prefixes or emit_prefixes names it all the same. A prefix that only an import declares and nothing uses holds no name. linkml:types declares schema for http://schema.org/ and uses it only in the mappings of its types, which none of these generators writes. A schema that declares schema for https://schema.org/ next to it is refused by gen-jsonld-context, gen-shex and gen-sssom, and gen-owl and gen-shacl then write http://schema.org/ IRIs; so a schema declares another name, such as sdo, and the option writes schema for https://schema.org/, which schema.org calls its preferred form in examples. LinkML's loaders and dumpers keep expanding schema in data as the import declares it, which the plan reports as a warning. A prefix keeps its name, with a warning, where two namespaces want the same conventional name or the name is that of a class, slot or permissible value, which a JSON-LD context uses as a term. How a generator applies the plan depends on what its prefixes are. Self- contained documents (Turtle, RDF/XML, ShExC, SPARQL, YARRRML, SSSOM) use only the preferred names, as a prefix there only abbreviates IRIs (RDF 1.1 Concepts 1.4); they rename only the prefixes they declare, keep the order of their declarations, and a prefix that their own CURIEs use keeps what it denotes, declared or not. A JSON-LD context is shared with the data written against it, and a compact IRI whose prefix it no longer defines stops expanding (JSON-LD 1.1 4.1.5), so it keeps every declared name and adds the preferred one; it writes its own compact IRIs, but not its keys, with the preferred names, and renames nothing with --no- prefixes. SchemaLoader-based generators read the plan from a SchemaView of the schema as given, resolving local imports of YAML text against base_dir. gen-sparql renders its queries once to learn which prefixes they use and keeps the declarations of those it writes as they stand, the named graphs and the template's own. It resets the caches of its working copy of the SchemaView: the copy compares equal to the original, so once the plan had filled the original's caches the copy was served those elements, and materialization rewrote the input and dropped queries. gen-prefix-map gives each namespace one name, the schema's, gen-rdf and gen-jsonld write CURIEs as literal data, and gen-python, gen-pydantic and gen-namespaces make prefix names part of the generated code, so they do not offer the option. test_csv_limit set csv.field_size_limit(20) without restoring it, so any later test on the same worker that read prefixmaps' CSV data failed; it now restores the limit. Signed-off-by: jdsika <[email protected]>
The RDF canonicalizer in linkml_runtime was extracted into diffable-rdf, and the two copies diverged. Calling the library fixes nine defects of the in-tree copy, each asserted against both entry points in test_rdf_canonicalize_defects.py: - a base IRI ending in # no longer rewrites every IRI sharing its prefix - a shared rdf:List tail is no longer duplicated - N-Triples refuses a relative IRI instead of writing a file its own parser rejects; N-Triples allows only absolute IRIs - literals containing U+2028 and other line separators survive sorting - degraded RDF/XML, degraded Turtle and JSON-LD are byte-identical across processes - every format ends with exactly one newline - a Dataset is refused instead of silently flattened diffable-rdf becomes a required dependency of linkml-runtime. It needs only rdflib and pyoxigraph, which the runtime already requires. The diff-stable extras remain as aliases. Turtle output of the four RDF generators is unchanged. The library logs degraded output; the runtime re-emits those records as RDFCanonicalizationWarning so they stay visible without logging configuration. Signed-off-by: jdsika <[email protected]> (cherry picked from commit 46593d4)
With --no-use-native-uris gen-owl declares a slot's property under its slot_uri, but it stated the restrictions that come from a slot_usage or slot_conditions entry on an IRI derived from the slot's name. Such an entry names a slot and holds only what it adds, so it carries no slot_uri. The restrictions of class-level boolean expressions, of rule and classification-rule conditions, of range expressions, and of slot_usage on an inherited slot were therefore on properties the ontology does not declare, such as ex:note where the slot is skos:note, which OWL 2 DL does not allow (Structural Specification 5.8.1). The restriction now takes the slot_uri of the slot that the entry names in the class the condition is about: the class that states the expression, the class a rule's expression names with is_a, or, for a range expression, the class the slot ranges over. Two classes with an attribute of the same name each get their own property, and a name may be written in its underscored form. Only the slot_uri is taken from the named slot; the IRI derived from a slot's name is computed as before, so with native URIs, the default, the output is unchanged. The annotation-property check in the same loop reads the slot of the same class, so a like-named slot elsewhere no longer decides whether a condition is refused. Signed-off-by: jdsika <[email protected]>
…r features Consumer checks for features that meet on the integration branch: an any_of branch keeps its pattern next to a nested range_expression after RDF serialization, in both RDF label modes; and one OWL resource keeps its metaclass membership (instantiates) next to its declared IRI-valued annotation, while a type keeps its membership (gen-owl writes no annotations on types). Signed-off-by: jdsika <[email protected]> (cherry picked from commit a791f01)
A separate job resolves the pinned OWLAPI 5.5.0 tree with Maven and runs a Java probe on gen-owl output: OWL 2 DL profile, no unparsed triples, and the expected annotations kept through a round trip. It checks the documented DCMI example in four modes and a schema where metaclass membership, a declared annotation, annotation properties with a super-property and a built-in IRI, and an ordinary data property meet. Both profile tests are strict expected failures: gen-owl writes metadata annotations (dcterms:title, skos:definition, skos:inScheme, linkml:permissible_values) without declaring their annotation properties, and asserts membership in external classes without declaring them, which upstream main does for any schema too. They fail loudly once the declarations exist. Signed-off-by: jdsika <[email protected]> (cherry picked from commit 88e3a80)
jdsika
force-pushed
the
feat/envited-x-pipeline
branch
from
November 19, 2026 10:11
abde9fb to
e9f5880
Compare
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.
Purpose
Feature integration branch for downstream ENVITED-X projects: every fork feature PR at its reviewed head, on upstream
maine5ba58b4c(2026-11-12). This PR remains a draft and is not an upstream submission.Rebuilt 2026-11-16 from upstream
maininstead of rebased: 12 cherry-picked PR heads plus two integration-only commits, all signed and signed off, each keeping its author. The previous history is kept as the branchbackup/2026-11-16/feat-envited-x-pipeline(88e3a8085).Updated 2026-11-18: #4 at its new head and #68 added, so 13 PR heads plus the two integration-only commits. The first ten commits are unchanged; the five from #4 on are re-created, signed and signed off, each keeping its author. The previous head
ccca666ccstays reachable as the tagenvited-x/2026.11.16.Updated 2026-11-19: #4 and #68 at their reviewed heads (#68 now mirrors linkml#4260). The five commits from #4 on are re-created again, signed and signed off. The previous head
abde9fb5astays reachable as the tagenvited-x/2026.11.18.Upstream merged three of the carried PRs since the last rebuild (linkml#4156, linkml#4157, linkml#4158, all on
mainsince 2026-11-12), so they are now inherited from the base instead of carried.Snapshot
Tagged as
envited-x/2026.11.19(signed, one9f58807d). This snapshot changeslinkml-runtimetoo (rdf_terms, the canonicalizer), so pin both packages; pinning onlypackages/linkmlpullslinkml-runtimefrom PyPI and fails to import:Carried PRs
2036e708741fc33a3891575b286773c7df8200cc37344e83948e52b8294437520e48c375"@version": 1.1in contextsae0e4b56141509f46e64580560d--normalize-prefixes46593d49e6db577226Merge order for the upstream series: linkml#3716 → linkml#4168 → linkml#3993 → linkml#4144 → linkml#4171 → linkml#3989 → linkml#3990 → linkml#4028 → linkml#4169 → linkml#4170 → linkml#3446 → linkml#4246.
No longer carried:
main._deterministic_fallback_serialize, a function that fix(rdf): delegate canonicalization to the diffable-rdf library #26 deletes when it delegates canonicalization todiffable-rdf. The fix stays valuable upstream, where fix(rdf): delegate canonicalization to the diffable-rdf library #26 does not apply, but is dead code here.Integration reconciliation
_slot_iri,_type_uri,_is_string_range,_set_operator_fields,_NON_OPERATOR_FIELDS) exist once; the copies were byte-identical.shaclgen.pyunions the imports of both stacks and keeps the three_report_*_problems()calls together;_rule_to_sparqlkeeps the signature feat(gen-shacl): add a compositional fallback for rule-to-SPARQL conversion #20 gives it.test_shaclgen.pykeeps both appended test tails: stack A (rules) and stack B (class expressions) append independently after the same point, so the merged file is the common prefix followed by both tails.jsonldcontextgen.py(fix(contextgen): declare JSON-LD 1.1 when a generated context needs it #56 × feat(generators): add --normalize-prefixes for conventional prefix names in generated artifacts #4):standardize_values()runs before the{"@version": 1.1, ...}prepend, otherwise prefix normalization drops the version key.docs/generators/shacl.rstkeeps both new SHACL sections.test_owlgen.pykeeps both appended test tails (feat(gen-owl): honor instantiates on emitted schema resources #31 and [mirror] fix(owlgen): state restrictions on the property a slot is declared as #68); the block of [mirror] fix(owlgen): state restrictions on the property a slot is declared as #68 is byte-identical to its PR head, and so are itsowlgen.pyhunks.test_generator_feature_integration.py: anany_ofbranch keeps its pattern with a nestedrange_expression(both RDF label modes, with and without--diff-stable); one OWL resource keeps metaclass membership (feat(gen-owl): honor instantiates on emitted schema resources #31) next to a declared annotation (now frommain).owl-annotation-consumer.yaml: OWLAPI 5.5.0 checks gen-owl output for the OWL 2 DL profile and annotation retention.Validation (head
e9f58807d)tests/linkmlandtests/linkml_runtimeas CI runs them: 17,155 passed, 2,296 skipped, 16 xfailed, 264 subtests.envited-x/2026.11.18in the eight files that feat(generators): add --normalize-prefixes for conventional prefix names in generated artifacts #4 and [mirror] fix(owlgen): state restrictions on the property a slot is declared as #68 change, and in nothing else; the ENVITED-X artifacts generated with it are byte-identical to those ofenvited-x/2026.11.18.e5ba58b4cand green in CI in their own PRs (18 passed, 1 skipped each).--no-use-native-uris,--normalize-prefixes, six domains, and the Gaia-X context): no restriction on an undeclared property (12 withenvited-x/2026.11.16);schemais written forhttps://schema.org/again, and the contexts defineschemaandsdo.testmatrix on ubuntu and windows for Python 3.11-3.14, Slow Tests, Notebook Tests, the docs build,test-rustgen, the OWLAPI gate andquality-checks.Known limitations
equals_stringrule precondition reads "every value"; an optional slot withhas_memberis required in JSON Schema;range_expressionis enforced per value in both SHACL and JSON Schema; contexts declare JSON-LD 1.1; slots used as OWL annotations must declareimplements: [owl:AnnotationProperty], and a super-property must share that role; with--normalize-prefixesa schema'ssdoforhttps://schema.org/is written asschemaalthoughlinkml:typesdeclares that name forhttp://schema.org/(reported as a warning: LinkML's loaders keep readingschemain data the import's way), and a JSON-LD context then defines both names.Two limitations of the 2026-10-23 rebuild are resolved: gen-owl output now passes the OWL 2 DL profile check (upstream linkml#4158 declares the annotation properties, so the OWLAPI gate no longer records expected failures), and #4 no longer pins
prefixmapsto a git commit — it requiresprefixmaps >= 0.2.2from PyPI, so the Docker build is unblocked.