Hi Alexander!š

Could it be an option instead of reviving Sparql extension try to use native RDF support of SMW 1.7?š
Here is the manual that can help you set up RDF store on SMW:š

http://semantic-mediawiki.org/wiki/Help:Using_SPARQL_and_RDF_storesš


Cheers,š
Yury Katkov




On Tue, May 22, 2012 at 11:49 PM, แฬลหำมฮฤา ํฯาฯฺฯื <in8finity@yandex.ru> wrote:
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?




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel