Pete, thanks as always. Could you show how one would use the VES defined
in DCMI terms? That's the main question here. I want to use
dc/terms/subject and LCC or DDC as the vocabulary of the subject. The
documentation says:
"This term is intended to be used with non-literal values as defined in
the DCMI Abstract Model
(http://dublincore.org/documents/abstract-model/). As of December 2007,
the DCMI Usage Board is seeking a way to express this intention with a
formal range declaration."
Does this mean that we don't currently have a way to do what I want?
kc
Pete Johnston wrote:
> Hi Karen,
>
>
>> Ray Denenberg, Library of Congress wrote:
>>
>>> <dc:subject xsi:type="dcterms:DDC">
>>>
>>>
>> I was just hunting for this one myself for a project, in
>> particular to use in rdf/xml, so I second Ray's request here!
>>
>
> RDF/XML doesn't use the XML Schema xsi:type attribute.
>
> In RDF/XML, datatypes of typed literals are provided using the
> rdf:datatype attribute, which takes a URI (rather than an XML QName) as
> a value. See
>
> http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-datatyped-litera
> ls
>
> There's a special case for XML literals, for which RDF/XML has a special
> construct, the rdf:parseType attribute with value "Literal". See
>
> http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-XML-literals
>
> It's also worth noting that in RDF/XML, what DCMI calls Vocabulary
> Encoding Schemes and Syntax Encoding Schemes are treated differently.
> See
>
> http://dublincore.org/documents/dc-rdf/
>
> for details
>
> e.g. (from Appendix A of that DC-RDF doc)
>
> (i) for a Vocabulary Encoding Scheme with URI
> http://example.org/taxonomy/MyVocab
>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:dcterms="http://purl.org/dc/terms/"
> xmlns:ex="http://example.org/taxonomy/"
> xmlns:dcam="http://purl.org/dc/dcam/">
>
> <rdf:Description rdf:about="http://example.org/123">
> <dcterms:subject>
> <rdf:Description>
> <dcam:memberOf rdf:resource="http://example.org/taxonomy/MyVocab"/>
> <rdf:value>Ornitology</rdf:value>
> </rdf:Description>
> </dcterms:subject>
> </rdf:Description>
>
> </rdf:RDF>
>
> (ii) for a Syntax Encoding Scheme (datatype) with URI
> http://www.w3.org/2001/XMLSchema#int
>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:dcterms="http://purl.org/dc/terms/"
> xmlns:ex="http://example.org/ns#">
>
> <rdf:Description rdf:about="http://example.org/person123">
> <ex:age
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int">43</ex:age>
> </rdf:Description>
>
> </rdf:RDF>
>
> Pete
>
>
>
--
-----------------------------------
Karen Coyle / Digital Library Consultant
[log in to unmask] http://www.kcoyle.net
ph.: 510-540-7596 skype: kcoylenet
fx.: 510-848-3913
mo.: 510-435-8234
------------------------------------
|