Slideshow transcript
Slide 1: Machine Tags Dr. Harry Chen CMSC 491S/691S February 27, 2008 This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/us/
Slide 2: Agenda What’s Machine Tags Different ways to use Machine Tags Deficiency of Machine Tags Machine Tags implementation in gnizr
Slide 3: Traditional tags This is how your “grandfather” uses tags
Slide 4: Tags are used for labeling
Slide 5: Tagging Model Remember this diagram from our previous discussion? User Resources Tags
Slide 6: What else can you say about “photo-1293”? Resources Relates to a YouTube video Relates to a family trip (link?) (trip’s homepage?) Location Piccadilly Square (latitude/longitude?) John Smith is in this picture Johnny is the photographer (homepage?) (homepage?) Taken on 2007/12/03 @ 10:00PM
Slide 7: Describing and relating resources The amount of user-generated content is growing on the Web (flickr, youtube, last.fm, upcoming, etc.). New problem How to describe “ad-hoc” properties about the resources that we have created How to relate multiple resources that we have created across multiple Web sites What’s an “ad-hoc” property?
Slide 8: Machine Tags Tags with a special syntax that allow users to describe “ad-hoc” properties and relate distinctive resources across multiple Web sites. + = http://www.flickr.com/groups/api/discuss/72157594497877875/
Slide 9: Triple Model Machine Tag syntax is based on the Triple model, similar to which of the RDF language. Predicate (Property) Object Subject takenBy (Value) Johnny Photo-1923
Slide 10: Machine Tag Syntax There is no one standard syntax. Different systems may have variations of the original syntax proposed by Flickr. [namespace] : [predicate] = [object] Predicate (Property) Object Subject (Value) Where is the “Subject” in the syntax?
Slide 11: Machine Tag example [namespace] : [predicate] = [object] foo : takenBy = “Johnny Smith” Predicate Resource Object foo:takenBy Photo-1923 Johnny Smith
Slide 12: Describing location information [namespace] : [predicate] = [object] geo:locality=“piccadilly square” Predicate Subject Object geo:locality Piccadilly Square Photo-1923
Slide 13: Relating resources What if I want to say “photo-1923” relates to “event-1393” on upcoming.yahoo.com… Predicate Subject Object upcoming:event http://upcoming.yahoo.com/event/1393 Photo-1923 upcoming:event=1393
Slide 14: I machine-tagged, but what use? Machine Tags can be used for Geotagging: putting your photos on a map Field-based search: search with prefix URL shortcuts: include image and video in your blogs without much HTML editing Semantic Web experiments: describe properties that link to RDF or OWL documents … What’s your experience with Machine Tags?
Slide 15: Interesting use of Machine Tags About the airplane What camera did u use?
Slide 16: Machine Tags for selling books http://learningtheworld.eu/2007/amazon-machine-tags/ http://adactio.com/journal/1274/ book:isbn=1234567890 amazon:asin=1234567890
Slide 17: Relating Flickr photos with a blog post Collective intelligence? http://adactio.com/journal/1274/
Slide 18: Machine Tag for field-based search There are overlaps between the Machine Tag syntax and field-based search. Benefit: learn one syntax and use it in two different ways
Slide 19: Machine Tag for building taxonomy? Google Code allows administrator to define “Issue Labels”.
Slide 20: Relating resources to RDF/OWL Geonames.ORG http://sws.geonames.org/5352844/about.rdf http://www.geospatialsemanticweb.com/2007/03/28/geonames-machine-tags geonames:feature=5352844
Slide 21: Shortcomings of the Machine Tags Lack of control vocabulary Who says you should or should not use what tags? Do you use “geonames:feature” or “gn:f=” Difficult to express “object” of a complex value geo:lat/lng=23.00,39.23 (ugly, parser is need) geo:lat=23.00, geo:lng=39.23 (okay) What if I want to express multiple coordinates: geo:lat=23,00, geo:lng=39.23, geo:lat=33.00, geo:lng=-30.00, ... (How do I interpret the key/value pairs?) Difficult to describe certain semantic information we will see an example.
Slide 22: Where is your kid? Tagged: - person=john - person=mary - person=david - landmark=power_station Who is John? Power Station?
Slide 23: Machine Tags in Gnizr How “tags” are stored What does gnizr do when a “machine tag” is detected How to add new implementation to process new types of “machine tag”
Slide 24: DB Table: “tag” id tag count
Slide 25: BookmarkManager geonames:[location] GeonamesTagListener notify added deleted updated bookmark BookmarkManager for:[username] notify ForUserListener
Slide 26: GeonamesTagListener.java Get the latitude and longitude pair for [location] from Geonames.org. Find all “machine tags” of Add POINT(lng,lat) about a bookmark gn:geonames=[location] to the DB.
Slide 27: Listen for new Machine Tags Extend from BookmarkListener Add new listeners to the BookmarkManager
Slide 28: Summary Machine Tags are tags with a special syntax that allow users to describe “ad-hoc” properties and relate distinctive resources across multiple Web sites. Use in geotagging, field-based search, foring URL shortcuts and experimenting with Semantic Web technology Machine Tags have certain shortcomings in expressing rich semantic information.





Add a comment on Slide 1
If you have a SlideShare account, login to comment; else you can comment as a guest- Favorites & Groups
Showing 1-50 of 0 (more)