SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

162
©2015 Eric Axel Franzon SEO Meets Semantic Web (Meets St. Patrick’s Day) Welcome!

Transcript of SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

Page 1: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SEO Meets Semantic Web(Meets St. Patrick’s Day)

Welcome!

Page 2: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Eric FranzonManaging PartnerSemantic Fuse

A Roadmap for SEO Today and Tomorrow

SemanticWeb:

Page 3: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Semantic Webis like the harmonica

Page 4: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Easy to play

Page 5: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Easy to play; takes work to master.

Page 6: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What we’ll discuss

• What is Semantic Web?• Who’s using it?• What makes it work?

Page 7: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What Is Semantic Web?

• A Web-scale architecture• A metadata technology• A layer of meaning on the Web• In use TODAY!

Page 8: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What Is it Not?• A software package

• Something that will everbe “done”

• A replacement for thecurrent Web

Page 9: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What Is it Not?• Limited to the public WWW

• A pipe dream

• A silver bullet

• HAL 9000 or Skynet

Page 10: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 11: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 12: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 13: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 14: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 15: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 16: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel FranzonIoT Enhancements by Eric Franzon

IoT

Page 17: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• Globally• Inexpensively• In Real-Time

(public)WorldWideWeb

HTTP

HTML

Based on W3C Standards

Page 18: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• Globally• Inexpensively• In Real-Time

Behind the Firewall

(public)WorldWideWeb

HTTP

HTML

Based on W3C Standards

Page 19: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• Globally• Inexpensively• In Real-Time

SemanticWeb

RDF

SPARQL

OWL

Based on W3C Standards

Page 20: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• Globally• Inexpensively• In Real-Time

Behind the Firewall

SemanticWeb

RDF

SPARQL

OWL

Based on W3C Standards

Page 21: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• to connect DATA• to make information

interpretable by machines

Semantic Web Standardsare used…

Page 22: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Machine Interpretationas the Web Evolves…

Page 23: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Web 1.0 – Linking Documents

Page 24: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Web 1.0

“I see: characters + formatting + images”--my Computer

Page 25: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Web 1.0 – Linking DocumentsWeb 2.0 – Linking People

Page 26: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Web 2.0

“I see: characters + formatting + images”--my Computer

Page 27: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

It’s hard to interpret meaning when all you see are characters,

images, and formatting.

Context is critical.

Page 28: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Web 1.0 – Linking DocumentsWeb 2.0 – Linking PeopleWeb 3.0 – Linking Data

Page 29: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Web 3.0 – Linking DataTitle

Price

Format

Cover

Band

Page 30: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Web 3.0 – Linking DataTitle

Price

Format

Cover

Band“I see: things + relationships. This is about a collection of music.”

Page 31: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Q: What does “Linked Data” have to do with Semantic Web?

Page 32: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

A Quick word of disambiguation…

Semantic Web- A vision for a web of data

Semantic Web Standards- A specific set of standards

Linked Data- One application area of those

standards

Page 33: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Semantic WebStandards

SemanticWeb

LinkedOpenData

Page 34: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Semantic WebStandards

SemanticWeb

LinkedOpenData

LinkedData

Page 35: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Linking Open Data ProjectMay, 2007

Page 36: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon July 2009

Page 37: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

September 2011

Page 38: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

August 2014

Page 39: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Data from these trusted sourcesis available for you

to use in your applications TODAY.

Data you can LINK to.

Page 40: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Semantic Data that is machine READABLE.

…and machine INTERPRETABLE!

Page 41: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Who’s Using Semantic Web Standards?

Page 42: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• Healthcare / Life Sciences• Financial Services• Manufacturing / Retail• Marketing, Advertising• SEO/SEM• Libraries• Archives• Museums • Governments

Who’s Using Sem Web?

Page 43: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Who’s Using Sem Web?

Page 44: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Who’s Using Sem Web?

Page 45: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 46: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What it looks like

Page 47: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 48: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• Activities• Businesses• Groups• Organizations• People• Places• Products and Entertainment• Websites

Used to Describe

Page 49: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What it looks like

Page 50: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What it looks like<meta property='og:image' content="http://ia.media-imdb.com/images/M/MV5BMjA0MDYyNzczN15BMl5BanBnXkFtZTYwNjMzNjMz._V1_.jpg" />

<meta property='og:type' content="actor" /><meta property='fb:app_id' content='115109575169727' /><meta property='og:title' content="Peter O'Toole" /><meta property='og:site_name' content='IMDb' /><meta property="og:description" content="Peter O'Toole,

Actor: Lawrence of Arabia. A leading man of prodigious talents, Peter O'Toole was raised in Leeds, England, the son of Constance Jane Eliot (Ferguson), a Scottish nurse, and Patrick Joseph O'Toole, an Irish bookie. As a boy, he decided to become a journalist, beginning as a newspaper copy boy. Although he succeeded in becoming a reporter, he discovered the theater and made his stage debut at 17. He served as a radioman in ..." />

Page 51: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Who’s Using Sem Web?

Page 52: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What is schema.org?

“…A collection of schemas, i.e., html tags, that webmasters can use to markup their pages in ways recognized by major search providers.”

Page 53: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

e.g. Product Markup

Page 54: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What it looks like

Page 55: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

e.g. TV Episode Markup

Page 56: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What it looks like

Page 57: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What it looks like

Page 58: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

e.g. Company

Page 59: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What it looks like

Page 60: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What it looks like

Page 61: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Based on a sample of 12 billion web pages:

• ~5 million domains (6% of domains)

• 15 billion entities

• 65 billion triples

• 2.5 billion pages (~21% of pages)-Reported in an August 2014 SemTechBiz Keynote by R. V. Guha, Google Fellow

Schema.org Adoption

Page 62: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

A work in progress

Page 63: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Growing Up• ~ 100 categories at launch in 2011• ~1200 by Sept. 2014

• Bibliographic Relationships & Periodicals (Sept. 2, 2014)

• Music, Video Games, Sports, breadcrumbs, itemList (Dec. 11, 2014)

• VisualArtwork, Invoices (Feb. 5, 2015)• Fixes to documentation, examples, &

general bugs (ongoing)

Page 64: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Growing Pains

• Immature tools for• Publishing• Parsing• Evaluating

• Lack of understanding/Misinformation

Page 65: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• Incorrect Signals being sent

• Global companies showing as local• Old data• Entities mismatched to concepts

Feeling the Pain

Page 66: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

When it does work, though…

Page 67: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

When it does work, though…

Page 68: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

When it does work, though…

Page 69: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What makes SemWeb work?

Page 70: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

The Technologies of SemWeb

• Data• Schemas• Query Language

Page 71: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

The Data Language

ResourceDescriptionFramework

Page 72: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

“RDF is good for distributing dataacross the Web and pretendingit’s in one place.”

-Dean Allemang, Author, Semantic Web for the Working Ontologist

Page 73: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• to connect DATA• to make it interpretable

by machines

RDF is used…

RDF is made up of triples!

Page 74: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

1. By uniquely identifying THINGS2. By uniquely identifying RELATIONSHIPS3. By using TRIPLES

Machine Interpretable - How?

Page 75: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

So, what’s a THING?

1. By uniquely identifying THINGS

Page 76: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

A THING is anything that can be uniquely identified by a URI or a literal (string)

Me

My postal code

The White House

L.A. County’s sales tax rate

http://ericaxel.com/eric.rdf#me

http://www.city-data.com/zips/59801.html

Lat: 38.89859 Long: -77.035971

9.750 %

http://ericfranzon.com/harpcase.jpg

Page 77: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

This is a collection of THINGS:

t_peopleName City State Post codeBill Carlsbad CA 92008Eric Missoula MT 59801

Page 78: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Who’s your daddy?

1. By uniquely identifying THINGS2. By uniquely identifying RELATIONSHIPS

Page 79: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Is Father of

Page 80: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Is Father ofhttp://ericaxel.com/eric.rdf#me

Page 81: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

<owl:ObjectProperty rdf:ID="isFather"><rdfs:domain rdf:resource="#Person"/><rdfs:range rdf:resource="#Person"/>

</owl:ObjectProperty>

http://ericaxel.com/eric.rdf#mens:isFather

Page 82: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Is Father of

<owl:ObjectProperty rdf:ID="isFather"><rdfs:domain rdf:resource="#Person"/><rdfs:range rdf:resource="#Person"/>

</owl:ObjectProperty>

http://ericaxel.com/eric.rdf#mens:isFather

Page 83: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

<owl:ObjectProperty rdf:ID="isFather"><rdfs:domain rdf:resource="#Person"/><rdfs:range rdf:resource="#Person"/>

</owl:ObjectProperty>

http://ericaxel.com/eric.rdf#mens:isFather

Page 84: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

<owl:ObjectProperty rdf:ID="isFather"><rdfs:domain rdf:resource="#Person"/><rdfs:range rdf:resource="#Person"/>

</owl:ObjectProperty>

ns:isFather

Page 85: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

1. By uniquely identifying THINGS2. By uniquely identifying RELATIONSHIPS3. By using TRIPLES

What’s a triple?

Page 86: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

The Building block of RDF

The Triple

Page 87: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Triples? It’s Elementary! (School)

song has title.

Page 88: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Triples? It’s Elementary! (School)

song has title.

Relationship

Page 89: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Predicate

Triples? It’s Elementary! (School)

song has title.

Page 90: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Triples? It’s Elementary! (School)

song has title.

That is a Triple!

Page 91: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

“This band recorded a song.”

“This recording is part of a collection.”

“This item has a barcode.”

“I like blues.”

“I like B.L.U.E.S.”

“This image can be used non-commercially.”

“My email address is [email protected].”

Triples? It’s Elementary!

Page 92: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Song Has Title “Title”

Eric Created Webpage

Image Has License CC Non-Commercial

Make AssertionsSu

bjec

ts

Obj

ects

Predicates

Page 93: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Song

Author Title

PublisherLyrics

A Simple Graph

Page 94: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

The Trouble with Triples

Page 95: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Visualization of graph from Pharma space- Cytoscape.org

Page 96: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Where does one store triples?

In a “triple store”

Page 97: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Where does one store triples?

• Native Semantic Web stores• RDBMS databases• As native files (.rdf)• Woven into documents (RDFa)• Generated on the fly

Page 98: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Just so you know…There are many ways of representing RDF:

• RDF/XML• N3• JSON-LD• N-Triples

• Turtle• RDFa• Microdata• Microformats

Each has pros and cons, but they all connect THINGS and RELATIONSHIPS into TRIPLES

Page 99: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

The Technologies of SemWeb

• Data• Schemas• Query Language

Page 100: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

The Schemata

Linked Data schemas consist of:

Your RDF relationships (predicates)+

Relationship descriptions

Page 101: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SemWeb Schemata

id First Name Last Name

1 Barbara Starr

Schema

Data

Initial Schema

hasIDhasFirstName hasLastName

Barbara Starr1

owl:sameAs

hasSurname

Relationshipdescription

Page 102: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Choosing Relationships

• Reuse popular vocabularies– FOAF (Friend-of-a-friend)– Dublin Core (library/publisher metadata)– SIOC (Semantically-Interlinked Online

Communities)– Schema.org

• ...or make up your own!

Page 103: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

1. Resource Description Framework Schema (RDFS): Simple, hierarchical classes

2. Simple Knowledge Organization System (SKOS): Port taxonomies to the Semantic Web

3. Web Ontology Language (OWL): Complex logical relationships

Relationship Descriptions

Page 104: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Worldcat.org

• A project of the OCLC

Page 105: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Vocabulary Combination “in the wild”

Page 106: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Vocabulary Combination “in the wild”

Page 107: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

The Technologies of SemWeb

• Data• Schemas• Query Language

Page 108: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

The query language

SPARQLProtocolAndRDFQueryLanguage

SPARQL

Page 109: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL allows us to:

• Pull values from structured & semi-structured data

• Explore data by querying unknown relationships

• Perform complex joins of disparate databases in a single, simple query

• Transform RDF data from one vocabulary to another

--Lee Feigenbaum, Cambridge Semantics

Page 110: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Eric

Page 111: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

<hasDepiction>

Eric

Page 112: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

<hasLicense>

<hasDepiction>

Eric

Page 113: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

<hasLicense>

<hasDepiction>

<likes>

Eric

Page 114: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

<hasLicense>

<hasDepiction>

<likes>

<likes>

Page 115: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

<hasLicense>

<hasDepiction>

<likes>

<likes>

<likes>

Eric

Page 116: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Chicago, Illinois

On the shores of Lake Michigan, Chicago is one of the major…

<hasLicense>

<wrote><hasDepiction>

<likes>

<likes>

<likes>

Eric

Bob

Page 117: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Chicago, Illinois

On the shores of Lake Michigan, Chicago is one of the major…

<hasLicense>

<wrote>

<isAbout>

<hasDepiction>

<likes>

<likes>

<likes>

Eric

Bob

Page 118: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Chicago, Illinois

On the shores of Lake Michigan, Chicago is one of the major…

<hasLicense>

<wrote>

<isAbout>

<livedIn>

<hasDepiction>

<likes>

<likes>

<likes>

Eric

Bob

Page 119: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Chicago, Illinois

On the shores of Lake Michigan, Chicago is one of the major…

<hasLicense>

<hasLicense> <wrote>

<isAbout>

<livedIn>

<hasDepiction>

<likes>

<likes>

<likes>

Eric

Bob

Page 120: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

What can we ask of a system like this?

Page 121: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Chicago, Illinois

On the shores of Lake Michigan, Chicago is one of the major…

<hasLicense>

<hasLicense> <wrote>

<isAbout>

<livedIn>

<hasDepiction>

<likes>

<likes>

<likes>

Bob

Eric

Page 122: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Chicago, Illinois

On the shores of Lake Michigan, Chicago is one of the major…

<hasLicense>

<hasLicense> <wrote>

<isAbout>

<livedIn>

<hasDepiction>

<likes>

<likes>

<likes>

What does Eric Like?

Bob

Eric

Page 123: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Chicago, Illinois

On the shores of Lake Michigan, Chicago is one of the major…

<hasLicense>

<hasLicense> <wrote>

<isAbout>

<livedIn>

<hasDepiction>

<likes>

<likes>

<likes>

What has a Creative Commons License?

Bob

Eric

Page 124: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Chicago, Illinois

On the shores of Lake Michigan, Chicago is one of the major…

<hasLicense>

<hasLicense> <wrote>

<isAbout>

<livedIn>

<hasDepiction>

<likes>

<likes>

<likes>

What license does THIS document have?

Bob

Eric

Page 125: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Chicago, Illinois

On the shores of Lake Michigan, Chicago is one of the major…

<hasLicense>

<hasLicense> <wrote>

<isAbout>

<livedIn>

<hasDepiction>

<likes>

<likes>

<likes>

What is liked by anyone who has lived somewhere that is the subject of a document Bob has written?

Bob

Eric

Page 126: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Queries

Page 127: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #1(specific endpoint – dbPedia)

Artists/Albums produced by PharrellPREFIX d: <http://dbpedia.org/ontology/>SELECT ?artistName ?albumNameWHERE {

?album d:producer :Pharrell_Williams .?album d:musicalArtist ?artist .?album rdfs:label ?albumName .?artist rdfs:label ?artistName .FILTER ( lang(?artistName) = "en" )FILTER (lang(?albumName) = "en" )

}

Page 128: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #1

Page 129: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #1

Page 130: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 131: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #2(specific endpoint – dbPedia)

Musical artists who were born in or have a hometown in Irelandand the acts they performed with.

Page 132: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #2(specific endpoint – dbPedia)

PREFIX dbo: <http://dbpedia.org/ontology/>

SELECT DISTINCT ?name ?person ?artist WHERE {?person foaf:name ?name .?person rdf:type <http://dbpedia.org/ontology/MusicalArtist> .?person <http://dbpedia.org/ontology/associatedMusicalArtist>

?artist .{?person dbo:hometown

<http://dbpedia.org/resource/Republic_of_Ireland> .}UNION {?person dbo:birthPlace

<http://dbpedia.org/resource/Republic_of_Ireland> .}

}ORDER BY ?name

Page 133: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #2

Page 134: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #2

A major retailer ran this query…

associated it with the catalog of albums it sells…

and delivered a set of recommended purchases for St. Patrick’s Day!

Page 135: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 136: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 137: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 138: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Query #3

• Show me all landlocked countries• With populations > 50,000• Display the country names in English• Eliminate duplicates

Page 139: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Query #3

• Show me all landlocked countries• With populations > 50,000• Display the country names in English• Eliminate duplicates

PREFIX type: <http://dbpedia.org/class/yago/>PREFIX prop: <http://dbpedia.org/property/>SELECT ?country_name ?populationWHERE {

?country a type:LandlockedCountries ;rdfs:label ?country_name ;prop:populationEstimate ?population .

FILTER (?population > 15000000 && langMatches(lang(?country_name), "EN")) .} ORDER BY DESC(?population)

Page 140: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Query #3 Results

Page 141: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Query #3

• Show me all landlocked countries• With populations > 50,000• Display the country names in English• Eliminate duplicates

PREFIX type: <http://dbpedia.org/class/yago/>PREFIX prop: <http://dbpedia.org/property/>SELECT ?country_name ?populationWHERE {

?country a type:LandlockedCountries ;rdfs:label ?country_name ;prop:populationEstimate ?population .

FILTER (?population > 15000000 && langMatches(lang(?country_name), "RU")) .} ORDER BY DESC(?population)

Page 142: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Query #3 Results

Page 143: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• 8 KB text file with the .rdf extension• Hosted on my website• Information on me, my interests, and

people I know

My FOAF Profile

Page 144: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #4(generic endpoint)

FOAF (some people that Eric Franzon knows)

PREFIX foaf: <http://xmlns.com/foaf/0.1/>SELECT ?nameFROM <http://ericaxel.com/eric.rdf>WHERE {

?knower foaf:knows ?known .?known foaf:name ?name .

}

Page 145: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #4

Page 146: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Example #4 - Results

Page 147: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

2 Disparate Data Sources:2 FOAF Profiles

Page 148: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #5Querying two FOAF Profiles

PREFIX foaf: <http://xmlns.com/foaf/0.1/>PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>SELECT ?nameFROM <http://ericaxel.com/eric.rdf>FROM <http://bosatsu.net/foaf/brian.rdf>WHERE {

?x rdf:type foaf:Person .?x foaf:name ?name .

}

Page 149: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Where’s the Data?

What’sThe

Question?

Page 150: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Example #5 - Results

Page 151: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Another Benefit of querying Linked Data…

Data link to other data!

SPARQL Example #6

Page 152: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

1. Find these pieces of information:• Episode number• Airdate • Guest star • Chalkboard gag • Couch gag

2. Order them by Episode number

SPARQL Example #6

Page 153: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #6Bart Simpson's Linked Data (DBPedia)

SELECT ?epnum ?airdate ?guest_star ?chalkboard_gag?couch_gag WHERE {?s dbpedia2:airdate ?airdate .?s dbpedia2:blackboard ?chalkboard_gag .?s dbpedia2:guestStar ?guest_star .?s dbpedia2:episodeNo ?epnum .?s dbpedia2:couchGag ?couch_gag .} order by ?epnum

Page 154: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

SPARQL Example #6

Page 155: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Example #6 - Results

Page 156: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Following the Trail…

Page 157: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Page 158: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

One More Thing…

Page 159: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

A little bit can be powerful!

Page 160: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Questions? Operators are standing by.

THANK YOU!

[email protected]@EricAxelhttp://linkedin.com/in/ericfranzonhttps://plus.google.com/+EricFranzon

Page 161: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

• Semantic Markup Infusion• Semantic Data Fusion• Semantic SEO• Semantic Roadmap/Audit• Semantic Streamlining of Product Feeds/Catalogs• Semantic Consulting/Training• Semantic Interest Graph Generation

Page 162: SEO Meets Semantic Web - Saint Patrick's Day 2015-Meetup

©2015 Eric Axel Franzon

Resourceshttps://flic.kr/p/6krdsM

https://flic.kr/p/p9jiDK

https://flic.kr/p/3q8afL

https://flic.kr/p/brJs4G

https://flic.kr/p/78rsTc

https://flic.kr/p/bpSeR2

http://www.flickr.com/photos/dawnmanser/3532853278/

http://www.flickr.com/photos/artolog/3983764041/

http://www.flickr.com/photos/97964364@N00/59780745/

http://www.flickr.com/photos/starwarsblog/

http://aldobucchi.com

http://www.addletters.com/pictures/bart-simpson-generator/3024046.htm

http://richard.cyganiak.de/2007/10/lod/