[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Embedding RDF metadata within an XML document
- From: Dave Beckett <email@example.com>
- To: firstname.lastname@example.org
- Date: Thu, 22 Feb 2001 17:37:46 +0000
>>>Warren Hedley said:
> Hi folks,
> We are developing an XML-based langauge for defining the structure
> of mathematical models of biological systems called CellML. We want to
> use RDF for metadata in CellML documents, but are not 100% sure about
> the correct way to do so. We want to get this right, to make it feasible
> for RDF-savvy search engines, etc. to make use of our metadata even if they
> have no knowledge of CellML.
> Here are our specific questions:
> 1. Is it OK to leave off the <rdf:RDF> element and simply
> use the <rdf:Description> element as the container for
> a block of metadata?
It is optional however ...
> 2. If we are embedding the metadata inside the resource to
> which it refers, is it appropriate to omit the @about attribute
> on the <rdf:Description> element?
> Does omitting the @about attribute imply that the RDF block
> refers to the resource in which it is contained? (This is the
> behaviour that we are after.)
... best practice IMHO is that the block:
... RDF stuff ..
is useful for RDF processors to use to indicate what part of the XML
should be interpreted as RDF. Inside rdf:RDF there may be many
The rdf:about="" should be retained so that you mean this document,
rather than some anonymous resource i.e. use
... properties ..
> Here is what we think our metadata block will look like (where
> "cmeta" is the prefix for our RDF schema's namespace):
> Some metadata content
> Some CellML content
> Different metadata content
> Some CellML content
> Is this correct use of RDF? Are processors likely to be able to
> make use of it? Are processors going to be able to determine
> which metadata applies to <some_cellml_element> and which
> applies to <another_cellml_element>?
> Thanks in advance for any help.
The above is still correct, but I think you require the rdf:about=""
Hope this helps.
There are various online RDF demos such as the SiRPAC one at
and mine at
and you can even visualize the metadata at the SiRPAC demo.