The document discusses Yahoo Query Language (YQL), which allows users to query and combine data from hundreds of web services using an SQL-like language. YQL can be used to filter, tweak, and combine data across many APIs. It also provides tools to store data in the cloud, translate tweets to different languages, and make APIs accessible via YQL tables. YQL enables building applications faster by allowing developers to access and combine data from many sources through a simple query language.
7. Running Queries - UPDATE Query Structure
UPDATE social.profile.status
SET status="Using YQL UPDATE"
WHERE guid=“NJFIDHVPVVISDXZKT7UKED2WHU”
7
8. Running Queries – Sub-selects with the IN clause
SELECT * FROM flickr.photos.search
WHERE (lat, lon)
IN (SELECT centroid.latitude, centroid.longitude
FROM geo.places WHERE text="SFO")
8
14. YQL Execute
Extend open tables
- Run server-side javascript on cloud
Access APIs that require authentication
- Netflix OAuth, FlickrAuth, Google AuthSub
Augment data
- City / state to APIs that just return zip code
Create APIs from web pages
- Celebrity birthdays scraped from IMDB
14