Participating in the Web of Data

44
Participating in the Web of Data Christian Heilmann / @codepo8 Senior Developer Evangelist Yahoo Developer Network http://developer.yahoo.com http://icant.co.uk http://developer-evangelis m.com Las Vegas, Nevada 17. March 2010

description

Participating in the Web of Data. Christian Heilmann / @codepo8 Senior Developer Evangelist Yahoo Developer Network http://developer.yahoo.com http://icant.co.uk http:// developer-evangelis m .com. Las Vegas, Nevada 17. March 2010. Pencils down!. http://delicious.com/codepo8/mix10. - PowerPoint PPT Presentation

Transcript of Participating in the Web of Data

Page 1: Participating in the Web of Data

Participating in the Web of Data

Christian Heilmann / @codepo8Senior Developer Evangelist

Yahoo Developer Network

http://developer.yahoo.comhttp://icant.co.uk

http://developer-evangelism.com

Las Vegas, Nevada 17. March 2010

Page 2: Participating in the Web of Data

Pencils down!

http://delicious.com/codepo8/mix10

Page 3: Participating in the Web of Data

Welcome to the web

Page 4: Participating in the Web of Data

Professional web developer

Page 5: Participating in the Web of Data

Joining the Enterprise crew

http://www.flickr.com/photos/rspeed/4115466351/

Page 6: Participating in the Web of Data

This is when things went wrong

Page 7: Participating in the Web of Data

Joining the corporate world

Page 8: Participating in the Web of Data

Hey ho, Web 2.0 *highfive*

Page 9: Participating in the Web of Data

...and it went wrong again.

Page 10: Participating in the Web of Data

And now?

The web as the platform

The Mobile WebGeolocation

Page 11: Participating in the Web of Data

Market changes leave a track

Page 12: Participating in the Web of Data

People like to stick to a path...

Page 13: Participating in the Web of Data

Time to shift down a gear...

http://www.flickr.com/photos/neurolysis/3335080917/

Page 14: Participating in the Web of Data

Finding the common denominator

http://www.flickr.com/photos/kentbrew/3764641730/

Page 15: Participating in the Web of Data

Tapping into the world of data

http://www.flickr.com/photos/bixentro/2199711056/

Page 16: Participating in the Web of Data

Why APIs work

DataSource

Appl

icatio

n Pr

ogra

mm

ing

Inte

rface

End Users

Other Apps

Developers

Page 17: Participating in the Web of Data

Why APIs work

DataSource

Appl

icatio

n Pr

ogra

mm

ing

Inte

rface

End Users

Other Apps

Developers

On-demand delivery of the needed

data in the right format.Access of the data source only whenneeded - otherwise caching works.

Page 18: Participating in the Web of Data

APIs made easy

Page 19: Participating in the Web of Data

APIs made easy

select {what} from {where} where {conditions}

Page 20: Participating in the Web of Data

YQL examples

select * from flickr.photos.search where text="donkey" and license=4

Page 21: Participating in the Web of Data

YQL examples

select * from craigslist.search where location="sfbay" and type="sss" and query="flower pot"

Page 22: Participating in the Web of Data

YQL examples

select * from google.news where q="healthcare"

Page 23: Participating in the Web of Data

YQL examplesselect * from query.multi where queries in ('select * from nyt.article.search where query="healthcare"','select * from microsoft.bing.news where query="healthcare"','select * from google.news where q="healthcare"')

Page 24: Participating in the Web of Data

YQL examples

select content from html where url="http://www.foxnews.com/" and xpath="//h2/a"

Page 25: Participating in the Web of Data

YQL examples

select * from google.translate where q in (select content from html where url="http://www.foxnews.com" and xpath="//h2/a”) and target="fr"

Page 26: Participating in the Web of Data

YQL examplesinsert into wordpress.post (title, description, blogurl, username, password) values ("Test Title", "This is a test body", "http://yqltest.wordpress.com", "yqltest", "password")

Page 27: Participating in the Web of Data

API for APIshttp://query.yahooapis.com/v1/public/yql? q={query} &format=xml|json &callback={callbackfunction}

Page 28: Participating in the Web of Data

APIs made easy

No time wasted reading API docsCreating complex queries with the console.Filter data before use Fast pipes.Caching + converting Server-side JavaScript

http://developer.yahoo.com/yql

Page 29: Participating in the Web of Data

Government as a trailblazer?

Page 30: Participating in the Web of Data

Conjuring APIs out of thin air

Page 31: Participating in the Web of Data

Get the data in a good format.

Page 32: Participating in the Web of Data

Then throw it onto “the cloud”

Page 33: Participating in the Web of Data

And publish it in a simple format

Page 34: Participating in the Web of Data

Then turn it into an API!

select * from csv where url="http://spreadsheets.google.com/pub?key=tpWDkIZMZleQaREf493v1Jw&output=csv" and columns="Year,City,Sport,Discipline,Country,Event, Gender,Type" and Year="1924"

Page 35: Participating in the Web of Data

Spreadsheet to web service

Page 36: Participating in the Web of Data

Some more examples

Page 37: Participating in the Web of Data

http://icant.co.uk/goohoobi/index.php?research

Page 38: Participating in the Web of Data

http://uk-house-prices.com/

Page 39: Participating in the Web of Data

http://icant.co.uk/geomaker/index.php

Page 40: Participating in the Web of Data

In summary...We have the network and we have the technology.We have people who work effectively with the tools they use. We have a new generation coming who naturally use the internet and are happy with our web interfaces.If we use our efforts 50/50 on new and building APIs and converters to get the data of the old the web will rock.

Page 41: Participating in the Web of Data

Homework

http://github.com/yql/yql-tables

Page 42: Participating in the Web of Data

Learn more

Page 43: Participating in the Web of Data

THANKS!

Photos: flickr.com, oddlyspecific.com, thereifixedit.com, failblog.org, epicwinftw.com,the internets.

Page 44: Participating in the Web of Data