W3C home > Mailing lists > Public > public-lod@w3.org > February 2010

Re: [fresnel] Fresnel: State of the Art?

From: Leo Sauermann <leo.sauermann@dfki.de>
Date: Mon, 08 Feb 2010 15:59:20 +0100
Message-ID: <4B7026C8.5010907@dfki.de>
To: fresnel@inria.fr
CC: Linked Data community <public-lod@w3.org>
I contribute this and then shut up forever, because I have no time for a
workgroup:

https://aperture.svn.sourceforge.net/svnroot/aperture/aperture/trunk/core/vocabulary/core/src/main/resources/org/semanticdesktop/aperture/vocabulary/sourceformat.rdfs

its the fresnel extensions we use heavily for editing in Aperture in
production.
It rocks for us - we have comboboxes, password fields, checkboxes, etc.

for reference, here it is in nice N3,
best
Leo

     @prefix : <http://aperture.semanticdesktop.org/ontology/sourceformat#> .
     @prefix fresnel: <http://www.w3.org/2004/09/fresnel#> .
     @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
     @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
     @prefix source: <http://aperture.semanticdesktop.org/ontology/2007/08/12/source#> .
     @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
    
    source:excludePatternFormat     a fresnel:Format;
         :valueWidget  [
             a :PatternWidget ];
         fresnel:propertyFormatDomain source:excludePattern .
    
    source:includePatternFormat     a fresnel:Format;
         :valueWidget  [
             a :PatternWidget ];
         fresnel:propertyFormatDomain source:includePattern .
    
    source:passwordFormat     a fresnel:Format;
         :valueWidget  [
             a :PasswordTextFieldWidget ];
         fresnel:propertyFormatDomain source:password .
    
    source:usernameFormat     a fresnel:Format;
         :valueWidget  [
             a :TextFieldWidget ];
         fresnel:propertyFormatDomain source:username .
    
    :CheckBoxWidget     a rdfs:Class;
         rdfs:comment "Use boolean checkbox to style the property. checked = boolean:true, unchecked=boolean:false.";
         rdfs:label "CheckBoxWidget";
         rdfs:subClassOf :UIWidget .
    
    :ComboBoxEntry     a rdfs:Class;
         rdfs:label "ComboBoxEntry";
         rdfs:subClassOf rdfs:Resource .
    
    :ComboBoxWidget     a rdfs:Class;
         rdfs:comment "A combo box. Define the displayed labels and internal values using instances of ComboBoxEntry.";
         rdfs:label "ComboBoxWidget";
         rdfs:subClassOf :UIWidget .
    
    :IntegerFieldWidget     a rdfs:Class;
         rdfs:label "IntegerFieldWidget";
         rdfs:subClassOf :TextFieldWidget .
    
    :MultipleTextFieldWidget     a rdfs:Class;
         rdfs:comment "A textfield for a multi-valued property";
         rdfs:label "MultipleTextFieldWidget";
         rdfs:subClassOf :UIWidget .
    
    :PasswordTextFieldWidget     a rdfs:Class;
         rdfs:comment "A textfield hiding passwords behind * or other funny characters.";
         rdfs:label "PasswordTextFieldWidget";
         rdfs:subClassOf :TextFieldWidget .
    
    :PatternWidget     a rdfs:Class;
         rdfs:comment "A domain boundaries pattern widget";
         rdfs:label "PatternWidget";
         rdfs:subClassOf :UIWidget .
    
    :TextFieldWidget     a rdfs:Class;
         rdfs:comment "A textfield";
         rdfs:label "TextFieldWidget";
         rdfs:subClassOf :UIWidget .
    
    :UIWidget     a rdfs:Class;
         rdfs:comment "Superclass of UI widgets. Use instances of widgets to configure gui.";
         rdfs:label "UIWidget";
         rdfs:subClassOf rdfs:Resource .
    
    :hasEntry     a rdf:Property;
         rdfs:comment "Binds a combo box widget with combo box entries";
         rdfs:domain :ComboBoxWidget;
         rdfs:label "hasEntry";
         rdfs:range :ComboBoxEntry .
    
    :label     a rdf:Property;
         rdfs:domain :ComboBoxEntry;
         rdfs:label "label";
         rdfs:range rdfs:Literal .
    
    :value     a rdf:Property;
         rdfs:domain :ComboBoxEntry;
         rdfs:label "value";
         rdfs:range rdfs:Resource .
    
    :valueWidget     a rdf:Property;
         rdfs:domain fresnel:Format;
         rdfs:label "valueWidget";
         rdfs:range :UIWidget .



It was Axel Rauschmayer who said at the right time 03.02.2010 15:20 the
following words:
>> Our goal with the first release of the Fresnel vocabulary in 2006 was to have more people (beyond us) play with it in different contexts and get feedback so that the language could be enhanced iteratively. Maybe it is now time to do such an iteration?
>>     
>
> I am working on my own Fresnel 2. The spec should be finished in the coming 3 months. It strips Fresnel to what features I consider minimal and adds other things that I've found useful, including editing features. If anyone is interested, I can make this spec public once it is finished and then everyone can comment on it. If someone thinks that I've left out an important feature, we now have the advantage of concrete use cases when adding it back in. That way, we should arrive at a streamlined new Fresnel. I would argue in favor of breaking compatibility, for the sake of simplicity. A script could be used to translate F1 to F2.
>
> I do not want to impose and if what I do proves too controversial, I can always fork.
>
> If there is to be a version 2 of Fresnel, a small group of people (5 max) should have the final word, to avoid "design by committee", where one tries to fulfill all wishes, but ends up fulfilling none. All this after carefully considering all community input, obviously.
>
> Greetings,
>
> Axel
>
>   


-- 
_____________________________________________________
Dr. Leo Sauermann       http://www.dfki.de/~sauermann 

Deutsches Forschungszentrum fuer 
Kuenstliche Intelligenz DFKI GmbH
Trippstadter Strasse 122
P.O. Box 2080           Fon:   +43 6991 gnowsis
D-67663 Kaiserslautern  Fax:   +49 631 20575-102
Germany                 Mail:  leo.sauermann@dfki.de

Geschaeftsfuehrung:
Prof.Dr.Dr.h.c.mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
_____________________________________________________
Received on Monday, 8 February 2010 15:00:05 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:25 UTC