Semantic Wave Blog
News feeds and commentary by Jamie Pitts

« Rich Tags Project | Main | Pipes »

January 10, 2007

Micro APIs

I wrote a rambling comment on Danny's Steampunk Semantics and I should explain more about what I am getting at. Or trying to get at :)

The way I see it, microformats offer an approach to serving metadata that is more accessible to developers - they weave the meta into the presentation of the data. The big trade-off is a lower level of specificity than required to reliably connect a local graph of data into a global fabric. In a world where there are linguists, lawyers, smart browsers, and automated data aggregators, this trade-off is very costly.

"It depends on what the meaning of the words 'is' is."
- Bill Clinton

While microformats do not have to be trapped into the same ambiguity as JSON API output (or your typical XML generated from XSD or a DTD), the first seeds of the microformats crystal indicate to me that the condition will continue. While it may be obvious - or feel obvious - to a web developer what Hcalendar's "summary" and "location" are referring to, I think that we should hold ourselves to a higher standard of succintness. If we do so, some amazing new applications will be able to emerge.

So somewhere in the midst of this idealism I thought up the Micro APIs concept. It really is just a play on words - it probably should be called a Meta API.

Basically, a Micro API would help small-time web developers disambiguate their application data (either through config file or through a GUI setup) and then serve the metadata in parallel with each content page. The metadata served by this lightweight app would take whatever format the browser or bot requested - JSON, plain XML, and different flavors of RDF. The Micro API could even pregenerate the metadata much like RSS currently is by the blog apps.

In Ruby, the Micro API would simply be a plugin with generators for models and controllers. Each model that can be used in serving metadata would have a method containing mappings of the model and its various properties to URIs on the semantic web.

And, ideally, web app frameworks such as Ruby on Rails will incorporate OWL into the process of generating models.

| TrackBack
Comments


you do know that SWORD and Terrace are well on their way to delivering on your wishes, don't you?

actually, it sounds like you want a mapping for ActiveRDF models into RDF space - afaik nobody has done this yet, and there is obviously tons of data waiting to be unleashed there..

Posted by: carmen at January 11, 2007 04:09 PM


I think this is a really interesting concept. Without making an obvious play on the SOAP acronym, I instantly thought that "Meta Data Access Protocol" would be a fitting term. But, I do like the term Micro API. Definitely need to think some more about this.

Posted by: Eric Blue at January 12, 2007 04:00 PM


Post a comment










Remember personal info?






Small picture of Jamie Pitts When I talk about the semantic web, I feel a lot like Linus. No, not Linus Torvalds. I meant the other one. - JP


whoami?

Projects:
  Winnow My Bloglines Down
  Memecat
  Listgasm


Curently Reading

cover The Art of Unix Programming
Eric Raymond

Semantic People
Danny Ayers
Dave Beckett
Tim Berners-Lee
Tim Bray
Dan Brickley
Marc Canter
Paul Ford
Seth Ladd
Seb Paquet
Clay Shirky
Roland Tanglao
Dave Winer

Syndication:
 RSS Version 1.0
 RSS Version 0.91


Recent Entries
 Antibodies Against Bemes
 Pipes
 Micro APIs
 Rich Tags Project
 David Huynh's Exhibit

Categories
 AI
 Blogs
 Business
 Data Munging
 Development
 Formats
 How-To
 Ideas
 Languages
 Law
 Ontologies
 OWL
 People
 Products
 Projects
 QOTD
 RDF
 Research
 Social Software
 Standards
 Thinking Out Loud
 Trends
 Visualization
 W3C
 Web Services
 Wikis

Archives
 February 2007
 January 2007
 December 2006
 November 2006
 October 2006
 September 2006
 August 2006
 July 2006
 May 2006
 April 2006
 March 2006
 February 2006
 January 2006
 November 2005
 October 2005
 September 2005
 August 2005
 June 2005
 May 2005
 April 2005
 March 2005
 January 2005
 December 2004
 November 2004
 October 2004
 September 2004
 August 2004
 July 2004
 June 2004
 May 2004
 April 2004
 March 2004


Creative Commons License
This weblog is licensed under a Creative Commons License.

Powered by Movable Type

Copyright © Jamie Pitts