CellML Discussion List

Text archives Help


[cellml-discussion] Precise semantics of generateFlattenedModel()


Chronological Thread 
  • From: ak.miller at auckland.ac.nz (Andrew Miller)
  • Subject: [cellml-discussion] Precise semantics of generateFlattenedModel()
  • Date: Fri, 24 Feb 2006 12:52:22 +1300

Quoting Matt Halstead <matt.halstead at auckland.ac.nz>:

> I think that while it is complex to flatten metadata also, it is
> probably a good idea if there is a use case to persist this flattened
> ...
> Then when we do imports and flatten, the cmeta:id of any imported
> elements would have cmeta:ids stripped and replaced by fully
> qualified cmeta:abouts so that the reference was still valid, unique,
> and not replicating metadata into a new uri space.

It seems that we either allow duplicate identifiers(be they cmeta:id or
cmeta:about) or we have replicate the RDF elements in some cases. For example,
if I have a model which imports the same component twice for use in different
parts of the model, I need to create two identical but differently named
components in the flattened model. Do these two components have the same
cmeta:about or different cmeta:about? If they have different cmeta:about, we
either need to duplicate at least the target of cmeta:about(unless we create a
new target which is linked via some special predicate to the original RDF).

>
> that's a proposal :-)
It seems like a good long-term goal(with clarification about the uniqueness vs
duplication issue), but I am not sure if something like that belongs in the
core API(at least until we have got this into a relatively stable metadata
specification, as it is currently non-standard).

For now(until we decide what to do with it), I have made the operation raise
an
exception if called.

I think we need a meeting to discuss this issue(and also what to do with the
Reaction interface). I understand that Matt is only here on Thursdays and
Fridays, so perhaps the meeting should be sometime today? I am available all
day today, so I will arbitrarily suggest 3:00 PM.

Best regards,
Andrew Miller


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Archive powered by MHonArc 2.6.18.

Top of page