Well, it's one or the other, depending on whom you ask. :)

You're talking about defining properties within groups within a single page. You can do that already, to some extent, using many-valued properties:

http://semantic-mediawiki.org/wiki/Help:Many-valued_properties

This approach, though, has some limitations, listed on that page: among them, you have very little control over how the data gets displayed.

I presented what I think is a reasonable roadmap toward a better solution here:

http://www.mail-archive.com/semediawiki-devel@lists.sourceforge.net/msg01312.html

The final result would be a new extension called "Semantic Internal Objects"; I'm, in theory, still working on this extension, although I haven't looked at it in a while.

-Yaron


On Thu, Apr 16, 2009 at 4:47 PM, Etienne Fortin <etienne.fortin@sensio.tv> wrote:
Hello all,
I've been  toying with Semantic Mediawiki for a couple of months now and just LOVE it. But as in everything, it doesn't always do what I want the way I want it. Sometimes it's because I don't know how to use the software properly yet, sometimes it's just that the software is limited. For my question, I don't know exactly what is the right answer so here it is.
 
Scenario : Let's say I have properties grouped together that defines something. I have SomethingAuthor SomethingDescription, SomethingStatus. There can be multiple SOMETHING property group present in the same page. When I query for these properties, I want each group to be on a distinct row in my results table.
 
Problem: Semantic mediawiki seems to be made for one property name per page, not multiple one. It also seems that SMW always do SELECT DISTINCT on the database, removing redundant values. But in my scenario, I want to have all these redundant values. I want to be able to group together properties and have a meaning for that group.
 
Soooooo, which one is true : RTFM or Limitation of SMW?
 

Etienne Fortin

 


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user