Hi,
I'm creating an XML structure to store a collection of CDs, LPs and
DVDs. Each entry is contained within a 'release' element with the
'dc:medium' child element (possible values: 'cd', 'lp', 'dvd', etc.) to
specify what we're dealing with. I'm having a bit of trouble dealing
with DVDs. This is the best I could come up with so far:
<release>
<dc:title>American Beauty</dc:title>
<dc:medium>dvd</dc:medium>
<dc:identifier xsi:type="myterm:EAN13">0678149096026</dc:identifier>
<dc:issued xsi:type="dcterm:W3CDTF">2000</dc:issued>
<dc:hasPart>
<dctype:MovingImage>
<dc:issued xsi:type="dcterm:W3CDTF">2000</dc:issued>
<dc:creator xsi:type="myterm:director">Sam Mendes</dc:creator>
</dctype:MovingImage>
</dc:hasPart>
</release>
'dc:issued' as child of 'release' specifies the date of the DVD release
and 'dc:issued' specifies the date when the actual movie was released.
The problem here is whether or not the relation between the DVD and the
movie it contains is being specified correctly. The reason I'd like to
make this distinction is because of possible different release dates,
the director doesn't apply to the DVD itself but the movie, etc.
Should the 'dc:hasPart' relationship element be used in such a way?
Basically all 'relation' refinements, except for 'dc:hasPart' and
'dc:isPartOf', can only be used to specify a different resource which
makes me feel like I'm abusing the 'dc:hasPart' element at the moment.
If that's the case, is there currently a way to specify the 'this DVD
contains movie x' relation I'm trying to create or should I introduce
additional elements for this?
Yours,
Age Bosma
|