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<http://semantic-mediawiki.org/doc/classSMWWikiPageValue-members.html>
.
*
*
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