Re: [SMW-devel] Query syntax poll

2008-06-11 Thread Markus Krötzsch
OK, poll closed. Thanks to all who shared their thoughts on this. We discussed, and I have now implemented the solution with ".". The SVN version already supports this syntax. Here are some examples to explain the new feature: A query for people (or anything) born in a place that is located in

Re: [SMW-devel] Predefined/Saved queries

2008-06-11 Thread Markus Krötzsch
On Dienstag, 10. Juni 2008, Sergey Chernyshev wrote: > I'm starting to use Ask queries for RSS and iCal support on the site and > one of the issues I'm having is huge URLs that get generated when queries > are significantly large. > > These URLs can't really be imported into RSS readers or iCal too

[SMW-devel] Magic last modified

2008-06-11 Thread Javier Bezos
Hi, I'm trying to define a magic word returning the lastModified date, but I'm stuck. My first attempt was: $wgUser->getSkin()->lastModified() but it seems $wgArticle (used by lastModified) is not defined at the point the magic word is processed. Is there a simple way to get that date? Javier--

Re: [SMW-devel] Query syntax poll

2008-06-11 Thread Markus Nitsche
On Wednesday, June 11, Markus Krötzsch wrote: Firstly, to ask for a property that really has a "." in its name, use an initial space: {{#ask: [[ strange.name::Germany]] }} This example finds all things having the value "Germany" for "Property:strange.name".

Re: [SMW-devel] Magic last modified

2008-06-11 Thread Javier Bezos
Ooops! Sorry -- wrong list! Javier - Original Message - From: Javier Bezos To: semediawiki-devel@lists.sourceforge.net Sent: Wednesday, June 11, 2008 11:49 AM Subject: [SMW-devel] Magic last modified Hi, I'm trying to define a magic word returning the lastModified date, but I'm stu

Re: [SMW-devel] Predefined/Saved queries

2008-06-11 Thread Jeff Thompson
Markus Krötzsch wrote: > For example: > > {{#ask: [[Query:French cities]] [[Population::>1000]] }} > > where [[Query:French cities]] is the query "[[Category:City]] [[located > in::France]]". In a previous very illuminating message, you said "It is very easy to map an #ask query to an OWL cl