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)

  • Template:RealmBox uses pretty much every valid semantic property defined for the realm, and is I believe, simple enough for general use.

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

OK, I'm calculating population, using this query:

{{#ask: [[part of::Keplerstan]] | ?population | format=sum }}

It works and gets the right answer, but with one problem: it wraps the answer in <p>...</p> tags, like this:

The population of Keplerstan is {{#ask: [[part of::Keplerstan]] | ?population | format = sum }} commoners.

The population of Keplerstan is 999 commoners.

This only seems to affect the "sum" format. The "list" format doesn't do this:

The population of Keplerstan is 999 commoners.

Anyone have any ideas? This is *really* annoying. --Indirik 23:41, 25 February 2009 (UTC)

Looks like being a "feature" of the sum format. --Tom 07:32, 26 February 2009 (UTC)
Testing if this is also for the other math functions:
The max population in Keplerstan is 999 commoners.
The min population in Keplerstan is 999 commoners.
The avg population in Keplerstan is 999 commoners.


Region properties

Shouldn't immutable region traits such as gold and food be properties as well?

ie, [[taxes gold::]] and [[grows food::]] ...or maybe just [[gold::]] and [[food::]], to remain consistent with the [[population::]] property. However, those might be used in the future for characters or family gold; a separation between region gold and character/family gold will probably want to be maintained.

In general, yes. However, please wait for the New Economy with these. There will be a few more things that a region produces, and the now-fixed values will not be so fixed anymore. --Tom 10:59, 16 February 2009 (UTC)

The New Economy appears to assign two major resource types to each region. How about assigning semantic properties for these? That would allow us to easily create a list of all regions that have, for example, stoneworks, or mining. Perhaps: [[has resource:: ... ]]? Maybe we could then even dynamically list the resource types produced by a realm... --Indirik 20:40, 20 March 2009 (UTC)

Region Infoboxes

After digging around some, I think we should simply wipe away all the region infoboxes and replace them with one template. That would have the advantage that I can auto-generate the contents of that template for every region from the game database, and we would a) know for sure it's all correct and b) have all the semantics in place properly. People can then branch away from that if they like, but we need a basis once, and right now it's pure chaos. Comments? Anyone want to suggest a template to use/modify? --Tom 10:52, 16 February 2009 (UTC)

Here's my attempt: Template:Infobox_region - this can serve as a starting point. Should I go and replace all existing regions pages with this? It would fix our entire semantics for regions in one swoop. --Tom 11:54, 16 February 2009 (UTC)
I think we should use the newer Realm Box template that Indirik is working on. Like the old Realm Box, it could apply to regions, religions, and guilds as well as realms. I heard he ran into a bit of trouble though so you might want to ask him about that. I definitely support using less templates and removing most of the others. I'm not sure we should open it up for new ones again though. I think having them make a request for an additional part to the new Realm Box would be best. --Vita Family 12:43, 16 February 2009 (UTC)
I've intentionally not used the Realm Box. It is great, I much like it. However, it is too complicated for others to adapt and create their own templates out of, and I know that people want to do that. So they need a very simple baseline example on how to do it. Otherwise we'll end up with the same mess again - I even found some region pages that didn't use templates at all, but had copied their contents. --Tom 14:10, 16 February 2009 (UTC)

Template:Pie

I've not done much research into this Semantic wiki stuff, but would adding a Semantic query to Template:Pie (referenced by New Attributes) be appropriate/possible? Something like {{#show: {{PAGENAME}} | ?attributes}} (which, when rendered, would be {{#show: [[November_Family/Calvin]] | ?attributes}} for this character)? --Calvin November t/c on 06:55, 21 February 2009 (UTC)

Not worth the effort right now, because it's not certain the new attributes are ever going to go active. --Tom 12:07, 21 February 2009 (UTC)

Articles and News

Should we also put semantics on articles and news? We could use something like "about" or "news date" and it would allow us to do searches on articles across the various newspapers, generate timelines and other interesting stuff. --Tom 21:38, 4 March 2009 (UTC)

That is an interesting idea. An "about/topic/keyword" attribute could be very nice. As to date, is that really a viable option? As far as I know, the timeline only points to the page name on which the property is placed. This means that the date would point to, in the case of the Dwilight Daily, something like "Dwilight Daily/2009/January", and that would be what appears on the timeline. Or can you somehow give a date property a secondary value with an article name? Or do we need to rethink the way newspapers are done? TO be honest, I haven't had a lot of time to investigate timelines. --Indirik 22:35, 4 March 2009 (UTC)
Yes, we would probably have to do that. [1] shows how this works, and it does have one page per news. Unfortunately, multi-valued properties can not be used in timelines. But if nothing else works, we can look into the code and check if we can't add something like a pipe trick. --Tom 07:57, 5 March 2009 (UTC)