Yep, you got it! :)
Effective data modeling is difficult. I don't know if the following is
at all helpful, but a quick mental model that I use when describing
resources in RDF is the following -
a) what are the 'things' i'm interested in describing
b) what are the 'types' of these 'things'
c) what (if any) are the 'identifiers' of these 'things'
d) what 'characteristics' are associated with these 'things'
e) what 'relationships' exist between these 'things'
steps 'a-c' for example gives me statements like -
<dctype:Text rdf:about="http://example.com/">
step 'd' for example gives me statements like -
<dctype:Text rdf:about="http://example.com/">
<dc:title>My home page</dc:title>
step 'e' for example gives me statements like -
<dctype:Image rdf:about="http://example.com/cat.png">
<dcterms:isRequiredBy rdf:resource="http://example.com/" />
There are additional issues here with this simple approach to modeling,
but the above generally gets me (at least) most of the way there for
relatively simple resource description.
And from there one can explicitly discuss various other (more
interesting :) issues e.g. should this be dcterms:isRequiredBy or
dcterms:isReferencedBy, should a Person be one of these describable
'things', etc.
--
eric miller http://www.w3.org/people/em/
semantic web activity lead http://www.w3.org/2001/sw/
w3c world wide web consortium http://www.w3.org/
ps: I strongly support your suggestions of a example suite. This example
set
both helps others understand how to more effectively use Dublin Core as
well
as provides an important use-case test suite that aids application
developers.
Ideally, each example would additionally be described so that one could
build a
simple database of examples demonstrating various kinds of functionally.
But, this of course could be done after the fact.
On Mon, 2002-08-19 at 11:07, Chris Croome wrote:
> Hi
>
> It's only become clear to me over the last few days how to use DCMI Type
> with RDF in order to describe things like a web page with an embeded
> image. Unless I'm exceptionally stupid (this is possible ;-) I suspect
> that other people won't get it straight away either. I don't know where
> it should go (in the DCQ RDF document or elsewhere) but I really think
> that some examples like the following one would help people uinderstand
> how to use Type:
>
> <?xml version="1.0"?>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:dc="http://purl.org/dc/elements/1.1/"
> xmlns:dcterms="http://purl.org/dc/terms/"
> xmlns:dctype="http://purl.org/dc/dcmitype/">
> <dctype:Text rdf:about="http://example.com/">
> <dc:identifier rdf:resource="http://example.com/" />
> <dcterms:requires rdf:resource="http://example.com/cat.png" />
> <dc:title>My home page</dc:title>
> <dc:creator>Fred</dc:creator>
> </dctype:Text>
> <dctype:Image rdf:about="http://example.com/cat.png">
> <dc:identifier rdf:resource="http://example.com/cat.png" />
> <dcterms:isRequiredBy rdf:resource="http://example.com/" />
> <dc:title>Photo of my cat</dc:title>
> <dc:creator>Fred</dc:creator>
> </dctype:Image>
> </rdf:RDF>
>
> Put the above into the validator here for a pretty graph:
> http://www.w3.org/RDF/Validator/
>
> Chris
>
> --
> Chris Croome <[log in to unmask]>
> web design http://www.webarchitects.co.uk/
> web content management http://mkdoc.com/
> everything else http://chris.croome.net
|