Re: Using fresnel:FormatDescription again

From: Emmanuel Pietriga <Emmanuel.Pietriga_at_lri.fr>
Date: Mon, 27 Jun 2005 11:13:11 +0200

Ryan Lee wrote:
> Chris Bizer wrote:
>
>> Thinking further about it, we could also get rid of the format
>> description
>> at all and attach the content properties directly to the format. Two
>> examples.
>
>
> As we are no longer using a box model, then it is likely someone might
> want to describe how to separate properties, making this change
> unworkable (i.e., it will not be clear which content is being separated,
> values or properties). As much as I don't like format description
> because of the difficulty it introduces in writing the ontology, it does
> seem like an important element.
>
>> Example: Add commas between property values and a period to the end of a
>> list of homepages.
>>
>> :formatHomepage rdf:type fresnel:Format ;
>> fresnel:formatDomain foaf:homepage ;
>> fresnel:contentAfter ", "^^xsd:string ;
>> fresnel:contentLast "."^^xsd:string ;
>> fresnel:valueStyle "basicLabel"^^fresnel:FormatClass
>> .
>
>
> On a separate issue, is contentLast taking the place of the last comma
> produced by contentAfter? Or is it going to look like:
>
> 'red, green, orange, .'
>
> Could we say contentBetween in addition?

We can do everything with just contentAfter and contentLast, provided
that the behaviour of contentLast is to override contentAfter for the
last element. So I am in favour of this instead of introducing another
element in the Fresnel vocab.


-- 
Emmanuel Pietriga
INRIA Futurs - Projet In Situ    tel : +33 1 69 15 34 66
Bat 490, Université Paris-Sud    fax : +33 1 69 15 65 86
91405 ORSAY Cedex FRANCE     http://www.lri.fr/~pietriga
Received on Mon Jun 27 2005 - 09:10:58 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:40:51 EDT