I want to create a page with a catergory Actor, property:located in and value height :180 using semantic media wiki API . I want to query the same using parser function. The sample example may be like I have #ask SMW extension for that. i got the result using #ask. I need to do the same using SMW . can some one kindly help me with this. This is the statement i used to query in parser function.
$this->wgOut->addHTML('<h2>{{#ask: [[Category:Actor]] | ?located in| ?height}} </h2>');