W3C home > Mailing lists > Public > www-rdf-interest@w3.org > April 2003

Re: Using MIME types in RDF/DAML and Image Metadata

From: Ian Davis <iand@internetalchemy.org>
Date: Mon, 31 Mar 2003 21:39:03 +0100
Message-ID: <1472268952.20030331213903@internetalchemy.org>
To: www-rdf-interest@w3.org

On Monday, 31 March 2003 at 01:12, Yarden Katz wrote:
> As far as
> I can tell, I could use dc:format as follows:

>   Given: <Picture rdf:resource="http://foo/bar.jpg">

>   <rdf:Description rdf:resource="http://foo/bar.jpg">
>     <dc:format>image/jpeg</dc:format>
>   </rdf:Description>

> But I'm unsure of a way to express that "all resources pointed to by
> [i.e., everything in the rdfs:range] 'Picture' have dc:format of
> image/jpeg".  If I hardcode it into the agent, well, then it's not
> really inferencing :)

I think this is close:

<owl:Class rdf:ID="Picture">
      <owl:onProperty rdf:resource="&dc;format" />
          <owl:oneOf rdf:parseType="Collection">

In English, this snippet defines a class with an ID of Picture. It's a subclass of
a restricted class. The restriction applies to the dc:format property
which is restricted to taking the IANA URI representing the image/jpeg
mime type as a value.

In other words, only those resources that have a dc:format property
with the value of
are Pictures. Not quite what you're looking for but maybe of some

- Ian <iand@internetalchemy.org>
"One never notices what has been done; one can only see what remains to be done."
Received on Tuesday, 1 April 2003 04:14:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:41 UTC