June 19, 2013

Facebook Talks Semantics with Open Graph

graph

5_26_10 web.jpg
The recent announcement of Facebook’s Open Graph Protocol has made it clear that the “Semantic Web” (in which meaning is defined for content) is closer to becoming a reality than ever before.

Intelligent Agents

For the uninitiated, here is the original vision for the Semantic Web as expressed by Tim Berners-Lee:

“I have a dream for the Web [in which computers] become capable of analyzing all the data on the Web – the content, links, and transactions between people and computers. A ‘Semantic Web’, which should make this possible, has yet to emerge, but when it does, the day-to-day mechanisms of trade, bureaucracy and our daily lives will be handled by machines talking to machines. The ‘intelligent agents’ people have touted for ages will finally materialize.”

What this amounts to are web pages that (in addition to content) contain meta-data which are used to define the information within.

Let’s take a look at a few different ways this can be applied in the real world.

Meaningful Content

Here is an example of how we would describe “The Rock” IMDB page using the Facebook Open Graph protocol:

<meta property=”og:title” content=”The Rock” />
<meta property=”og:type” content=”movie” />
<meta property=”og:site_name” content=”IMDb” />
<meta property=”og:image” content=”http://ia.media-imdb.com/rock.jpg”/>
<meta property=”og:url” content=”http://www.imdb.com/title/tt0117500/”/>

This information, while hidden from the user, is easily readable by other machines, making it very simple to connect web content with objects from the Social Graph.

Now, when you click “Like” using Facebook social plug-ins, it knows exactly what information you are linking to, and how to properly store and display the connections.

Developer Simplicity

Before the release of the Graph API, it was a hassle to get data out of Facebook. Their solution consisted of a custom authentication protocol, Facebook specific markup language, and several other convoluted ways to access simple information about a user.

With the Graph API, Facebook turned it around considerably.

For authentication, they have switch to oAuth, an open protocol used by sites like Twitter, Flickr, and Google to authenticate users.

As for accessing the data, they have created a simple, clean API that returns the data in the JavaScript friendly JSON format. (Example: http://bit.ly/dirXn4).

OpenGraph versus “Open”

For those of use who have been watching the evolution of Semantic tools (SPARQL) over the years, it is both disappointing and exciting to see Facebook venturing into this territory.

The excitement comes because we know Facebook has lots of users, which means their user graph is already extremely robust, and is only going to get bigger. This has been the biggest challenge in Semantic: without users, you don’t have a graph. Without a graph, there isn’t anything to find.

The disappointment comes because Facebook has ditched the traditional set of Semantic technologies for yet another custom protocol. This means tools already written to build and query Semantic graphs must now be abandoned (or rewritten) to utilize the less-robust Facebook graph information. Technology aside, the bigger issue here is that the graph is owned by Facebook. This is pretty ironic, considering it is a proprietary technology with “open” in the name.

In my opinion, for anything to truly revolutionize the web, it has to be based on open standards.
What do you think?

Photo Credit: Marc_Smith

Browser Update: Microsoft Looking Toward the Future

milk

For most web developers, the most frustrating part of their job is tweaking websites to work with non-standards-compliant browsers such as IE6. Microsoft has long been behind the browser curve due to their resistance to open standards. Two recent developments from the folks at Microsoft seem to indicate they are ready to re-engage with the web.

IE6 Just Won’t Die

Ask web designers what the most frustrating part of their job is, and most will go into a 15 minute tirade about Internet Explorer 6.

The Microsoft browser (which was last updated in 2001), is infamous for its security flaws and lack of adherence to open web standards (maintained by the W3C).

Even with these flaws, it managed to hold on to a huge share of the browser market. It was still prevalent among 55% of businesses in December 2007, over a year after the release of Internet Explorer 7.

Even with the recent release of Internet Explorer 8, IE6 still currently holds about 20% of the global browser market

The web has been trying to push IE6 out for quite some time, but it looks like Microsoft finally gets the point.

5_17_10 milk carton IE6.pngThey have even started a web campaign (see left) to educate users about the flaws inherent in IE6 and urge them to upgrade to IE8. The site is currently hosted at Microsoft Australia, but will hopefully be expanded to users around the globe.

Ever since Google (and YouTube) stopped supporting IE6, it was only a matter of time before the rest of the web followed suit.

While the elimin ation of IE6 is likely going to be a slow, tedious process, at least it’s a start.

“IE9 looks great”

At a recent conference, Microsoft announced plans for Internet Explorer 9. To the delight of the web community, everything seems to be moving in the right direction.

5_17_10 IE9 Tweet.pngEven the folks at Mozilla have kind words for their biggest browser rival. “IE9 looks great, very glad to see it. Congrats to the IE team!” said Mike Shaver, vice president of engineering at Firefox backer Mozilla, in a tweet (right).

There are many improvements planned for the latest incarnation, but the major ones are as follows:

  • HTML5 Web Standards
    This version of IE will focus on the latest in open web standard, meaning less browser-specific coding for developers. It is also focused on passing the Acid Test, which is a common measure of standards-compliance.
  • High-performance JavaScript engine
    Microsoft has built a new JavaScript engine that is focused on performance, taking advantage of the multi-core processors installed in newer machines. Their initial release is already outperforming the FF3 engine in benchmark testing.
  • Developer feedback
    Microsoft has released a “test drive” version of the browser to gain feedback from developers as it goes through the remaining stages of development.

Looking Ahead

Microsoft finally understands that to make a better web, the focus should be on open standards, not proprietary technology. With Microsoft aboard, it will keep the entire browser industry moving forward (instead of holding it back).

Now that Microsoft is back in a big way, Firefox and Chrome better step up their game.

What do you think? Will you be using Internet Explorer 9?

Explaining Social Media to Non-Natives

social


While speaking at the ITEC conferences, I talk to lots of folks about social media. Interestingly enough, some STILL don’t see the value.

Here’s my advice for how to respond to the common argument against social media:

  1. “We block Facebook at our company”
    Yes, I understand your company blocks Facebook.  They block it because employees would spend a lot of time there, yes?  Well, if your employees (and other workers) are active on Facebook, then your customers are likely active on Facebook as well. They may even be having conversations about your products or services. Isn’t that worth investigating?
  2. “Twitter is for my kids”
    Actually, your kids are probably on Facebook or MySpace, not Twitter. The average age for Twitter users is around 30 years old, making Twitter the “oldest” platform other than LinkedIn.  Also, for all the “noise” on Twitter, it has consistently been the first source of information for organizations ranging from Boston Police to the NFL Draft.
  3. “We have a website, we have no need for a blog”
    Well…not exactly. Your website probably serves as a good source of information about your products, company, etc…, but, chances are, it isn’t very engaging. Take a look at your homepage. What has changed this week? This month? If your website isn’t changing, there isn’t any reason to come back. Using a blog to provide frequently updated content keeps users engaged, brings them back to your site and builds you up as a trusted industry resource.

Interestingly enough, these are the people I enjoy speaking to the most. There’s something really great about seeing someone’s eyes light up when they finally “get it”.

So, the next time you encounter someone who isn’t convinced about social media, take a minute to explain it to them. You may be surprised.

Photo Credit: Webtreats