rose:rose=rose

Aaron Straup Cope
HackDay UK, June 15 2007

Hi, My Name Is Aaron

folksonomeansno

dalek.exterminateByTag('chat')

Tagging is just another word for...

But what does it mean?

Who is on first?

Doing it with a candlestick?

Obligatory Flickr Hack

sounds:like=“triple tags”

SEARCHIFIED!!!!

dalek:

Syntax : Namespaces

/^([a-z](?:[a-z0-9_]+))$/i

dalek:cake=

Syntax : Predicates

/^([a-z](?:[a-z0-9_]+))$/i

dalek:exterminate=bunnyfish

Syntax : Value

.+

machinetags:not=rdf

rdf:less=mor

thisisthelessonofdelicious

joshua:hates=“machine tags”

(but he still wrong)

Tag as whatEV—AR

mt:search=“flickr.photos.search”

$search_args["machine_tags"] = "dc:";
Photos using the 'dc' namespace

$search_args["machine_tags"] = "dc:title=";
Photos with a title in the “dc” namespace

$search_args["machine_tags"] = "dc:title=\"mr. camera\"";
Photos titled “mr. camera” in the 'dc' namespace

$search_args["machine_tags"] = "*:*=\"mr. camera\"";
Photos whose value is “mr. camera”

$search_args["machine_tags"] = "*:title=";
Photos in any namespace with “title” predicate.

$search_args["machine_tags"] = "*:title=\"mr. camera\"";
Photos titled “mr. camera” in any namespace.

$search_args["machine_tags"] = "dc:*=\"mr. camera\"";
Photos whose value is “mr. camera” in the “dc” namespace.

No, really

Like, totally

Way

Caveats

  • You can not do range queries
  • AND queries are limited to a maximum of 16 machine tags
  • OR queries are limited to a maximum of 8 machine tags
  • Wildcard search syntax is not available on the website
  • There is nothing sacred about namespaces

Ceci n'est pas une phone

Make it so

Appendix A : API Methods