Both are documented choices in rdf-mapping.md, so this is a request, not a bug report. For the API's JSON form, could they follow the metamodel?
| Source |
Exported (documented at) |
Grammar (SysML-textual-bnf) |
flow of Fuel from a.p.fuel to b.p.fuel; (the flow example in #651) |
sysx:payload → a FeatureReferenceExpression under an OwningMembership (rdf-mapping.md:532) |
FeatureMembership owning a PayloadFeature (:845-852) |
#Tag dependency x to y; |
MetadataUsage under an OwningMembership of the dependency (rdf-mapping.md:458-466) |
an Annotation whose annotatingElement is the MetadataUsage (:51-53, :1660-1662) |
package A {
metadata def Tag;
part x;
part y;
#Tag dependency x to y;
}
A reader of standard API JSON finds no payload feature on the flow, and no annotation on the dependency.
:532 gives the reason for the payload: the 202407 ontology table has no payloadFeature property. The API form reads metaclasses rather than that table, so it could carry the PayloadFeature even if Turtle keeps the expression.
Both are documented choices in
rdf-mapping.md, so this is a request, not a bug report. For the API's JSON form, could they follow the metamodel?flow of Fuel from a.p.fuel to b.p.fuel;(the flow example in #651)sysx:payload→ aFeatureReferenceExpressionunder anOwningMembership(rdf-mapping.md:532)FeatureMembershipowning aPayloadFeature(:845-852)#Tag dependency x to y;MetadataUsageunder anOwningMembershipof the dependency (rdf-mapping.md:458-466)AnnotationwhoseannotatingElementis theMetadataUsage(:51-53,:1660-1662)A reader of standard API JSON finds no payload feature on the flow, and no annotation on the dependency.
:532gives the reason for the payload: the 202407 ontology table has nopayloadFeatureproperty. The API form reads metaclasses rather than that table, so it could carry thePayloadFeatureeven if Turtle keeps the expression.