How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

38
How to create a Personal Knowledge Graph Juantomás García - Open Sistemas

Transcript of How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

Page 1: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How to create a Personal Knowledge Graph

Juantomás García - Open Sistemas

Page 2: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

Juantomás García

Data Solutions Manager @ Open Sistemas

Google Developer Expert for cloud

Others

Co-Author of the first spanish book about free software “La Pastilla Roja”

Former President of Hispalinux (Spanish Linux User Group)

Organizer of the Machine Learning Spain and GDG Cloud Madrid.

Who am I

Page 3: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How this talk is Organized

I’m a big fan of the golden circle

Page 4: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

Why: Need a Knowledge Graph

• I managed a lot of information.

• Every day: • Browse lots of websites (~100 even more) • See a couple of videos. • I interact with persons (mails, chats,

slacks, calendars, etc). • Read documents (pdfs, papers, etc)

Page 5: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

Why: Need a Knowledge Graph

• I need to organize all this

My current way of organizing and not forgetting things does not scale!

Page 6: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

Why: Need a Knowledge Graph

•I need to:

•Query/browse the information.

•Understand the information to turn it into knowledge

Page 7: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

Why: Need a Knowledge Graph

• I need more:

• I have no interest in all the global information.

• I just want to organize a graph with my subjects of interest

Page 8: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

Why: Need a Knowledge Graph

• Event I need more:

• I want to have a system that do the hard and boring work for me.

• I wish to have a recommendation system that know me and grow with me.

• I want to have a system that explore and discovery information for me.

Page 9: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Lets me introduce some interesting concepts about how.

Page 10: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Explicit vs Implicit

Page 11: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Examples of wrong recommendations from pocket (~8k favorites)

Page 12: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Examples of good recommendations from pocket (~8k favorites)

Page 13: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Graphs

•Probably under the radar of too many people

•For me a big change in the way to think and work with information

Page 14: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Graphs: traditional database

Page 15: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Graph Database

Page 16: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Graph Databases vs Relational

Page 17: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Collective Intelligence

Page 18: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Collective Intelligence

Page 19: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Collective Intelligence

A

A A

B B

B

C

Page 20: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Collective Intelligence

A

A A

Page 21: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

I love Unix Pipes

awk '{print $7}' access.log| sort | uniq -c | sort -rn | head -n 5

Page 22: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

I love Unix Pipes

Page 23: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Smart Agents • Bots every where. • With AI powering it. • New interfaces: interacting with the KG using bots.

• B2B: Bot2Bot

Page 24: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Think Big

Page 25: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Think Big • Forget Legacy Architectures • Forget Old Tools • Use Light Technologies • Use pieces of Lego • Mix different technologies from diverse sources

Page 26: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Not to do list• Avoid to install & config a server even a VM.

• Avoid to installs tools instead use containers and/or cloud services.

• In general: think if there is a simpler way to do it and needs less effort

Page 27: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Architecture & Tools• Use Cloud Services is no brainer decision.

• Git + Containers • Use the best language* for each module.

• Use Notebooks: Jupyter, Zeppelin, DSX

(*) Even java might be an option - unprovable

Page 28: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Big Data & Machine Learning• That’s a big data project. • At least you need to design it as if were.

• Even if look simpler, using ML will improve the results.

Page 29: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Gathering Info• There are lots of sources. • The idea just create recolector and processors.

Page 30: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Gathering Info: web navigation

Page 31: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Gathering Info

Page 32: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Gathering Info

Page 33: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Gathering Info

Page 34: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Gathering Info

Page 35: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

What: Make a Knowledge Graph

So lets start with the “What”First Steps:

• Project Name: Boosterme • Github: https://github.com/boosterme/

boosterme

Page 36: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

What: Make a Knowledge Graph

Global Architecture

Page 37: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

What: Make a Knowledge Graph

Questions?

Page 38: How to create a personal knowledge graph IBM Meetup Big Data Madrid 2017

How: Make a Knowledge Graph

Thank You!!!• email: [email protected] • twitter: @juantomas • GitHub: https://github.com/boosterme/boosterme

This talk have a free questions lifetime warranty: If you have any questions or concerns about this talk, feel free to contact me anytime.