W3C home > Mailing lists > Public > www-archive@w3.org > November 2001

Re: [CSS-TECHS] List of CSS Values cross referenced with Properties?

From: Sean B. Palmer <sean@mysterylights.com>
Date: Sat, 10 Nov 2001 22:29:14 -0000
Message-ID: <016001c16a37$3fba3d00$4ed993c3@localhost>
To: <www-archive@w3.org>
> [...] exploring the use of rdfs:range instead of 'values'
> as the property is the harder bit.

Just noodling on the relationship between "values" and "range"...

We have:-

  :bottom :values "<length> | <percentage> | auto | inherit" .

which is *like*:-

   :bottom :value v:length, v:percentage, v:auto, v:inherit .

but is more accurately modelled as:-

   :bottom rdfs:range :Bottom .
   :Bottom daml:unionOf
      (u:length u:percentage [ daml:oneOf (v:auto v:inherit) ]) .

This means that the range of "values" in my original result is an
alternate plain text representation of the range of the CSS

   { ?x :values ?y } log:implies { ?x rdfs:range ?z . ?z rdfs:label
?y } .

or, more like:-

   { ?x :values ?y } log:implies { ?x rdfs:range ?z . ?z :altRepr ?y }

Which is not at all useful, unless someone really wants to follow up
and start an RDF version of CSS.

Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .
Received on Saturday, 10 November 2001 17:30:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:14 GMT