Re: Comments on yesterday's version of the fresnel document

From: Emmanuel Pietriga <Emmanuel.Pietriga_at_lri.fr>
Date: Thu, 24 Mar 2005 18:31:48 +0100

Chris Bizer wrote:
>>So, where you say:
>>
>>/********************************************************/
>>foafPersonLens rdf:type fresnel:ClassLens ;
>> fresnel:lensDomain foaf:Person .
>>
>>:oldGuys rdf:type fresnel:InstanceLens ;
>> fresnel:lensDomain
>> "foaf:Person[foaf:age/* > 60]"^^fresnel:selector;
>>/********************************************************/
>>
>>
>>I'd rather say something like (for the reasons mentioned above):
>>
>>/********************************************************/
>>foafPersonLens rdf:type fresnel:Lens ;
>> fresnel:lensInstanceDomain foaf:Person .
>>
>>:oldGuys rdf:type fresnel:Lens ;
>> fresnel:lensClassDomain
>> "foaf:Person[foaf:age/* > 60]"^^fresnel:selector;
>>/********************************************************/
>>
>>We can of course change the property names if somebody offers something
>>better.
>>
>>What do you think ?
>>
>
>
> Good idea. Yes, I acutally think your solution of encoding the information
> into the
> property name is better than to encode it into the class name.
> It makes Fresnel look less complicated if there are only two basic classes.

> But I would flip the wording.
>
> A fresnel:lensClassDomain contains the name of a class and means that the
> lens applies to all instances of this class.
>
> A fresnel:lensInstanceDomain contains a set of instances (usually created
> with a FSL query) and means that the lens applies exactly to these
> instances.
>
> OK?

Fine with me.


> lensClassDomain is kind of the default behaviour, so we could also just call
> it lensDomain. Or even better: Just have fresnel:domain
> (fresnel:classDomain) and
> fresnel:instanceDomain and use these properties on lenses and styles. There
> is no real reason to have the word lens or style in the property name.
>
> What do you think?

Also fine with me. But this means that in the Fresnel ontology
(described in RDFS/OWL), we have to define an rdfs:domain that is the
union of fresnel:Lens and fresnel:Style. Is that ok ?




-- 
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 Thu Mar 24 2005 - 17:31:52 EST

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT