On 05/09/11 15:34, Mauricio Etchevest wrote:
> Hi,
>
> I'm working on an new extension for SMW.

Great.

>
> There're two things that don't work out:
>
> My extension has to generate new semantic annotations without any user
> input,
> Anybody could tell me how to start ?  Any recommendations on what to
> read or which classes are important to do that?

You might want to look at the SMWWriter extension for SMW that addresses 
part of this task. However, SMW is not a general purpose store for 
annotations and it only stores data that is actually found on a page (in 
wikitext). So adding annotations can only be done by writing the wiki text.

>
> Anyone could tell my where to find a list of all semantic annotations
> that users can use ? I have the feeling that I'm missing something here,
> It seems yo me that there might be more semantic annotations than the
> ones that appear in the user manual.

Users can use any annotation they like. With this I mean: they can use 
properties with arbitrary names and they can assign arbitrary values to 
these properties for every page. The only restriction is that the value 
must make sense in the datatype of the property (for example, a property 
of type Number can only have values that are numbers).

There are also a few special annotations that SMW looks for to figure 
out certain user settings. For example, the datatype of a property is 
set as a value for the property "has type" as in [[has type::Number]]. 
These special things are what is documented in the user manual. All 
other annotations do not have a special meaning for SMW (they are "just" 
data).

Regards

Markus

>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
>
>
>
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to