You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the TransformationSpecificationmodel, a slot_derivations list is allowed at the top level. The model says that it specifies "instructions on how to derive a set of top level slots in the target schema".
Based on that, I would expect that with this source schema:
# source schemaname: test_sourceid: http://example.com/test_sourceslots:
a_slot:
description: This is a top-level slot definitionrange: stringclasses:
AClass:
description: This is a top-level class definitionslots:
- a_slot
I think I would have expected that the top-level derivation of a_slot would have had an effect before the derivation of a_slot within the context of the AClass class derivation. In other words, I was expecting to get something like this as a result:
# expected target schemaname: test_source-derivedid: http://example.com/test_source-deriveddefault_prefix: http://example.com/test_source-derived/classes:
AClass:
name: AClassdescription: This is a top-level class definitionattributes:
a_slot:
name: a_slotdescription: TOP-LEVEL DERIVED SLOT DEFINITIONalias: a_slotdomain_of:
- AClassrange: string
Instead I just get the a_slot description from the source top-level slot definition in the target schema:
# actual target schemaname: test_source-derivedid: http://example.com/test_source-deriveddefault_prefix: http://example.com/test_source-derived/classes:
AClass:
name: AClassdescription: This is a top-level class definitionattributes:
a_slot:
name: a_slotdescription: This is a top-level slot definitionalias: a_slotdomain_of:
- AClassrange: string
The text was updated successfully, but these errors were encountered:
According to the
TransformationSpecification
model, aslot_derivations
list is allowed at the top level. The model says that it specifies "instructions on how to derive a set of top level slots in the target schema".Based on that, I would expect that with this source schema:
And this transformation spec:
I think I would have expected that the top-level derivation of
a_slot
would have had an effect before the derivation ofa_slot
within the context of theAClass
class derivation. In other words, I was expecting to get something like this as a result:Instead I just get the
a_slot
description from the source top-level slot definition in the target schema:The text was updated successfully, but these errors were encountered: