Hierarchy in Properties Using Semantic Mediawiki #arraydefine and #arraymap Magic

At work, I’ve been working with our HR reps to develop something we’re calling Career Learning Maps.  The Learning Maps are a way of determining the various opportunities via career level (Positions such as Associate, Senior, Lead) and the skills required at each level. For each skill we’d have a list of suggested Learning Resources such as books, videos, seminars, etc. that assist in developing those skills.

For example, today you might be a Senior Database Engineer, but you’re looking to move up to Lead Database Engineer. What skills are required at this new level? Or what if you’re currently an Associate Technician, but want to move toward a Management position?

The Learning maps can help you understand the various job descriptions and associated attributes available to co-workers.

Since we already have Semantic Mediawiki as our knowledge repository for our department we decided to leverage its capabilities to deliver the Learning Maps.

One of the issues I was running into was figuring out a way to develop a hierarchical list of skills. Each skill is related to what we’re calling a Skill Dimension. Think of the dimension as parent groupings of skills. Business Acumen is a skill dimension that includes the skills of General Healthcare Industry KnowledgeProcess Improvement and Business Process Management among others.

I figured out a cool way to use #arraydefine and #arraymaptemplate to create a hierarchical list based upon properties. This list appears on each individual Job Description and shows the relationship between the career level, related skill dimensions (to that career level) and individual skills organized by skill dimension. Check this out:


Each job description is semantic form/template driven, as is each career skill dimension and career skill.

 

—-

Here’s the code – in case you might want to use it in the future.

In the Job Description Article Template (after building your form/template to include these properties!):

{{#arraydefine:levelsman|{{#arraymap:{{{Career_Level|}}}|,|@@|@@}}|,}}

(This defines an array using the specific job description’s career level.)

{{#arraymaptemplate:{{{Skill_Group|}}}|Career_Skills_Dimension_Template|,|
}}

(Ok, how many Skill Dimension apply to this job description? Give me a list and format it with a template.)

In a template called “Career_Dimension_Group_Template”

'''[[{{{1}}}]]'''<br>
{{#ask: [[Category:Career Skills]]
[[Skill Dimension::{{{1}}}]]
[[Career Level::{{#arrayprint:levelsman | }}]]
|link=none
|order=ASC
|format=ul
|default=No Skills Listed
|searchlabel=
}}

(Spit out a Skill Dimension, followed by an #ask that lists all relevant skills that are both part of that group and at the same level as this job description.).

The best part is that each property value is a page, so I can change “link=none” to “link=all” to have each skill in each group be a link to that individual skill’s article as well!

—-

To expand this even further, I’ve created a matrix listing all Skill Dimensions by Career Stream (Management, Professional, Technician) in a matrix with each Career Level. Co-workers can use this to easily see which skills are relevant across a given level or dimension.

While not very attractive, each cell in the matrix has a variation of the following #ask query.

{{#ask: [[Category:MTS Career Skills]]
[[MTS_Career_Level::Executive Director]]
[[MTS_Skill_Dimension::Strategic Focus (Management)]]
|link=all
|order=ASC
|format=ul
|default=
|searchlabel=
}}
The MTS_Career_Level and MTS_Skill_Dimension property values change for each cell.

—-

All together this creates a responsive and scalable solution to manage these relationships. Adding a new skill, resource or job description automatically updates all areas. In fact, most updating happens via forms and templates so our HR and Training folks can easily develop these resources with minimal Semantic Mediawiki development.

I hope this might be helpful for folks using Semantic Mediawiki to show relationships between properties in an interesting or unique way. Let me know if you have any questions or feedback.

Big Data, Mining, and (Musical) Recommendation Engines

As a side project in my free time I’m helping a small business setup an e-commerce store front. One of the things we’ve discussed is the idea of a recommendation engine to suggest other items to purchase. This lead down an Internet rabbit hole where I ended up reading about The Echo Nest.
The Echo Nest is a self-described “music intelligence platform that synthesizes billions of data points and transforms it into musical understanding.“. It is widely herald as one of the largest and most comprehensive uses of data mining (to find the language and culture around music across the web) and big data (to store and present those relationships) within the music recommendation industry.
Yes! There is an industry. A substantial one. Apple’s Genius feature in iTunes, Pandora, Last.fm, Spotify – all are trying to provide relevant music based upon your listening tastes. Why? So you’ll buy more music of course!
Brian Whitman, one of the co-founders of The Echo Nest, talks in great length about the how and why behind what makes their product so unique – and so incredibly accurate. I won’t steal the thunder of the article, but needless to say, dedication and refinement are key.
This is totally sausage-making, behind-the-scenes stuff, but I encourage you to at least look it over.
Ok, so now the really fun stuff. Here’s something called The Infinite Jukebox. It uses some of the data points within the Echo Nest to create a version of a given song that never ends. It uses references within a song that are similar to other points within the song, makes some minor adjustments when needed (like tempo) and then plays the song forever. The presentation is neat as well, you can view the branches within the song where things loop and even click around the song to find points where things can loop.

At work we’re looking at ways of using the topics of big data, mining, and recommendation engines to provide better healthcare. Reading about The Echo Nest gives me some ideas on how these technologies could impact the care we give! If you have your own ideas or suggestions, please leave a note below.

Photography

“Photography is rooted in the rich culture of amateurism. What’s happening today is similar to the original proliferation of Kodak’s Brownie camera starting in 1900. An inexpensive and easy-to-use camera in every hand didn’t usher in the end of photography or automatically turn everybody into Richard Avedon.

Photo apps won’t magically give Jane the smartphone photographer a better sense of composition, or lighting, or framing. The apps and filters only change a photo’s look and aesthetic feel. That doesn’t make it a better photo. If you put lipstick on a pig, it’s still a pig.”

I could practically quote the entire essay from Richard Koci Hernandez. He is far more eloquent in defining what I’ve felt for a long time about photography (or any art) and technology.

Another choice quote referenced in the video essay,

“When people ask what equipment I use, I tell them my eyes.”

– Ansel Adams.

 

Star Treck Replicator Version 1.0

“So once you have a design on your computer, you can prototype a single copy on your desktop fabricator—or upload it to a commercial manufacturing service and generate thousands. Essentially, you “print local” on your MakerBot and “print global” with cloud manufacturing services ranging from Shapeways and Ponoko to Chinese mass-production facilities found through Alibaba.com. Modern CAD software like the free Autodesk 123D even offers wizards to make it simple to go from one copy to many. All you have to do is click the right buttons, enter your credit card number, and you’re in the manufacturing business. The services will even ship the finished goods directly to customers.”

– The New MakerBot Replicator Might Just Change Your WorldWired

I’m sure Starfleet started with extruded colored plastics as well. This is impressive stuff and for $2,000 it’s getting more affordable for hackerspaces, DIY groups, schools and colleges – not to mention the individual.

Remix

“Remixing is the adoption, alteration, and recombination of pre-existing cultural texts (songs, literature, paintings, etc.) to create something new.” (Wikipedia)

Remixing is not inherently a negative word. It has become one for many people due to it’s often used association with copying and plagiarism.

Copying something is directly reproducing the existing work with no new interpretation and no credit to the original artist. This does nothing to move things forward. It is duplication.

Remixing is paying homage. It’s being aware of the elements of a prior work that inspire you and being untroubled (on purpose or unexpectedly) of those that don’t.

If someone came to you after giving a presentation on a new idea, product, service you were developing and said, “That’s just a remix of Picasso and thermodynamics.” it would be considered negative. This is because someone used the word remix using the negative definition; of copying and plagiarism.

It would also be rude to approach anyone after a presentation with negative laden criticism, but that’s another story.

If someone came to you after presenting your work and said, “That’s an interesting approach. I never thought to combine Picasso and thermodynamics.”. That would be a complement. The critic would have made the connection (explicit or implicit in your presentation) between two previous works and seen the unique value of combining the two inspirations.

All work is influenced by prior work. Which in turn was inspired by even older prior work. Continuing ad infinitum. No new work exists without influence – even if that influence is to do the exact opposite!

I see remix (and the surrounding culture) the penultimate way of expressing how we’re all interconnected – that every action ripples out and causes new twists and turns down unexplored paths. This is comforting, positive and powerful. It moves things forward and is an intrinsic part in making anything new.

—-

Inspiration can also happen within a single body of work. See this image of BMW cars over the years and this one of Apple iPhones.

Another recently oft-cited example of remix at work: http://gizmodo.com/343641/1960s-braun-products-hold-the-secrets-to-apples-future

Side note: I chuckled to myself while writing this. I just remixed the negative language of remix to come up with a positive definition of remix. I remixed remix.