- From: Tim Berners-Lee <timbl@w3.org>
- Date: Thu, 26 Jan 2012 08:01:06 +0100
- To: Melvin Carvalho <melvincarvalho@gmail.com>
- Cc: Linked Data community <public-lod@w3.org>
- Message-Id: <9155205C-809F-4FB4-8BB0-F9C2801A0E12@w3.org>
On 2012-01 -26, at 00:15, Melvin Carvalho wrote: > I see hasColor a lot in the OWL documentation but I was trying to work > out a way to say something has a certain color. > > I understand linked open colors was a joke > > Anyone know of an ontology with color or hasColor as a predicate? > > In http://www.w3.org/ns/ui are some terms for adding to things (classes, or individuals) hints for user agents as to what color things should be. The tabulator uses this for things like task priority level in the tracker in the bug pane. e.g. http://www.w3.org/ns/ui#color In practice backgroundColor is more useful if you are going to use us it for text-based UI, as it is more legible than text color. Tim BL style a r:Property, owl:DatatypeProperty; s:label "style"; prompt "CSS style"; s:comment """Must be a valid CSS style string such as one could put in an HTML style attribute. Depedning on teh user interface system, this can by given to individuals, classes or properties. It is up to a user interface which wants to draw on them to pick how it uses styles from which parts of the data it has. For example, the style of a class may be picked to distinguish information about things in that class.""". backgroundColor a r:Property, owl:DatatypeProperty; s:label "background colour"@en; s:range ui:Color; s:comment """Must be a valid CSS color string such as one could put in an HTML style attribute. This should be in the #xxxxxx form, (with 6 digits of hex) so that it can work with Graphviz.""". color a r:Property, owl:DatatypeProperty; s:label "colour"@en; s:range ui:Color; s:comment """Must be a valid CSS color string such as one could put in an HTML style attribute. This should be in the #xxxxxx form, (with 6 digits of hex) so that it can work with Graphviz.""".
Received on Thursday, 26 January 2012 07:01:11 UTC