Properties in seperate cells in result

View: New views
2 Messages — Rating Filter:   Alert me  

Properties in seperate cells in result

by kaffeeschluerfer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello!

(I just don't know what exactly I should be searching for, so I'm  
sorry if I ask something that was already posted or handled in the SMW  
help pages. More, I'm new to SMW.)

SMW does a good job on my private Mediawiki. So now I started to use  
SMW for gathering tasks. I use one or more of a property "todo" in my  
pages. On a page "Tasks" I put the SMW_calendar and a query for  
property "todo".

The result is something like

{{#ask: [[Todo::+]] }}

Page              |     Task
-----
Project:This   |   @Office: Do this
                         |   @Home: Do this again
-----
Project:That   |   @Office: Do that



The point is, that I cannot seem to sort by tasks since "Do this" and  
"Do this again" are part of one table cell.



How can I get a result like

Task                                 |  Page
-----
@Office: Do this             |  Project:This
-----
@Home: Do this again  | Project:This
-----
@Office: Do that             | Project:That

where I have the properties in seperate cells that I can sort?



Is there a way?

Thanks

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: Properties in seperate cells in result

by Nathan Yergler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think the problem here is your data model.  You're stating that the
"Project" is the level of granularity, and that each project has one
or more tasks (that I'm assuming are just Strings).  If you want to be
able to query with a "Task" as your level of granularity, you'll need
to model each as an individual page.  You can still attach them to
Projects using semantic annotations to get the relation you need, too.

Nathan

On Sat, Sep 20, 2008 at 1:24 AM, kaffeeschluerfer
<kaffeeschluerfer@...> wrote:

> Hello!
>
> (I just don't know what exactly I should be searching for, so I'm
> sorry if I ask something that was already posted or handled in the SMW
> help pages. More, I'm new to SMW.)
>
> SMW does a good job on my private Mediawiki. So now I started to use
> SMW for gathering tasks. I use one or more of a property "todo" in my
> pages. On a page "Tasks" I put the SMW_calendar and a query for
> property "todo".
>
> The result is something like
>
> {{#ask: [[Todo::+]] }}
>
> Page              |     Task
> -----
> Project:This   |   @Office: Do this
>                         |   @Home: Do this again
> -----
> Project:That   |   @Office: Do that
>
>
>
> The point is, that I cannot seem to sort by tasks since "Do this" and
> "Do this again" are part of one table cell.
>
>
>
> How can I get a result like
>
> Task                                 |  Page
> -----
> @Office: Do this             |  Project:This
> -----
> @Home: Do this again  | Project:This
> -----
> @Office: Do that             | Project:That
>
> where I have the properties in seperate cells that I can sort?
>
>
>
> Is there a way?
>
> Thanks
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@...
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
LightInTheBox - Buy quality products at wholesale price!