I want ot use SparqlExtension (http://www.mediawiki.org/wiki/Extension:SparqlExtension) in my SMW 1.7
I have tried straight forward installation. And got some errors easily fixed with recomendations I'v googled.

But I stuck on /extensions/SparqlExtension/JosekiStore.php file
It links SMW properties to rdf and connects triplestore with SMW.

Problem:

Trying to import data from SMW to Joseki.

And this code produces exception:

140         $newpage = SMWDataValueFactory::newTypeIDValue('_wpg');
141         $newpage->setValues($title->getDBkey(), $title->getNamespace(), $pageid);
142         $semdata = $this->getSemanticData($newpage);
143         $this->updateData($semdata);

 
PHP Fatal error:  Call to undefined method SMWWikiPageValue::setValues() in /srv/www/htdocs/plasmakb/extensions/SparqlExtension/JosekiStore.php on line 141

Strange that I can't find this method in full class methods list in docs.

Can anybody help me with migrating this code to SMW 1.7?