SlideShare a Scribd company logo
1 of 36
Download to read offline
Knowledge Graphs
Andy Seaborne
South West Data : 24th April 2019
Outline
● Knowledge Graphs
● Graphs for data
● Standards-based Graph Databases
Knowledge Graphs
● Original: Google "knowledge panel"
○ Search augmentation
● Google Assistant
● Facebook Social Graph
○ https://developers.facebook.com/docs/graph-api/
● eBay products
● Emerging internal Enterprise uses
Google
What is a Knowledge Graph?
https://2019.semantics.cc/knowledge-graphs-are-rise
● A Knowledge Graph represents a knowledge domain
● It represents knowledge as a graph
● a network of nodes and links
● not tables of rows and columns
● It represents facts (data) and models (metadata) in the same way
WHAT IS A KNOWLEDGE GRAPH?
“A knowledge graph acquires and integrates information into an
ontology and applies a reasoner to derive new knowledge.”
Towards a Definition of Knowledge Graphs
SEMANTICS 2016: Posters and Demos Track
WHAT IS A KNOWLEDGE GRAPH?
“A knowledge graph acquires and integrates information into an
ontology and applies a reasoner to derive new knowledge.”
Towards a Definition of Knowledge Graphs
SEMANTICS 2016: Posters and Demos Track
Reality
Data
“Integrates” => can be many sources;data come from other places
“Ontology” => organised
“Reasoner”, “machine learning” => programs that make the graph more useful
Another take . . .
https://medium.com/@dmccreary/knowledge-graphs-the-third-era-of-computing-a8106f343450
https://github.com/eBay/beam
Knowledge Graph
● An approach, not a specific technology
● Integrates
○ Many sources
○ Variety of sources
● Refines the data
○ Puts some level of organisation on the data
○ Makes connections across sources
● Answer questions
○ Supplies an API or a UI for delivery of organised data
○ “Publishes data” : not a single planned, fixed usage.
Now:
● General term for a graph of data produced from many sources.
● Background knowledge for AI and ML
Public Examples
DBPedia
Wikidata
Uniprot
Gartner 2018
Graph Databases
… for Knowledge Graphs
While the term “Knowledge Graph” is relatively new
(Google 2012), the concept of “representing knowledge
as a set of relations between entities — forming a
“graph” — has been around for much longer.
https://dzone.com/articles/my-list-of-7-great-2018-advancements-in-enterprise
Graphs for Data
http://www.linkeddatatools.com/introducing-rdf
Why Graph Databases
● “Schemaless” and Publishing
● Data not completely regular … or clean … or cleanable
● “Connections”
● Traversal
Two kinds
RDF
● W3C Standards
● From 1999
● Focus:
○ Data Publishing
○ Data Integration
○ Web scale
○ Modelling
○ Rules
● Query language: SPARQL
Property Graphs
● A general style, currently
converging
● Focus:
○ Data capture
○ Analytics
○ Large datasets
○ Data structure
● Query languages: Gremlin,
OpenCypher
Why RDF graph databases
Emphasis
● Modelling
● Concept naming
● Merge
RDF Graph Database
https://www.topquadrant.com/technology/graphql/
RDF Data
PREFIX : <http://example/myData/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/> # "foaf" = Friend of a Friend
# foaf:name is a short form of <http://xmlns.com/foaf/0.1/name>
:alice rdf:type foaf:Person ;
foaf:name "Alice Smith" ;
foaf:knows :bob .
:alice
foaf:knows
"Alice Smith"
foaf:name
:bob
foaf:Person
rdf:type
RDF Data
PREFIX : <http://example/myData/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
:bob
rdf:type foaf:Person ;
foaf:name "Bob Brown" .
:bob
foaf:Person
rdf:type
foaf:name
"Bob Brown"
RDF Data
PREFIX : <http://example/myData/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/> # “foaf” = Friend of a Friend
:alice rdf:type foaf:Person ;
foaf:name "Alice Smith" ;
foaf:knows :bob .
:bob
rdf:type foaf:Person ;
foaf:name "Bob Brown" . :alice
foaf:knows
"Alice Smith"
foaf:name
:bob
foaf:Person
rdf:type rdf:type
:bob
foaf:name
"Bob Brown"
FOAF : Friend of a Friend
http://xmlns.com/foaf/spec/
● Dan Brickley, Libby Miller
Bristol !
foaf:Person
http://xmlns.com/foaf/spec/#term_Person
foaf:Person - for machines
{
"@id": "foaf:Person",
"@type": [
"rdfs:Class",
"owl:Class"
],
"comment": "A person.",
"label": "Person",
"subClassOf": [
"foaf:Agent",
"http://www.w3.org/2000/10/swap/pim/contact#Person",
"http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing"
],
"disjointWith": [
"foaf:Organization",
"foaf:Project"
],
"status": "stable"
}
JSON-LD, another RDF syntax. Used with scheme.org.
Class Hierarchies
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
foaf:Person rdfs:subClassOf foaf:Agent .
foaf:Person rdfs:subClassOf
<http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing> .
foaf:skypeID
rdfs:domain foaf:Agent ;
rdfs:label "Skype ID" ;
rdfs:range rdfs:Literal .
Class Hierarchy itself is in RDF syntax.
SPARQL
Query Language for RDF
W3C Recommendation
Currently SPARQL 1.1
TheGuardian using DBPedia
https://www.theguardian.com/info/2019/mar/08/has-mary-wollstonecrafts-cpu-spiked
Summary
Knowledge Graphs for data integration
Graph databases to contain variable shape data
RDF databases for standard-based data exchange, modelling and query.
Open source systems to build Knowledge Graphs.

More Related Content

Recently uploaded

Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Chandigarh Call girls 9053900678 Call girls in Chandigarh
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
Diya Sharma
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
sexy call girls service in goa
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 

Recently uploaded (20)

VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Knowledge Graphs : Data as an Asset

  • 1. Knowledge Graphs Andy Seaborne South West Data : 24th April 2019
  • 2. Outline ● Knowledge Graphs ● Graphs for data ● Standards-based Graph Databases
  • 3. Knowledge Graphs ● Original: Google "knowledge panel" ○ Search augmentation ● Google Assistant ● Facebook Social Graph ○ https://developers.facebook.com/docs/graph-api/ ● eBay products ● Emerging internal Enterprise uses
  • 5. What is a Knowledge Graph? https://2019.semantics.cc/knowledge-graphs-are-rise ● A Knowledge Graph represents a knowledge domain ● It represents knowledge as a graph ● a network of nodes and links ● not tables of rows and columns ● It represents facts (data) and models (metadata) in the same way
  • 6. WHAT IS A KNOWLEDGE GRAPH? “A knowledge graph acquires and integrates information into an ontology and applies a reasoner to derive new knowledge.” Towards a Definition of Knowledge Graphs SEMANTICS 2016: Posters and Demos Track
  • 7. WHAT IS A KNOWLEDGE GRAPH? “A knowledge graph acquires and integrates information into an ontology and applies a reasoner to derive new knowledge.” Towards a Definition of Knowledge Graphs SEMANTICS 2016: Posters and Demos Track
  • 8. Reality Data “Integrates” => can be many sources;data come from other places “Ontology” => organised “Reasoner”, “machine learning” => programs that make the graph more useful
  • 9. Another take . . . https://medium.com/@dmccreary/knowledge-graphs-the-third-era-of-computing-a8106f343450
  • 11.
  • 12. Knowledge Graph ● An approach, not a specific technology ● Integrates ○ Many sources ○ Variety of sources ● Refines the data ○ Puts some level of organisation on the data ○ Makes connections across sources ● Answer questions ○ Supplies an API or a UI for delivery of organised data ○ “Publishes data” : not a single planned, fixed usage.
  • 13. Now: ● General term for a graph of data produced from many sources. ● Background knowledge for AI and ML
  • 16. Graph Databases … for Knowledge Graphs
  • 17. While the term “Knowledge Graph” is relatively new (Google 2012), the concept of “representing knowledge as a set of relations between entities — forming a “graph” — has been around for much longer. https://dzone.com/articles/my-list-of-7-great-2018-advancements-in-enterprise
  • 19. Why Graph Databases ● “Schemaless” and Publishing ● Data not completely regular … or clean … or cleanable ● “Connections” ● Traversal
  • 20. Two kinds RDF ● W3C Standards ● From 1999 ● Focus: ○ Data Publishing ○ Data Integration ○ Web scale ○ Modelling ○ Rules ● Query language: SPARQL Property Graphs ● A general style, currently converging ● Focus: ○ Data capture ○ Analytics ○ Large datasets ○ Data structure ● Query languages: Gremlin, OpenCypher
  • 21. Why RDF graph databases Emphasis ● Modelling ● Concept naming ● Merge
  • 23.
  • 24.
  • 26. RDF Data PREFIX : <http://example/myData/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> # "foaf" = Friend of a Friend # foaf:name is a short form of <http://xmlns.com/foaf/0.1/name> :alice rdf:type foaf:Person ; foaf:name "Alice Smith" ; foaf:knows :bob . :alice foaf:knows "Alice Smith" foaf:name :bob foaf:Person rdf:type
  • 27. RDF Data PREFIX : <http://example/myData/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> :bob rdf:type foaf:Person ; foaf:name "Bob Brown" . :bob foaf:Person rdf:type foaf:name "Bob Brown"
  • 28. RDF Data PREFIX : <http://example/myData/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> # “foaf” = Friend of a Friend :alice rdf:type foaf:Person ; foaf:name "Alice Smith" ; foaf:knows :bob . :bob rdf:type foaf:Person ; foaf:name "Bob Brown" . :alice foaf:knows "Alice Smith" foaf:name :bob foaf:Person rdf:type rdf:type :bob foaf:name "Bob Brown"
  • 29. FOAF : Friend of a Friend http://xmlns.com/foaf/spec/ ● Dan Brickley, Libby Miller Bristol !
  • 31. foaf:Person - for machines { "@id": "foaf:Person", "@type": [ "rdfs:Class", "owl:Class" ], "comment": "A person.", "label": "Person", "subClassOf": [ "foaf:Agent", "http://www.w3.org/2000/10/swap/pim/contact#Person", "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing" ], "disjointWith": [ "foaf:Organization", "foaf:Project" ], "status": "stable" } JSON-LD, another RDF syntax. Used with scheme.org.
  • 32. Class Hierarchies PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> foaf:Person rdfs:subClassOf foaf:Agent . foaf:Person rdfs:subClassOf <http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing> . foaf:skypeID rdfs:domain foaf:Agent ; rdfs:label "Skype ID" ; rdfs:range rdfs:Literal . Class Hierarchy itself is in RDF syntax.
  • 33. SPARQL Query Language for RDF W3C Recommendation Currently SPARQL 1.1
  • 34.
  • 36. Summary Knowledge Graphs for data integration Graph databases to contain variable shape data RDF databases for standard-based data exchange, modelling and query. Open source systems to build Knowledge Graphs.