The largest and most comprehensive Wizard101 Wiki for all your Wizard101 needs! Guides, Pets, Spells, Quests, Bosses, Creatures, NPCs, Crafting, Gardening and more!

As part of the largest Wizard101 Community and Wizard101 Forums online, this is a community wiki that anyone can contribute to!

Click here to make a free account to edit this wiki and the related forums at Wizard101 Central.

Basic:Semantic MediaWiki

From Wizard101 Wiki
Jump to: navigation, search

Contents

The following page contains information on the basics of a Semantic MediaWiki and some of its additional search features:

Introduction to Semantic MediaWiki

Semantic MediaWiki (or simply SMW) is a powerful extension to the MediaWiki software that runs the Wizard101 Wiki. It allows the Wiki to create Properties which can be used to perform smart searches and create lists, such as drop lists, on item pages without the need of creating new categories. These properties can be searched in any combination to create unique lists of information, such as "Creatures that drop Deadly Helephant Ears who are not of the Life School and have less than 10,000 Health". The searching capability is completely customizable.

Semantic Searching

The following sections will describe how to perform a semantic search, and information related to creating these queries.

Search Tools

SMW has various search tools that can be used to filter information depending on exactly what users are attempting to find. All of the functions can be found under the Semantic MediaWiki heading on the Special Pages page. These include Browse, Search by Property, and Query Creator/Semantic Search.

  • Browse: Search any page of the Wiki and see a clickable tabular summary of its Properties.
  • Search by Property: Find pages that have a certain Property and a particular value for that Property.
  • Query Creator / Semantic Search: These are the most powerful search tools, which allow complete customization and lists that can be tailored to specific requests. Of the two, Query Creator is more user-friendly and will output a code that allows the results table to be inserted into a wiki page.

Format

In order to utilize any of the above search features, the proper format must be followed or the search will turn up empty.

  • Browse: Enter the page name, including “Namespace:” in the search box.
Examples:
House:Evil Magma Peas
Creature:Belloq (Twin Giants)
Item:Flameborn Sidhe Cowl.
Example:
Items with Global Critical around 25
  • Query Creator: Enter the Namespace, Category(s), or Property(s) in the white box.
The format for Namespace, Category, and Property are [[Namespace:+]], [[Category:Category Name]], and [[Property::Property Value]].
Columns can be added to the table using the "Add Properties" or "Add Categories" buttons below the box. These must be used in order to view any information other than a page name. If [[FireDamage:10%]] is entered in the search box, a column displaying FireDamage will not appear, unless FireDamage is also added via the "Add Property" button (the search would still take the FireDamage parameter into consideration though). The Query Creator search tool requires the most effort and attention to format, because of the nearly infinite number of possible searches.
The following are examples of search query results:
Items with Global Critical greater than or equal to 30 Creatures that drop Deadly Helephant Ears,
that aren't of the Life School, with less than 10,000 Health
  GlobalCritical
Karamelle Knight Sword (Level 50+) 31
Tiki Crown of Sacred Songs (Level 100+) 31
Assemblage of the Arcanum 31
Tiki Armor of Riptides (Level 70+) 31
Sword of Kings (Life) 31
Commemoration Staff (Level 50+) 31
Imperial Walrusk Deck 31
Crystal Cavern Cudgel 31
Snowdrifter's Stave (Level 60+) 31
Desert Lodestar Staff (Level 70+) 31
Tiki Boots of Sacred Songs (Level 100+) 31
Tiki Crown of Riptides (Level 70+) 32
Heart of the Sky Scepter 32
Ancient Purrzian Givehs (Level 70+) 32
Tunic of the Sentinel (Level 60+) 32
Spear of Breaking Dawn 32
Ancient Purrzian Galesh (Level 70+) 32
Black Werewolf Leggings (Level 60+) 32
Tiki Armor of Purity (Level 80+) 32
Tiki Armor of Sacred Songs (Level 100+) 32
… further results

Code used in above example:
{{#ask:[[Item:+]][[GlobalCritical::>>30]]
|?GlobalCritical
|format=broadtable
|offset=0
|limit=20
|mainlabel=
|sort=GlobalCritical
|order=ASC
|class=sortable wikitable smwtable
}}

  Health School
Baron Hairkonnen 9 Myth
Spriggan 2,210 Myth
Strangler Goblin 2,340 Fire
Stag Charger 2,385 Ice
Deep Dark Goblin 2,500 Storm
Lesser Djinni 2,500 Fire
Balance
Lesser Borealis Golem 3,200 Fire
Trendkill Pantera 3,285 Storm
Piper StormTree (Tier 5) 3,325 Storm
Foul Skirker 3,375 Myth
Rusty TinderSpark (Tier 5) 3,405 Fire
Edacious Ogre (Tier 5) 3,445 Myth
Great Horned Knight 3,600 Fire
Hobgoblin Blood Captain 3,600 Fire
Loch Spriggan 3,645 Storm
Disloyal Knight 3,645 Balance
Corpse Lantern 3,680 Death
Dragon Spawn 3,690 Fire
Grim Seraph 3,690 Death
Death Seraph 3,690 Death
… further results

Code used in above example:
{{#ask:[[HasDrop::House:Deadly Helephant Ears]][[School::!Life]][[Health::<<10,000]]
|?Health
|?School
|format=broadtable
|offset=0
|limit=20
|mainlabel=
|sort=Health
|order=ASC
|class=sortable wikitable smwtable
}}

Comparators

When using the Semantic Search and Query Creator, comparators can be used to help narrow down searches. The following are all usable comparators:

  • <:For numerical properties, returns values less than or equal to the inputted value
  • <<:For numerical properties, returns values less than inputted value
  • >:For numerical properties, returns values greater than or equal to the inputted value
  • >>:For numerical properties, returns values greater than the inputted value
  • !:For numerical and text properties, returns values not equal to the inputted value
  • Equals To:For numerical and text properties, returns values equal to the inputted value; used by default, no symbol needed

Current Properties

Visit the Properties page to see a full list of the currently defined properties on the Wiki.

Personal tools
Namespaces

Variants
Actions
 
Wizard101 Wiki