Hey,

I've spent about two days recently before I figured out these two
lines that allow to want the value of the semantic property.

 $params = array ("[[Pagename]]", "?ExampleProperty=", "mainlabel=-");
 $result = SMWQueryProcessor::getResultFromFunctionParams( $params, SMW_OUTPUT_WIKI );

It would be of great help to have documentation on doing such stuff, but right now SMWQueryProcessor is a huge mess, so I'd like to see it rewritten before everyone starts building on top of it.

I'm pretty sure that making custom datatypes is pretty common task and not only I will find your docs useful.

Right - I will quickly poke at this soonish then. Docs will be here http://semantic-mediawiki.org/wiki/Writing_data_values

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--