• Aggressive
  • Alienated
  • Amazed
  • Amazed2
  • Amused2
  • Angelic
  • Angry2
  • Apelike
  • Artistic
  • Balanced
  • Bashful
  • Blah
  • Bookworm
  • Bored
  • Breezy
  • Brooding
  • Busy
  • Chatty
  • Cheeky
  • Cheerful
  • Cloud 9
  • Cold
  • Confused
  • Cool2
  • Creative
  • Curious
  • Cynical
  • Daring
  • Devilish
  • Disagree
  • Doh
  • Doubtful
  • Drama Queen
  • Dreaming
  • Elated
  • Energetic
  • Fiendish
  • Fine
  • Gloomy
  • Goofy
  • Grumpy2
  • Happy2
  • Hot
  • In Pain
  • Innocent2
  • Insomnious
  • Inspired
  • Lonely
  • Lucky
  • Lurking
  • Mellow
  • Mischievious
  • Monday Blues
  • Musical
  • Nerdy
  • No Mood
  • Not Amused
  • Notworthy
  • Paranoid
  • Pensive
  • Predatory
  • Procrastinating
  • Psychedelic
  • Relaxed
  • Sad2
  • Scared
  • Scurvy
  • Shocked
  • Sick
  • Sleeping
  • Sleepy
  • Sluggish
  • Sneaky2
  • Snobbish
  • Spooky
  • Sporty
  • Starving
  • Stressed
  • Sunshine
  • Sweet Tooth
  • Thinking
  • Torn
  • Twisted
  • Vegged Out
  • Volatile
  • Woot
  • Worried
  • Yee Haw
  • Amused
  • Angry
  • Annoyed
  • Arrg!
  • Awesome
  • Bemused
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Grumpy
  • Happy
  • Hungry
  • Innocent
  • Meh!
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • At Work
  • Eating
  • Editing
  • Lagging
  • Netflix
  • No Status
  • PC Gaming
  • PS Gaming
  • Raging
  • Sleeping2
  • Steam Gaming
  • Trolling
  • XBox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 3 of 3
    1. #1
      Possumness's Avatar
        Possumness is offline Novice Wizard

      • Possumness's Wizard Stats
        •  Wizard's Name:
        •  Dylan Daisyrider
        •  Wizard's Level:
        •  59
        •  World:
        •  Wintertusk
        •  Wizard's School:
        •  Fire
        •  Pet's Name:
        •  Twitchy Isabella
        •  Pet's Type:
        •  Ornery Kookaburra
      Status: Perusing the wiki
       
      Mood:
      No Status
       
      Join Date
      Sep 2018
      Posts
      31
      PvP Tournaments Won
      0
      Thanks (Given)
      23
      Thanks (Received)
      34
      Gold
      41.00

      Making a Semantic Query on the Wiki, Start to Finish

      This post was originally intended as a reply to this thread, where people post example uses of the Semantic Search function on the wiki, but then I added too much depth and it basically became a fairly comprehensive guide on using the semantic search. It probably belongs in the Wiki Guides category?





      In this thread from Aaron HexBreaker, Aaron wanted to know if there are any fish or shark creatures he could extract animus from to make house guests. The point was made that no extract fish/shark spell exists; however some fish or shark may be undead in Celestia (and some potential enemies were suggested).
      Quote Originally Posted by Aaron HexBreaker
      I'm sure there must be a ghost shark SOMEWHERE in celestia or something
      So I made this semantic search to help him out.

      Here's how I did it:
      It's in fact very easy to find this sort of information with queries! First, we need to know the following:
      • how the wiki stores/classifies creature type, and valid classifications (i.e. Fish, Shark, Undead, etc.)
      • where the extractable-status of a creature is stored (as a property or category)


      To investigate both of these, I first went to a creature page that I knew had animus that could be extracted, in this case Rotting Fodder. To get the information we're after, we want the Browse Properties button in the lower left:


      This leads to a page with a table containing a whole host of info about the page, and clues as to how the wiki stores this info internally. After skimming the table, I identified the relevant info sections:
      • If you're not quite sure which of these properties matter for you, you can always investigate further by clicking them (as all the names on the properties page are links), or browsing the properties of other pages you might think of.



      Now we know how the wiki stores this information: qualities such as undead, fish, shark, etc. appear stored under the property "Class", and creatures that are extractable seem to fall under the category of "Monstrological Creatures".

      However, we still don't know what valid values "Class" can have; can Class be "Draconian"? How about "Tree"? Well, we can click on the property "Class" on the properties page, but that just spits out some pages that use Property:Class (all creatures and snacks, apparently), as well as the values each page stores under that category. No way could we be expected to look through all creatures to find what classes work. The way to go is the search bar! The wiki has categories for valid values for many properties, and most can easily be found via search. If we search "class category", the top result is Category:Creature Classes, the exact page we want. Visiting that page gives us a list of all the different classes creatures can have.

      Note: this category (like most categories) is reachable from the sidebar menu:



      We now have all the information we need for our query.

      On to creating it!

      First, navigate to the Semantic Search page (internally called Special:Ask):


      The "Querying help" button at the bottom of this page links to the Semantic MediaWiki online reference manual, but the documentation isn't the best. I've cherry-picked particular pieces of information for smoothness of reading, and cited the Semantic MediaWiki help page where I found that piece of information.

      When querying categories, we use
      [[Category:<category_name>]]

      When querying properties, we use
      [[<property>::<property_value>]]
      Source: Selecting pages


      So to find extractable fish, we should use the query
      Code:
      [[Category:Monstrological Creatures]][[Class::Fish]]

      When querying, if we want to include multiple possible values for a property (a logical "or"), we use
      [[<property>::<property_value1>||<property_value2>]]
      Source: Unions of results


      So to find extractable fish, sharks, and water-lurkers, we should use the query
      Code:
      [[Category:Monstrological Creatures]][[Class::Shark||Fish||Water-Lurker]]

      Finally, it would be nice to be able to see what classes the results we get have.


      To display all the values assigned to a certain property, we write simply a question mark followed by the property name
      ?<property>
      Source: Displaying Information


      We want to display the "Class" property, so
      Code:
      ?Class

      And after adding the finishing touches, we find...



      ...three results:
      Marcio
      Thunderfin
      Yogash

      I hope this helps you in querying the wiki yourself! If you want to find some information through the wiki not covered here, just ask and I might make another tutorial on it. (Or, if it's relatively minor, I'll at least tell you how.)
      Last edited by Possumness; 10-10-19 at 1:40:33 AM. Reason: Outside Links Approved, added

    2. #2
      Expelliarmus's Avatar
        Expelliarmus is offline Journeyman Wizard

      • Expelliarmus's Wizard Stats
        •  Wizard's Name:
        •  Alex Blue
        •  Wizard's Level:
        •  130
        •  World:
        •  Empyrea
        •  Wizard's School:
        •  Death
        •  Pet's Name:
        •  Otis
        •  Pet's Type:
        •  Dark Hound
      Status: they/them
       
      Mood:
      Bookworm
       
      Join Date
      Mar 2013
      Posts
      560
      PvP Tournaments Won
      0
      Thanks (Given)
      363
      Thanks (Received)
      1174
      Gold
      6,460.00
      Blog Entries
      1

      Re: Making a Semantic Query on the Wiki, Start to Finish

      Hi there, wondering if you or someone else could answer this question I have about the semantic search function-I'm trying to figure out if there are any creatures who drop both EMPs and the polished piercing onyx, but I can't seem to enter the right terms for the jewel.

      I'm attaching a screenshot of the search I'm using, which returns no results, but I also get no results when searching for the jewel alone, while I do get results for the EMPs alone. I assume there is a problem with the syntax- could anyone lend a hand?

      It may be that there aren't any creatures who drop both, but I should be getting results when searching for just the jewel, right?Name:  Screenshot 2021-08-25 at 19.21.47.png
Views: 71
Size:  122.7 KB

      Click signature for Blue Nouveau Designs - OPEN as of august 19!

    3. #3
      Iridescenci's Avatar
        Iridescenci is online now Grandmaster Wizard

      • Iridescenci's Wizard Stats
        •  Wizard's Name:
        •  Saffron Swift/Silver/Spirit/Summer/Soul/Story Song
        •  Wizard's Level:
        •  130
        •  World:
        •  Wizard City
        •  Wizard's School:
        •  Balance
        •  Pet's Name:
        •  King Sophie
        •  Pet's Type:
        •  Spider Golem
      Status: Ye olde youngster
       
      Mood:
      Lurking
       
      Join Date
      Feb 2010
      Posts
      2,403
      PvP Tournaments Won
      0
      Thanks (Given)
      812
      Thanks (Received)
      1524
      Gold
      1,011.78

      Re: Making a Semantic Query on the Wiki, Start to Finish

      Quote Originally Posted by Expelliarmus View Post
      Hi there, wondering if you or someone else could answer this question I have about the semantic search function-I'm trying to figure out if there are any creatures who drop both EMPs and the polished piercing onyx, but I can't seem to enter the right terms for the jewel.

      I'm attaching a screenshot of the search I'm using, which returns no results, but I also get no results when searching for the jewel alone, while I do get results for the EMPs alone. I assume there is a problem with the syntax- could anyone lend a hand?

      It may be that there aren't any creatures who drop both, but I should be getting results when searching for just the jewel, right?Name:  Screenshot 2021-08-25 at 19.21.47.png
Views: 71
Size:  122.7 KB
      Try your query by putting "Creature" in front, as such:
      [[Creature:+]][[HasDrop::Jewel:Polished Piercing Onyx +6%]][[Creature:+]][[HasDrop::House:Evil Magma Peas]]

      I was able to find 4 results from using this query:
      This is a neat guide that I'm just now seeing for the first time. The queries are very similar to SQL and has a similar basic language ( "||" or, "&&" and). I will definitely be using this tool more often to help narrow my searches down further.

      Avatar & Sig Credit: Expelliarmus (Blue Nouveau Designs)
      Formerly: bluecrystal5355, Crystal Calligraphy

    Tags for this Thread

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •