Splitting Multiple Page Records in Table

From semantic-mediawiki.org

I'm so happy to be using Semantics Wiki and it's doing great so far! My one question is there a way to split the results into individual records once I do an #Ask Query.

This is what I have atm for my Record Type: Has Dates: Has fields:Tevent; Tdate Tevent and Tdate are both text due to custom dates (fantasy)

Two pages currently have Has Dates: Event Description; Date of Event
Page 1 has 1 record
Page 2 has 2 records

On my Query Page called Timeline I have:

{{#ask: [[Has Dates::+]]
| ?Has Dates=Date |+index=2
| ?Has Dates=Event |+index=1
| format=table
}}

Finally what shows up is:

Page 1 | Event 1<Br />
Page 2 | Event 2<br />
         Event 3<br />

Is there a way that I could get it to be something like:

Page 1 | Event 1
Page 2 | Event 2
Page 2 | Event 3
17:56, 23 April 2015

Admittedly I never used this datatype but I think that this is the best you can get out of it. Rather use subobjects. This example shows something similar to what you probably want to achieve.

16:32, 24 April 2015

Ah I tried to get that to work but it seemed like a lot more than I am prepared for. However, I was able to get it to work. Instead of querying the Record Type I just queried the fields individually and was able to get the results I wanted.

Essentially instead of:

{{#ask: [[Has Dates::+]]
| ?Has Dates=Date |+index=2
| ?Has Dates=Event |+index=1
| format=table
}}

I wound up querying this way:

{{#ask: [[Tdate::+]]
| ?Tdate=Date
| ?Tevent=Event
| format=table
}}

Seems to be working so far! Thanks for the idea and helping me look more outside the box!

17:19, 1 May 2015

Thanks for your feedback. Learned something here, too. :)

22:06, 1 May 2015