Re: [SMW-devel] [Semediawiki-user] Fwd: hook on query result

2008-06-20 Thread Sergey Chernyshev
I think a solution to your problem might be in using "|link=none" in #ask call and using your own formatting template where you can use returned value to construct your own links (instead of the links constructed by #ask query itself when link=none is not specified). This will obviously need for y

Re: [SMW-devel] Predefined/Saved queries

2008-06-20 Thread Sergey Chernyshev
Sorry for late response - I've been busy with Linked Data Planet conference and other stuff. Please see my comments below. On Wed, Jun 11, 2008 at 4:47 AM, Markus Krötzsch < [EMAIL PROTECTED]> wrote: > > {{#ask: [[Query:French cities]] [[Population::>1000]] }} > > where [[Query:French cities]] is

Re: [SMW-devel] Storing sortkey in new table structure

2008-06-20 Thread Yaron Koren
Wherever you want to store the sortkey is fine with me. I would think it would actually be easier to store it in the "instances" table, since they're already defined per category (if a page has two different sortkeys for two different categories, which one would you go with?) But on a practical lev

Re: [SMW-devel] Storing sortkey in new table structure

2008-06-20 Thread Jon Lang
Markus Krötzsch wrote: > I agree that a sortkey would be a useful option, but I would not restrict it > to the page's role as the instance of some class. Rather one could have a > universal sortkey used for all queries where pages are sorted by their own > name. So one would use some special proper