Re: [SMW-devel] Help with ask queries - using intermediate results

2012-11-09 Thread Markus Krötzsch
On 09/11/12 13:34, Marcelo Chiaradía wrote: > Thanks a lot for your answer. By the way, is there any extension needed > to run sub-queries? No, subqueries are a standard part of SMW's query language and all storage backends support them. There are also some forms of subqueries for which you don'

Re: [SMW-devel] Help with ask queries - using intermediate results

2012-11-09 Thread Marcelo Chiaradía
Thanks a lot for your answer. By the way, is there any extension needed to run sub-queries? Marcelo. 2012/11/9 Markus Krötzsch > On 09/11/12 09:37, Yury Katkov wrote: > >> Well you can also use template format if you don't like subqueries... It >> would also help you to use the intermediate res

Re: [SMW-devel] SIO - Having trouble querying Semantic Internal Objects

2012-11-09 Thread Marcelo Chiaradía
Hi Yaron, thanks a lot for your answer. The full query is {{#ask: [[hasAnInternalObject::+]] |?language }} "hasAnInternalObject" is defined as property of type Page. I have check my databse, and indeed my internal object exists, and it has a relationship with my page.( "smw_rels2" table) The we

Re: [SMW-devel] Help with ask queries - using intermediate results

2012-11-09 Thread Markus Krötzsch
On 09/11/12 09:37, Yury Katkov wrote: > Well you can also use template format if you don't like subqueries... It > would also help you to use the intermediate results. That would let you "see" the intermediate results (otherwise, there is no way to find out which of, say, the "has C" values was "

Re: [SMW-devel] Help with ask queries - using intermediate results

2012-11-09 Thread Markus Krötzsch
On 07/11/12 13:44, Marcelo Chiaradía wrote: > Hi everyone, > > I'm trying to make an #ask query, using intermediates results to do more > queries within. > > I have this scenario: > > I have several pages of a category A. Some of them are related to other > pages of category B, through a "has B" pr

Re: [SMW-devel] Help with ask queries - using intermediate results

2012-11-09 Thread Yury Katkov
Well you can also use template format if you don't like subqueries... It would also help you to use the intermediate results. - Yury Katkov, WikiVote On Wed, Nov 7, 2012 at 5:44 PM, Marcelo Chiaradía < chiaradiamarc...@gmail.com> wrote: > Hi everyone, > > I'm trying to make an #ask query,