A list for the developers of CellML tools

Text archives Help


[cellml-dev] Java CVTerm implementation


Chronological Thread 
  • From: david.nickerson at gmail.com (David Nickerson)
  • Subject: [cellml-dev] Java CVTerm implementation
  • Date: Fri, 16 Apr 2010 00:18:17 +1200

> <rdf:Description rdf:nodeID="n2">
> ? ? ? ?<rdf:type>
> ? ? ? ? ? ? ? ?<rdf:Description
> rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag"/>
> ? ? ? ?</rdf:type>
> ? ? ? ?<rdf:_1>
> ? ? ? ? ? ? ? ?<rdf:Description rdf:about="http://www.example.com/"/>
> ? ? ? ?</rdf:_1>
> </rdf:Description>

That looks like the internal RDF triples are getting written out
(i.e., the rdf:li's get turned into rdf:_#, in document order, by RDF
parsers).

> I thought the standard way to use Bags was like this:
>
> <rdf:Description rdf:about="#aguda_1999">
> ?<is xmlns="http://biomodels.net/model-qualifiers/";>
> ? ?<rdf:Bag>
> ? ? ?<rdf:li rdf:resource="http://www.example.com/"/>
> ? ?</rdf:Bag>
> ?</is>
> </rdf:Description>

agreed.

> It doesn't really make a difference to us as long as the API and CVTerm can
> parse it, but I was wondering if the way you did it was better for re-use or
> was conforming to CellML specification.

I think it does make a difference in terms of portability of the
generated documents. The use of rdf:li is standard, I haven't actually
seen the rdf:_# serialised in any document before. In regards to the
CellML specification, the current state is definitely using the
standard rdf:li.


Cheers,
Andre.




Archive powered by MHonArc 2.6.18.

Top of page