Hi all,
> I have a proposal for a simplification in #ask query syntax that I would like 
> to get some feedback on.
>
> If you currently ask for property chains, you need something like the 
> following:
>
> {{#ask: [[works at::<q>[[located in::<q>[[population::>1000000]]</q>]]</q>]]}}
>
> to find someone working at an organisation located in a place with more than 
> 1000000 inhabitants. The many [[ and <q> are sure annoying.
>
> My proposal is to instead allow writing
>
> {{#ask: [[works at.located in.population::>1000000]] }}
>
> with exactly the same interpretation as above.
>
> Effects:
> * "." in property names become problematic (though some escape can be 
> provided 
> to allow them),
> * the syntax becomes shorter, and maybe also more readable.
>
> Would that be an improvement? Other comments? (There is also another issue 
> regarding the syntax with <q>, but I will have to check what can be done 
> there before proposing alternatives.)
>
>   
Hi!
That would be great improvement of readability. Already existing pages 
and templates
can be changed, accordingly.
It's much worse when you update from SVN and then template works 
differently with
the same parameters and there's no way of make it work besides patching 
the code
(as in my unanswered case).
Dmitriy

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to