Hi James,

I found this link some weeks ago:
https://semantic-mediawiki.org/wiki/User:Yury_Katkov/programming_examples

Even though Semantic Tasks is unmaintained, I found some piece of code
that could inspire you as well:
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FSemanticTasks/5363a0ba564c5c3708c246a4c316260d781da1e1/SemanticTasks.classes.php

Hope it helps,

El 01/11/14 a les 19:18, James Montalvo ha escrit:
> I'm creating a parser function in which I'm going to include an ask query.
> In this particular case I'd like it just return a normal HTML table of
> results, as if I were to do:
> 
> {{#ask: [[Category:Some category]]
> |? Property 1
> |? Property 2
> | limit = 10
> | sort = Property 2
> }}
> 
> Once I understand this I'll probably have cases where I need to modify the
> results of the query before passing it to a result formatter or formatting
> the results manually. What is the best way to do this using existing SMW
> methods?
> 
> Thanks,
> James
> 

-- 
Toni Hermoso Pulido
http://www.cau.cat
http://www.similis.cc

------------------------------------------------------------------------------
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to