Hi,

1) and what if I let "gnuplot" do the job? wouldn't it be easier to
implement? and the performance should be better, right?
Is there a similar extension that I can take as example? One that takes
several parameters, delegates it to a command line program and then
takes results back and incorporates them into SMW?

2) assuming I have a lot of entries of the form:
[[Area(Height, Length)::1;4;2]] (is this syntax ok?)
[[Area(Height, Length)::2;5;5]]
...

is there a way to query with some deviation, something like this (the
syntax is probably wrong)
[[Area(Height, Length)::1 +/- 0.25; 4 +/- 1.5; 2 +/- 3]] ?

3) would SMW still be usable with such queries if I have several
millions of properties described in this way?


thank you very much,
Zeev

On Fri, 2010-01-29 at 12:11 +0100, zehet...@molgen.mpg.de wrote:
> Hi,
> 
> I would also look into the ArrayExtension
> (http://www.mediawiki.org/wiki/Extension:ArrayExtension)
> 
> If you have something like 
> [[HeightLength::1;4]]
> [[HeightLength::2;5]]
> 
> you can extract and assign a HeightArray and a LengthArray by queries (see
> examples on extension page).
> 
> Unfortunately the ArrayExtension doesn't implement the array_map function but 
> it
> shouldn't be too difficult to add something like #arraymap which would use 
> PHP's
> array_map() function with the given parameters.
> 
> And than something along the line
> {{#arraydefine:SquareArray|
> {{#arraymap:HeightArray|LengthArray|'function($l,$h){return(0.5*$h*$l);}' }}
> would return an array of the results.
> 
> Cheers,
> Gu
> 
> Quoting Zeev Pekar <z.pe...@gmail.com>:
> 
> > Hi,
> > 
> > I've just added an enhancement request:
> > https://bugzilla.wikimedia.org/show_bug.cgi?id=22303
> > 
> > Do you think it is interesting enough so that SMW developers will
> > implement it? If yes, how long might it take? If no, could you please
> > tell me, whether it is hard to implement such extension and which areas
> > should I take a look at if I have to implement it myself (I'm new to
> > SMW)?
> > 
> > thank you in advance,
> > Zeev
> > 
> > 
> > ------------------------------------------------------------------------------
> > The Planet: dedicated and managed hosting, cloud storage, colocation
> > Stay online with enterprise data centers and the best network in the
> > business
> > Choose flexible plans and management services without long-term contracts
> > Personal 24x7 support from experience hosting pros just a phone call away.
> > http://p.sf.net/sfu/theplanet-com
> > _______________________________________________
> > Semediawiki-devel mailing list
> > Semediawiki-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
> > 
> 
> 
> 
> 



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to