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

Re: Need help developing Camera model

From: Richard H. McCullough <rhm@cdepot.net>
Date: Sun, 13 Apr 2003 17:14:28 -0700
Message-ID: <004b01c3021a$da9be180$bd7ba8c0@rhm8200>
To: "Roger L. Costello" <costello@mitre.org>
Cc: <www-rdf-interest@w3.org>, "KR-language" <KR-language@YahooGroups.com>
I think you are confusing the properties of
a camera and its parts.

I'm no camera expert, but here's what I understand 
of your statements.

    # parts
    camera haspart
        body,
        lens;

    # properties
    body has
        cost,
        shutter-speed,
        slr,
        large-format,
        digital;
    lens has
        cost,
        focal-length,
        f-stop;

    # subClasses
    SLR isa camera with
        { body has slr; };
    Large-Format isa camera with
        { body has large-format; };
    Digital isa camera with
        { body has digital; };

Of course, you can add camera properties, e.g.

    camera has
        cost;  # body cost + lens cost
============ 
Dick McCullough 
knowledge := man do identify od existent done;
knowledge haspart proposition list;

  ----- Original Message ----- 
  From: Roger L. Costello 
  To: www-rdf-interest@w3.org 
  Cc: Costello,Roger L. 
  Sent: Sunday, April 13, 2003 2:31 PM
  Subject: Need help developing Camera model



  Hi Folks,

  I need some help developing a model for camera data. I've got some of it
  developed, but aspects remain elusive.  Here's what I would like to
  model:

  1. SLR is a subclass of Camera.
  2. Large-Format is a subclass of Camera.
  3. Digital is a subclass of Camera.
  4. Body has a property shutter-speed, which has a range xsd:string.
  5. Lens has a property f-stop, which has a range xsd:string.
  6. Lens has a property focal-length, which has a range xsd:string.
  7. Body and Lens have a property cost, which has a range xsd:decimal.
  8. Camera, SLR, Large-Format, and Digital all have the properties
     shutter-speed, f-stop, and focal-length. 
  9. Consider this:

      <Body rdf:about="http://www.olympus.com#Olympus-OM-10-body">
           <shutter-speed>1/2000 sec. to 10 sec.</shutter-speed>
           <cost>$345 USD</cost>
      </Body>

  I want to be able to infer that this is data about a Camera Body.  That
  is, if my Web Bot is searching for Camera info, it should be able to
  infer that this is in fact Camera info.

  10. Consider this:

      <Lens rdf:about="http://www.olympus.com#EX38">
           <compatibleWith
              rdf:resource="http://www.olympus.com#Olympus-OM-10-body
           <focal-length>75-300mm zoom</focal-length>
           <f-stop>4.0-4.5</f-stop>
           <cost>$295 USD</cost>
      </Lens>

  I want to be able to infer that this is data about a Camera Lens.  That
  is, if my Web Bot is searching for Camera info, it should be able to
  infer that this is in fact Camera info.

  Those are the things that I want to model.  The relationship between
  Body and Camera, and Lens and Camera are especially fuzzy in my mind. 
  Can you help flesh out this model?  /Roger
Received on Sunday, 13 April 2003 20:14:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:58 GMT