On Wed, 2006-06-07 at 14:42 +0200, Mikael Nilsson wrote:
> fre 2006-06-02 klockan 13:32 +1200 skrev Roberto SL:
> > Hi Mikael,
> >
> > Regarding the RDF code and starting from your instructions, I wrote a
> > longer code and it appears to be valid.
> > However I would really appreciate if you can still have a look to the
> > syntax:
> >
> > <?xml version="1.0"?>
> > <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
> > xmlns:dc="http://purl.org/dc/elements/1.1/"
> > xmlns:dcterms="http://purl.org/dc/terms/">
> >
> > <rdf:Description rdf:about="file://root/hello.jpg">
> >
> > <dc:title xml:lang="en-US">Hello</dc:title>
> >
> > <dcterms:alternative xml:lang="fr">Salut!</dcterms:alternative>
> >
> > <dc:creator xml:lang="en-US">RSL</dc:creator>
>
> Fine so far...
>
Ok.
> >
> > <dcterms:UDC>2</dcterms:UDC>
>
> dcterms:UDC is *not* a property, it's a vocabulary encoding scheme for
> dc:subject, much like dcterms:W3CDTF below.
>
So it should be like:
<dcterms:UDC>
<rdf:value>2</rdf:value>
</dcterms:UDC>
> >
> > <dcterms:abstract xml:lang="en-US">This is a normal
> > picture!</dcterms:abstract>
> >
> > <dcterms:created>
> >
> > <dcterms:W3CDTF>
> >
> > <rdf:value>1999-09-25T14:20+10:00</rdf:value>
> >
> > </dcterms:W3CDTF>
> >
> > </dcterms:created>
> >
> > <dcterms:DCMIType>Image</dcterms:DCMIType>
>
> This is also not right. The property is dc:type, and the value should be
> dccmitype:Image.
Should it be like the following?
<dcterms:DCMIType>
<rdf:value>Image</rdf:value>
</dcterms:DCMIType>
>
> >
> > <dcterms:references
> > rdf:resource="file://root/hello2.jpg"></dcterms:references>
> >
> > <dcterms:spatial xml:language="en-US">
> >
> > <dcterms:TGN>
> >
> > <rdf:value>New Zealand</rdf:value>
> >
> > </dcterms:TGN>
> >
> > </dcterms:spatial>
> >
> >
> > </rdf:Description>
> >
> > </rdf:RDF>
>
> Otherwise fine.
>
> >
> > This double check helps me in building the functions that will generate
> > the RDF code after the user completing the web form (as in the
> > screenshot attached).
> >
> > This will be an exercise while waiting the working draft to be
> > finalized.
> >
> > Because of the actual working draft DC - RDF, I would like to know if
> > the next changes are going to affect the DC qualifiers (element
> > refinements and element encoding scheme) and how much is going to change
> > the RDF code that I pasted above.
>
> A few things would change. dc:creator would not allow literal values,
> and there might be some changes in the use of the encoding schemes,
> depending on if they are classified as syntax or vocabulary e.s. It's
> also possible that rdf:value will be changed to dcrdf:valueString.
>
> But those things are all still open for discussion here...
>
> /Mikael
>
Sorry if I'm still asking you to correct my RDF syntax but it is not
easy to infer it from the documentation available. As DC is open to
everyone, documentation for beginners should be also available.
Thanks again,
Roberto Suggi Liverani
|