Tagging Semantic Articles Outside of the Factbox

One of my favorite Semantic MediaWiki features is the factbox. It’s a quick way to browse wiki content by property values.

What if you want a similar browsing interface within a wiki page? For example, let’s say you want a value for a property you use to ‘tag’ an article to provide a link to a list of all pages with that property/value pair. Here’s one way how. 1

For the past year one of the ways we’ve been using our wiki is to publish an internal monthly newsletter. Each newsletter article is a wiki page, with a template providing consistent navigation.

Screen Shot 2014-12-17 at 1.19.10 PM

 

Along the right hand column of every article are the tags for the audience and topic areas related to the article.

linked-list

Recently I made an addition to the list of Audience and Topic Area tags to provide dynamic links to all pages with that property value. I’m leveraging the SMW Special:SearchByPropertySpace special page.

In the article template, with the property “Facets Article Topic Areas” you’ll want to use an arraymaptemplate 2 to format the comma separated list of values. 3

'''Topic Areas''': {{#arraymaptemplate:{{{Facets Article Topic Areas|}}}|SearchByPropertySpace-FacetsArticleTopicAreas|,|, }}

What this will do is take every value for the property Facets Article Topic Areas and use the SearchByPropertySpace-FacetsArticleTopicAreas 4 template to format each value. Each value is separated by comma, and our final output will be separated by a comma and a space.

In the template “SearchByPropertySpace-FacetsTopicAreas” we have the following.

[[Special:SearchByProperty/Facets-20Article-20Topic-20Areas/{{#replace:{{{1}}}| |-20}}|{{{1}}}]]

This creates a link to Special:SearchByProperty where the property name is Facets Article Topic Areas and the value is each comma separated value from our arraymaptemplate.

The replace parser function converts values with spaces to URL encoded characters.

SearchByProperty

The result is that every topic area listed on the page becomes a link to Special:SearchByProperty that shows all pages with that value.

Screen Shot 2014-12-17 at 5.02.52 PM

When editors add a new article they only have to add a list of topic areas. 5 This makes in-article links to all other articles a click away without having to scroll to the bottom of the page to view the factbox.

Unreachable Time and a Rant Against Voicemail

I’ve been at my employer for over 3 years now.6 The entire time I’ve been here my voicemail message has said the following:

“Hello, you’ve reached Chris Koerner. I’m often away from my desk and don’t respond quickly to voice mail. The best way to contact me is to send me an email at me@work.net or if it’s urgent call me on my cell at 314-555-2456. Thanks!”

So, don’t leave me a VM, try my cell or email. I’ll answer my cell from a work-prefix number when I’m at work.7 I respond to email in a few hours at most.

My wife finds it amazing that I’m able to do this. That my boss doesn’t prevent this or that I haven’t gotten in trouble yet. Here’s my secret. I never asked my boss how I should make myself accessible and spend my attention. I decided that. He trusts me. I said, for me, the best way to get my attention is via email or cell call. Voicemail sucks.

Short of that. I’m unreachable. I think that’s important. Even with all the responsibilities I have and all the various ways to get in touch with me, sometimes I will not be available. I might be busy with a big project and a deadline. I might be in a meeting.8

I’m still accessible – even faster than voicemail! – and I’m polite about it. The important thing for me is making sure that the time I have allotted to get work done is as productive as possible. I use the tools I have – email, phone, IM – in the best way possible. To me, being accessible via voicemail is the same as being accessible via fax. Ancient, cumbersome, and a pain for all parties involved.

Voicemail is slow. Like most folks I read much faster that someone can talk. If I’m familiar with a topic I can quickly read an email and respond.

Voicemail also introduces ambiguity. Did they say ‘Six five seven two” or “Six five six two”? I’d have to play back the message if I missed a number, address, etc. 9

The tools we use should make us more productive and efficient. We should delight clients and co-workers with our responsiveness. Clunky, outmoded tools like voicemail don’t help us. I encourage you to look at how you’re using things like voicemail and see if there isn’t a better, more productive and friendly way to manage your attention and time.

Leave me a voicemail comment with your own ideas.

Aphex Twin on How New Sounds Can Change You

So if you hear a C-major chord with an equal temperament, you’ve heard it a million times before and your brain accepts it. But if you hear a chord that you’ve never heard before, you’re like, “huh.” And your brain has to change shape to accept it. And once it’s changed shape, then you have changed as a person, in a tiny way. And if you have a whole combination of all these different frequencies, you’re basically reconfiguring your brain. And then you’ve changed as a person, and you can go and do something else. It’s a constant change. It could sound pretty cosmic and hippie, but that is exactly what’s going on.

From this long and insightful interview with Richard. His music has always had a pleasantly ‘off’ sound. Syro is no different.

Lumpy Links

Here’s a lump of interesting articles I’ve come across over the past few weeks.

I got to see Jeffery Veen present at WordCamp San Francisco a few weeks ago. This video really hits home regarding some of our work at Mercy.

—-
Moving Past Default Charts (in R) – did you know R can make pretty charts?
—-
The Psychological Comforts of Storytelling – to say more would spoil the story.
—-
Ryan Goodman talks about why culture is the important part of any analytics project.
“Driving a culture where people think visually is not about a faster way to create bar charts. After carefully walking through the “people” aspect of driving a visualization roadmap, I asked the attendees (60/40 mix of business and IT professionals) to collaborate in micro round table discussions focused on technology. First, they took turns painting a perfect picture of what the optimal technology mix would look like. Immediately after they went through the self admitting process stating their organization’s current deficiencies. Sure enough, discussions evolved from technology to “people and process” and the body language quickly changed watching from the front of the room.”
—-
Michael Jordan (no, not the athlete) on the delusions of big data,
“Now, if I start allowing myself to look at all of the combinations of these features—if you live in Beijing, and you ride bike to work, and you work in a certain job, and are a certain age—what’s the probability you will have a certain disease or you will like my advertisement? Now I’m getting combinations of millions of attributes, and the number of such combinations is exponential; it gets to be the size of the number of atoms in the universe.


Those are the hypotheses that I’m willing to consider. And for any particular database, I will find some combination of columns that will predict perfectly any outcome, just by chance alone. If I just look at all the people who have a heart attack and compare them to all the people that don’t have a heart attack, and I’m looking for combinations of the columns that predict heart attacks, I will find all kinds of spurious combinations of columns, because there are huge numbers of them.

So it’s like having billions of monkeys typing. One of them will write Shakespeare.”

—-
The UK government is working on a huge (some might even say ‘Big”) data sharing program of anonymoized health data. One of the concerns being raised? Communication of what’s being shared and how.
Many of the concerns care.data critics cite in opposing the program, such as patients being under-informed, doctors being at risk of losing their patients’ trust, and insurance companies having access to the data