Re: [SMW-devel] ASK Query for added Special Properties

2013-11-07 Thread sumit purohit
I changed it back to SQLStore2 in LocalSettings.php and i do see some results. Special:Properties list 199 properties when SQLStore2 is used where as only 73 when SQLStore3 is used. I did not see any error while migrating, but will give it a 2nd try. On Thu, Nov 7, 2013 at 12:48 PM, sumit pur

Re: [SMW-devel] ASK Query for added Special Properties

2013-11-07 Thread sumit purohit
Thanks 1. "]]" is there in the actual query. 2. i followed http://semantic-mediawiki.org/wiki/Help:Installation#Upgrading_existing_installations and ran following commands. php SMW_setup.php -b SMWSQLStore3 php SMW_refreshData.php -v -b SMWSQLStore3 -fp php SMW_refreshData.php -v -b SMWSQLStor

Re: [SMW-devel] ASK Query for added Special Properties

2013-11-07 Thread Jeroen De Dauw
Hey, Yes, this query is supposed to work on the current version, at least if you add the closing ]]. Are you sure you ran both the schema update and data refresh scripts? Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- ---

[SMW-devel] ASK Query for added Special Properties

2013-11-07 Thread sumit purohit
Hi All, I was using SMW 1.5 ( with MW 1.15.6) and added my own special property "mimetype" using smwInitProperties. All the pages with this property were returned when i used ask query against them {{#ask: [[mimetype::image/jpeg]] OR [[mimetype::image/bmp }} But recently i upgraded to SMW 1.8