[offtopic-ish] Flickr Ramps up Triple Tag (Machine Tags) Support.

[If you want to skip most of this post, at least jump to the "Take Away Point"]

You know those funky tags like “cell:cellid=197216005″, “geo:tool=GMiF” and even “camel:size=medium” you see around the place? Well yeah, we’ve been watching them very closely too, and by “we’ve” I mean a few of us here in the office that care very much about these things, Aaron probably more than most of us.

They are now ‘recognized’ and rather more formalized. Aaron’s post to the API list says it far better than I could …

Machine Tags
(http://www.flickr.com/groups/api/discuss/72157594497877875/)

… This development is probably far more important than it initially sounds. I’ll try to avoid choking while I find myself using the following marketing speak (and please pretend that I’m using the Deep Film Trailer voice for this).

First there was Tags! They came and revolutionized the internet and created Folksonomies, now, today is the day that Tags evolved, ladies and gentlemen, I present the 5th generation of Tags: Machine Tags!!!!

So how are Machine Tags different?

Well, now when you enter a tag such as “flickr:user=revdancatt” the backend takes that tag, splits it into its three components and stores them into its own special database. Yes, that’s how important we think they are, enough to give them special treatment. Via the API you could not only find “flickr:user=revdancatt”, but also wildcards, I can find all photos tagged with a “flickr:user=”, or any namespace that happens to have “*:user=revdancatt” or even anything that points to “*.*=revdancatt” and other various combinations.

They are called “Machine Tags” because we expect them to generally be added by automated systems and later sucked up and processed by machines.

Example: I have my psychotic photo taking Spime out in the wild. Its taking photos, emailing them to flickr, geotagging them and also recording the heading, wind speed, temperature, atmospheric conditions, lighting levels and whatever the heck else it fancies, because you never know when you need this stuff. It then sends them up to Flickr as “windpseed:mph=32″, “temperature:fahrenheit=77″. Its stuffing this information into tags, but via the API it can use it as a lightweight datastore.

Another application could do searches for “temperature:fahrenheit=” and get every photo that has decided to record the temperature for whatever reason, even if it was for a recipe photo.

Talking of recipes, I could take photos of raw ingredients, such as a carrot and say things like “ingredient:units=g”, “ingredient:calories=54″, “ingredient:fiber=8.2″. Then I could take a photo of a cooked dish, that contained those ingredients “ingredient:55516475869=160″ which says I used 160 units of the ingredient found in photo_id 55516475869. A meal could contain dishes and so on.

Its be very convoluted for a person to enter that information. But totally possible for a 3rd party website to pull all the photos that have an “ingredient:units=” value (better if it also picks a type or two), then allow you to create a Dish from those (in a drag-drop ajax-y fashion), adjusting the amounts and allowing you to upload a photo of the final dish. The photo and all the data would be written back to flickr with the correct Machine Tags. Dishes could have other classification types layered over the top, allowing people to find Dishes to put together into a Meal.

By stepping back through the values held in the tags it’d be possible to calculate the total calorific value of the meal, without having to store that anyplace, adjusting the amount of an Ingredient in a Dish would alter the final value.

Anyway, the above example may not be that exciting, but does illustrate how 3rd party developers have more power to do stuff. We won’t see it straight away, but it will start to happen.

But this is just “Simple steps, first”. We don’t do ranges, so you can’t currently do “colour:red=128″ and then search for all photos that have a red value between 64 and 192, yet. You can’t get distinct lists of values, so asking for a “give me a distinct list of ‘dish:type=’” won’t bring back “snack, main, pudding, drink, cocktail”. Which is why I say you could use it as a “Light” datastore.

Its sort of, but Not Quite RDF forced into tags. (NQRDF)

Not Quite RDF

The other caveat is, at the moment, only newly entered Machine Tags (i.e. from this post on) are picked up this way by the API. We’ll probably offer a ‘backfill’ service at some point, or quick script could be written to re-enter the tags on a per-user basis by someone else if they really wanted to.

However, the take away point for me here … [disclaimer: I work for Flickr] … is that a massive site (Flickr) with over 3 gahbahzillion photos and goodness knows how many tags to go along with that. Have modified their databases, tweaked code and written APIs to allow and encourage developers to use Machine Tags. Which to me, marks a recognition and evolution in Tags and how they can be used.

geobloggers » Blog Archive » Advanced Tagging and TripleTags said,

January 24, 2007 @ 4:23 pm

[...] [Update: More recent Triple Tag post over here]  [...]

Flickr Machine Tags | These go to eleven said,

January 25, 2007 @ 12:15 pm

[...] and Dan Catt of Flickr says It’s sort of, but Not Quite RDF forced into tags. (NQRDF) [...]

High Earth Orbit » Blog Archive » MachineTags aka TripleTags in Flickr said,

January 25, 2007 @ 12:27 pm

[...] Now that Flickr internally supports machine tags in a good way, developers can really start using this as a way to attach arbitrary metadata to any data item (photo, etc.) Dan Catt gives a good discussion on what it all means and how it can be used. [...]

Scott M. said,

January 25, 2007 @ 1:06 pm

Very cool. (and I think you mean ‘caveat’ not ‘cravat’) :-)

Rise of the machine tags said,

January 27, 2007 @ 10:11 pm

[...] Flickr’s Dan Catt calls it Not Quite RDF (NQRDF) in an interesting post. Among the things that are missing, of course, is a way to map the “prefix” like DC: into a full URI, the thing that is normally done in an RDF header <rdf :RDF xmlns:dc=”http://purl.org/dc/elements/1.1/” … > </rdf> [...]

Paul said,

January 28, 2007 @ 11:05 am

Today is the day I made up my mind to buy a Flickr pro account. Been debating between the various options. This is very nifty and I can imagine many uses. I must say Flickr is very developer friendly (took me minutes to get an API key unlike 1 other unnamed company).

So much for the other company making Flickr look “web 1.0″ ;) I’ve been waiting forever for them to add any new features, always just promises and hype.

Keep up the good work Flickr!

Rails GIS : links for 2007-01-29 said,

January 28, 2007 @ 11:22 pm

[...] geobloggers » Blog Archive » [offtopic-ish] Flickr Ramps up Triple Tag (Machine Tags) Support. flickr API now supports machine Tags, not quite RDF, but a good start toward the semantic web idea (tags: flickr folksonomy tagging metadata programming RDF semanticweb Triple Tools api machinetags) [...]

Juxtaviews - » Tag Abuse said,

January 31, 2007 @ 11:08 am

[...] Atomshy tipped me off to another form of tag abuse, of which much more experienced users are guilty. Geobloggers, like Dan Catt, have been “triple-tagging” Flickr photos with essentially name/value pairs for use in API feeds to external applications. Catt uses the following example in another post on his blog: geotagged geo:lat=53.1234 geo:long=-2.5678 [...]

Morten Frederiksen said,

February 2, 2007 @ 3:50 am

Please be careful with the units of measure.

If you say:
“ingredient:units=g”, “ingredient:fiber=8.2″

… and I say:
“ingredient:units=mg”, “ingredient:fiber=8200″

… we end up with:
“ingredient:units=g”, “ingredient:units=mg”, “ingredient:fiber=8.2″, “ingredient:fiber=8200″

… and then we won’t know what is meant!

Switch-Case / Blog Archive / Links for 3/31/07 [my NetNewsWire tabs] said,

April 3, 2007 @ 6:36 am

[...] geobloggers » [offtopic-ish] Flickr Ramps up Triple Tag (Machine Tags) Support. [...]

bakarasik said,

April 29, 2007 @ 9:22 am

Hello very good site men nice job bi cool pis.ok mi program say mi bi good guy
hahah i love mi job what abou yuo

Thomas Angermann Online » Blog Archive » 3-i-1-tags said,

May 6, 2007 @ 2:05 am

[...] Se machinetags.org Se Machine tags and ISBNs Se Flickr API / Discuss Se Flickr Ramps up Triple Tag (Machine Tags) Support. [...]

this is another test said,

July 15, 2007 @ 7:18 am

[...] Flickr Ramps up Triple Tag (Machine Tags) Support. (tags: tripletags machinetags tags API metadata flickr) [...]

this is another test said,

July 15, 2007 @ 7:18 am

[...] Flickr Ramps up Triple Tag (Machine Tags) Support. (tags: tripletags machinetags tags API metadata flickr) [...]

» bSuite Machine Tags said,

December 17, 2007 @ 11:08 am

[...] Excitement from O’Reilly Radar, ProgrammableWeb, and Dan Catt (who championed the concept at flickr, I think). [...]

RSS feed for comments on this post · TrackBack URI

Leave a Comment