Difference between revisions of "Talk:Semantic Wiki"

From BattleMaster Wiki
Jump to navigation Jump to search
(Region properties)
Line 88: Line 88:
 
:: Maybe [[MS/has Atribute:: ]] (MS standing for Match system for example), this way it is catagorized under the specific project. I am not familiar with Semantics at all, it simply sounds logical :P btw, what is your opinion on the concept? is it someting you'd believe would do the game good once sucsesful or not? --[[User:Vlad|Vlad]] 15:42, 13 February 2009 (UTC)
 
:: Maybe [[MS/has Atribute:: ]] (MS standing for Match system for example), this way it is catagorized under the specific project. I am not familiar with Semantics at all, it simply sounds logical :P btw, what is your opinion on the concept? is it someting you'd believe would do the game good once sucsesful or not? --[[User:Vlad|Vlad]] 15:42, 13 February 2009 (UTC)
 
:::You don't need to name the property by the "project" it is associated with. It needs to be descriptive of what it is. For example, the "part of" property lets you know that the subject of the page (usually a region) is "part of" something else, like a realm. I think he manes that "trait" is too general of a term, not specific enough to describe what the property is intended to mean. --[[User:Indirik|Indirik]] 16:35, 13 February 2009 (UTC)
 
:::You don't need to name the property by the "project" it is associated with. It needs to be descriptive of what it is. For example, the "part of" property lets you know that the subject of the page (usually a region) is "part of" something else, like a realm. I think he manes that "trait" is too general of a term, not specific enough to describe what the property is intended to mean. --[[User:Indirik|Indirik]] 16:35, 13 February 2009 (UTC)
 +
 +
== 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.

Revision as of 23:46, 13 February 2009

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)

Added, with the following formats enabled: 'average', 'eventline', 'max', 'min', 'sum', 'timeline' --Tom 07:54, 13 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)
Yes, you could just manually enter the data, but that defeats the entire purpose of the Semantic tagging. All the data is included on the individual region pages. Why enter it again manually on the realm page? And then on the island-wide region listing. And then on the island page where it lists the island population, and anywhere else we might like to display or use the information. The purpose of Semantic tagging is to prevent all of this manual updating of information. Simply update the region's population, and all the places that reference that data are automatically updated at the same time. If a region changes hands you only change the [[part of:: ... ]] tag and it's population/gold/food is deducted form the realm it was part of, and added to the new realm. --Indirik
Oh, I was just talking about having the wiki plug the data from the game pages, but I guess we don't have that technology yet. -Chénier 15:19, 11 February 2009 (UTC)
Not yet, but I hope that we will, eventually. The tagging of the data is a first important step on the path to getting that done, though. --Indirik 16:24, 11 February 2009 (UTC)

Ontology

If we add a property of [[has name:: ]] then we could add a term or two to the query that would return the "has name" property of the page. (most of the idea snipped since it won't be used...) --Indirik 21:55, 12 February 2009 (UTC)

I couldn't be more opposed. We need to fix the names, not hack around them. The subpaging should go away, now that we don't need it anymore. For characters, the problem doesn't exist because these are all string properties anyways. --Tom 07:45, 13 February 2009 (UTC)
Ahh... OK. Moving the region pages to root pages would work, too. The Reglink template can easily be adjusted to point to the correct place, so a lot of links could be fixed in one small change. The majority would have to be manual. This brings up the need to establish naming conventions for regions, duchies, and realms. Disambiguation pages, maybe?
Realm
Probably the most commonly accessed page using that name, so it would get the root name. So the link [[Perdan]] would point to the realm of Perdan.
Region
We could add "City" or "Stronghold" to the name of the region. So to link directly to the region of Perdan, you would use [[Perdan City]].
Duchy
Add the name "Duchy" to the end of the region name. So to link to the Duchy of Perdan you would use [[Perdan Duchy]].
Link to the wikipedia disambiguation article for reference: Wikipedia:Disambiguation. --Indirik 16:35, 13 February 2009 (UTC)

I am working on a concept currently called, the Knight-Lord Match System Please take a look at the concept. I am looking to implement it with the help of Indirik. The concept will require the semantic property to work out: [[has trait:: ]]. With this system a certain player can 'search' for matching traits. --Vlad 10:23, 13 February 2009 (UTC)

In general, yes. I'm not sure if "has trait" is the best property name. Can we find something better fitting, maybe? --Tom 15:02, 13 February 2009 (UTC)
Maybe (MS standing for Match system for example), this way it is catagorized under the specific project. I am not familiar with Semantics at all, it simply sounds logical :P btw, what is your opinion on the concept? is it someting you'd believe would do the game good once sucsesful or not? --Vlad 15:42, 13 February 2009 (UTC)
You don't need to name the property by the "project" it is associated with. It needs to be descriptive of what it is. For example, the "part of" property lets you know that the subject of the page (usually a region) is "part of" something else, like a realm. I think he manes that "trait" is too general of a term, not specific enough to describe what the property is intended to mean. --Indirik 16:35, 13 February 2009 (UTC)

Region properties

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

ie, and ...or maybe just and , to remain consistent with the 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.