Talk:Semantic Wiki

From BattleMaster Wiki
Jump to navigation Jump to search

Cleanup

It would be a good idea for people who post ideas to remove them or clean them up when they are moved to the front page, or we decide they are not appropriate. This page will rapidly get too cluttered with old idea to follow the current discussion. --Indirik 18:10, 5 February 2009 (UTC)

Maps Service

Using Service Links we can easily add links to region detail pages and other backlinks into the game (family pages, etc.)


Infoboxes

These infoboxes, which are used often as templates, are most important to update, because in one stroke you can convert dozens or even a hundred region or realm pages to semantic information.


Options for Region Info templates

The following ones have been - more or less completly - modified to include semantics:

Options for Realm Info templates

(add those you found)


Various Ideas

"member of" should cover family relations. The cool thing is that you can also model actual relations using semantic terms, so "son of" and "father of" works great, as does "brother of". I'll add a category for that. --Tom 06:40, 5 February 2009 (UTC)
Maybe a "was member of" for former realms.--Athins 18:41, 5 February 2009 (UTC)
That's an interesting idea, but it would also require further annotations, specifically dates. Anyone know if there's a way to express things like "was a member of X from (date A) until (date B)" ?
I think this could be done using Many-valued properties. --Tom 13:42, 7 February 2009 (UTC)
Following that idea(which I like, but could see troubles with), I think we need a had ruler/judge/general/banker/capital etc. function for lost realms or for just former people in those offices. This could apply to lordships as well and begin to collect a database of claims when you view former council members, regions, lords etc. --Vita Family 15:06, 8 February 2009 (UTC)

Calculating realm population

I've gotten stuck trying to calculate the population of a realm. I can generate a count of the regions/duchies/nobles in a realm, but I can't seem to figure how to do a mathematical computation using the populations of individual regions to get the total population. There is the {{#expr: ... }} parser function, but there is no way to have it perform operations on an unknown number of values. i.e. there is no SUM operator. I'd appreciate any help anyone has.

Population of the regions of Keplerstan, this would list all of them, separated by commas:

44,666, 8,801, 42,900, 3,200, 2,920, 10,003, 1,049, 8,024, 9,600, 12,500, 24,400

I can use "sep=+" t replace the separators with + signs, like this:

44,666+8,801+42,900+3,200+2,920+10,003+1,049+8,024+9,600+12,500+24,400

But when I try and feed the whole thing through {{#expr: ... }}, I get this:

Expression error: Unexpected < operator.

If the population values contain thousand separators, you get an error...

If you restrict it to populations less than 1000, you get this:

Expression error: Unexpected < operator.

So it works, if we just get rid of the thousand separator on all the region pages. But if anyone uses one, then it will error out on all pages that reference that region.

Perhaps we could contemplate adding this: http://semantic-mediawiki.org/wiki/Semantic_Result_Formats. It would add the Sum operator, as well as timelines, charts, calendar, etc. --Indirik 23:12, 10 February 2009 (UTC)

Eh.... Information > Realm List? And if the table's not good enough for you, you can click on details and it is also listed on the realm page in simpler text, along with the realm's food production? -Chénier 03:21, 11 February 2009 (UTC)