why your next product should be semantic by dr. david wood

45
@prototypo [email protected] David Wood, PhD Why Your Next Product Should Be Semantic

Upload: 3-round-stones

Post on 20-Jan-2015

279 views

Category:

Internet


0 download

DESCRIPTION

David Wood, co-founder & CTO of 3 Round Stones, author & pioneer on Data Exchange Standards for the Web speaks at the 10th Anniversary Semantic Technology & Business Conference in San Jose California on 20-August 2014. Dr. Wood will describe how data is core to your organization's effectiveness and efficiency. He'll describe why and how to make your next product semantically-enhanced for increased speed to market & responsiveness to your customers.

TRANSCRIPT

Page 1: Why Your Next Product Should be Semantic by Dr. David Wood

@[email protected]

David Wood, PhD

Why Your Next Product Should Be

Semantic

Page 2: Why Your Next Product Should be Semantic by Dr. David Wood

Critical Business Benefits

• Better speed to market

• Lower running costs

• Increased market opportunities

Page 3: Why Your Next Product Should be Semantic by Dr. David Wood
Page 4: Why Your Next Product Should be Semantic by Dr. David Wood

M A N N I N G

David WoodMarsha ZaidmanLuke RuthWITH Michael Hausenblas

FOREWORD BY Tim Berners-Lee

Structured data on the Web

2 Door P

rizes

Page 5: Why Your Next Product Should be Semantic by Dr. David Wood

YouTube HDTV

watch videoswatch Better

videos

Publish videos

Share videos

Rate videos

Discuss videos

Page 6: Why Your Next Product Should be Semantic by Dr. David Wood

Linked Data RDBMS

Use data Use data

Publish data

Share data

Rate data

Discuss data

Page 7: Why Your Next Product Should be Semantic by Dr. David Wood

Data is easier and faster to change than code

Page 8: Why Your Next Product Should be Semantic by Dr. David Wood

“(Software development) cost estimation literally boils down to

"how long and how many people?"” -- Philippe Kruchten

Page 9: Why Your Next Product Should be Semantic by Dr. David Wood

0

10

20

30

40

50

60

70

Retail

Bars

Building

Food

Service

Accou

nting

Software

(trad

)

Legal/

Tax

Health

care

Educati

on

Childca

re

Software

(remote

)

SHRM 2008US Census 2007 Survey 2014

Payr

oll,

% o

f Tot

al

Page 10: Why Your Next Product Should be Semantic by Dr. David Wood

0

10

20

30

40

50

60

70

Retail

Bars

Building

Food

Service

Accou

nting

Software

(trad

)

Legal/

Tax

Health

care

Educati

on

Childca

re

Software

(remote

)

SHRM 2008US Census 2007 Survey 2014

Payr

oll,

% o

f Tot

al

Page 11: Why Your Next Product Should be Semantic by Dr. David Wood
Page 12: Why Your Next Product Should be Semantic by Dr. David Wood
Page 13: Why Your Next Product Should be Semantic by Dr. David Wood

“Computer Science is the only discipline in which we view adding a

new wing to a building as being maintenance.”

-- Jim Horning

Page 14: Why Your Next Product Should be Semantic by Dr. David Wood

class Language < ActiveRecord::Base ! has_many :examinations has_many :project_languages has_many :projects, :through => :project_languages ! attr_accessible :source, :target, :price ! validates :source, :target, :price, :presence => true ! def self.source_languages Language.find_by_sql("select * from languages group by source").map{|lang| [lang.source, lang.source] } end ! def self.target_languages Language.select(:target).uniq.map{|lang| [lang.target, lang.target]} end !end

SQL embedded in code

Page 15: Why Your Next Product Should be Semantic by Dr. David Wood

class Language < ActiveRecord::Base ! has_many :examinations has_many :project_languages has_many :projects, :through => :project_languages ! attr_accessible :source, :target, :price ! validates :source, :target, :price, :presence => true ! def self.source_languages Language.find_by_sql("select * from languages group by source").map{|lang| [lang.source, lang.source] } end ! def self.target_languages Language.select(:target).uniq.map{|lang| [lang.target, lang.target]} end !end

SQL embedded in code

SQL

Page 16: Why Your Next Product Should be Semantic by Dr. David Wood

SQL generators

client = Client.find(1, 10)

equivalent to: SELECT * FROM clients WHERE (clients.id IN (1,10))

Page 17: Why Your Next Product Should be Semantic by Dr. David Wood

SQL generators

client = Client.find(1, 10)

equivalent to: SELECT * FROM clients WHERE (clients.id IN (1,10))

SQL!generator

Page 18: Why Your Next Product Should be Semantic by Dr. David Wood

SQL generators

client = Client.find(1, 10)

equivalent to: SELECT * FROM clients WHERE (clients.id IN (1,10))

SQL!generator

That’s good, right?

Page 19: Why Your Next Product Should be Semantic by Dr. David Wood

SQL generators

class Amenity < ActiveRecord::Base has_many :amenity_lists ! named_scope :available, lambda { |start_date, end_date| { :select => 'amenities.*', :order => 'id', :conditions => [" amenities.id NOT IN (! SELECT aa.id from amenities aa, amenity_lists al WHERE! amenities.id = al.amenity_id AND! (! (? BETWEEN al.checkin AND al.checkout) OR! (? BETWEEN al.checkin AND al.checkout)! )! )", start_date, end_date ] } } end

Page 20: Why Your Next Product Should be Semantic by Dr. David Wood

Why?

Page 21: Why Your Next Product Should be Semantic by Dr. David Wood

Why?

• It is the tight coupling of DB+schema that causes tight code integration.

Page 22: Why Your Next Product Should be Semantic by Dr. David Wood

Back to the future

q = """SELECT ?x ?z ?y! WHERE {! course:%s course:termName ?x;! ?s ?t.! ?s ?d ?z.! ?t course:termName ?y.! FILTER (regex(?z,'[^a-z0-9]','i') && isLiteral(?z) )! }ORDER BY ASC(?s) """%var_value

schema

ontologyinference

schema

SPARQL

Page 23: Why Your Next Product Should be Semantic by Dr. David Wood

“Perfection is achieved, not when there is nothing left to add, but when

there is nothing left to remove.” -- Antoine de Saint-Exupéry

Page 24: Why Your Next Product Should be Semantic by Dr. David Wood

Next

schema

ontologyApplication relationships

Data structure

Page 25: Why Your Next Product Should be Semantic by Dr. David Wood

Next

schema

ontology

Page 26: Why Your Next Product Should be Semantic by Dr. David Wood

Next

inference

schema

ontology

Page 27: Why Your Next Product Should be Semantic by Dr. David Wood

Next

inference

schema

ontology

SPARQL!generator

Page 28: Why Your Next Product Should be Semantic by Dr. David Wood

Next

generic code

inference

schema

ontology

SPARQL!generator

Page 29: Why Your Next Product Should be Semantic by Dr. David Wood

SQL

SQL

1960s

1970s

1980s

1990s

2000s

2010s

SQL!generator

schema

ontologyinference

schema

SPARQL

SPARQL!generator

schema

ontology

inference

generic code

inference

schema

ontology

Page 30: Why Your Next Product Should be Semantic by Dr. David Wood

Bonobos!

Page 31: Why Your Next Product Should be Semantic by Dr. David Wood

Bonobos!

Page 32: Why Your Next Product Should be Semantic by Dr. David Wood
Page 33: Why Your Next Product Should be Semantic by Dr. David Wood

Animal Pants

Label Label

Comment Comment

Depiction Depiction

Order page

Color

Gender pronoun

Address

Page 34: Why Your Next Product Should be Semantic by Dr. David Wood

Label

Comment

Depiction

Depiction

Label

Comment

Gender pronoun Address

Color Order page

Page 35: Why Your Next Product Should be Semantic by Dr. David Wood

Lack of Context

Page 36: Why Your Next Product Should be Semantic by Dr. David Wood

Required Context

Page 37: Why Your Next Product Should be Semantic by Dr. David Wood
Page 38: Why Your Next Product Should be Semantic by Dr. David Wood
Page 39: Why Your Next Product Should be Semantic by Dr. David Wood

carrelet@fr

plaice@en_gb sand dab@en_us

lemon dab@en_us

lemon sole@en_us

Page 40: Why Your Next Product Should be Semantic by Dr. David Wood

carrelet@fr

plaice@en_gb sand dab@en_us

lemon dab@en_us

lemon sole@en_us

limande@fr

calimande@fr

plie@fr

Page 41: Why Your Next Product Should be Semantic by Dr. David Wood

Dr. Chris Welty

“Semantic Technology is not an end in itself, it is a means to an end, a set of tools and techniques for supporting

modern data analytics. It goes alongside other essential technologies

like machine learning, databases, information retrieval, etc.”

IBM Watson Team

Page 42: Why Your Next Product Should be Semantic by Dr. David Wood
Page 43: Why Your Next Product Should be Semantic by Dr. David Wood

M A N N I N G

David WoodMarsha ZaidmanLuke RuthWITH Michael Hausenblas

FOREWORD BY Tim Berners-Lee

Structured data on the Web

2 Door P

rizes

Page 44: Why Your Next Product Should be Semantic by Dr. David Wood

@[email protected]

David Wood, PhD

Why Your Next Product Should Be

Semantic

Page 45: Why Your Next Product Should be Semantic by Dr. David Wood

This work is Copyright © 2011 3 Round Stones Inc. It is licensed under the Creative Commons Attribution 3.0 Unported LicenseFull details at: http://creativecommons.org/licenses/by/3.0/

You are free:

to Share — to copy, distribute and transmit the work

to Remix — to adapt the work

Under the following conditions:Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.