SlideShare ist ein Scribd-Unternehmen logo
1 von 77
APIs and the Semantic Web
Publishing information instead of data
About me
• Data Specialist
• API First fanatic
• Co-Founder Apiwise
• Ex-Freshheads
• PostcodeAPI.nu
• Apiranto Docs
About me
“The only bad thing about API is
that it’s the inverse of IPA”
About me
• Brewmaster
• MQTT API driven brewery
“De Brouwtoren”
• Crowdfunding starting
next week (hint!)
0641011744
• Registration number
• Flight number
• Bank account
• Mobile phone number
641.011.744
Remember phone numbers and Excel?
“0641011744”
Now it’s a meaningless string!
Paris + Hilton
Semantics
• Context
• Meaning
• Vocabularies & Ontologies
Vocabularies
• Schema.org
• FOAF (Friend-Of-A-Friend): VCard
• XSD (XML Schema Definition Language)
Linked Data
• Alias The Semantic Web, Web 3.0
• Defines what data means
• Queries across multiple datasets
• Provides links to external resources
Triples
Subject ObjectPredicate
Triples
Dimitri Apiwiseworks at
Triples
Dimitri Endpointattends
Triples
Endpoint Amsterdamheld in
Triples
Amsterdam
The
Netherlands
capital of
Triples
Apiwise Tilburgresides in
Triples
Tilburg
The
Netherlands
located in
Tilburg
The
NetherlandsApiwise
Amsterdam
Endpoint
Dimitri
capitalof
URIs
Subject Predicate Object
dimitrivanhees.com schema.org/worksFor apiwise.nl
dimitrivanhees.com schema.org/attends endpointcon.com
endpointcon.com schema.org/location dbpedia.org/Amsterdam*
apiwise.nl schema.org/foundingLocation dbpedia.org/Tilburg
dbpedia.org/Tilburg dbpedia.org/ontology/country dbpedia.org/Netherlands
dbpedia.org/Amsterdam dbpedia.org/ontology/capital dbpedia.org/Netherlands
*Real DBPedia URL: http://dbpedia.org/resource/Amsterdam
DBPedia.org
• Wikipedia as a Linked Open Dataset
• http://dbpedia.org/resource/Amsterdam
Bank
Account Name CoC Contact Address PC City Balance
54.31.23.650 Apiwise 62956787 D. van Hees Kronenburgersingel 49 6511AL Nijmegen € 100
Cadastre (Land Register)
Number Street Number Postcode Place Value Surface Function
12345 Kronenburgersingel 49 6511AL Nijmegen € 100.000 65m² Living
Chamber of Commerce
Number Official name Type Founded Address
62956787 Apiwise V.O.F. V.O.F. 2015/04/01 Kronenburgersingel 49, 6511AL, Nijmegen
Linking datasets
Bank
Account Name CoC Contact Address PC City Balance
54.31.23.650 Apiwise 62956787 D. van Hees Kronenburgersingel 49 6511AL Nijmegen € 100
Chamber of Commerce
Number Official name Type Founded Address
62956787 Apiwise V.O.F. V.O.F. 2015/04/01 Kronenburgersingel 49, 6511AL, Nijmegen
Linking datasets
Cadastre (Land Register)
Number Street Number Postcode Place Value Surface Function
12345 Kronenburgersingel 49 6511AL Nijmegen € 100.000 65m² Living
Bank
Account CoC Contact Balance
54.31.23.650 62956787 D. van Hees € 100
Chamber of Commerce
Number Official name Type Founded Cadastre
62956787 Apiwise V.O.F. V.O.F. 2015/04/01 12345
Linking datasets
Cadastre (Land Register)
Number Street Number Postcode Place Value Surface Function
12345 Kronenburgersingel 49 6511AL Nijmegen € 100.000 65m² Living
Bank
Contact CoC LinkedIn Facebook
D. van Hees 62956787 dimitrivanhees dvanhees
CoC
Number Cadastre
62956787 12345
20106830 67890
Cadastre
Street Place
Kronenburgersingel Nijmegen
Wilhelminapark Tilburg
Facebook
Residence Places Sports
Nijmegen Tilburg Football
LinkedIn
Company Birthplace School
Apiwise,
Freshheads
Nijmegen Tilburg University
Bank
Contact CoC LinkedIn Facebook
D. van Hees 62956787 dimitrivanhees dvanhees
CoC
Number Cadastre
62956787 12345
20106830 67890
Cadastre
Street Place
Kronenburgersingel Nijmegen
Wilhelminapark Tilburg
Facebook
Residence Places Sports
Nijmegen Tilburg Football
LinkedIn
Company Birthplace School
Apiwise,
Freshheads
Nijmegen Tilburg University
Open Data
Location Province Avg. income Inhabitants
Nijmegen Gelderland € 12.600 168.840
Tilburg Noord-Brabant € 13.900 191.275
Open Data
Location Founded Rector
Tilburg 1927 P. Eijlander
Open Data
Category Type
Ball sport Team
Query for people who:
• Live in a city with more than 170.000
inhabitants
• Like team sports and went to a school that
was founded before 1930
• Are connected to a V.O.F. company from
Gelderland with a negative balance
• Like ball games and own an office larger than
150m² in a place where the average value is
less than € 200.000
“Linked Data makes it possible to get
new insights in data which were
technically impossible in the past. It’s
up to marketing people to come up
with challenging queries.”
“That’s awesome!”
But… I want APIs…
Five stars of Sir Tim Berners-Lee
★
“Make your stuff available on the
Web (whatever format) under an
open license”
★ ★
“Make it available as structured
data (e.g., Excel instead of image
scan of a table)”
★ ★ ★
“Use non-proprietary formats
(e.g., CSV instead of Excel)”
★ ★ ★ ★
“Use URIs to denote things, so
that people can point at your
stuff (RDF)”
★ ★ ★ ★ ★
“Link your data to other data to
provide context (Linked Data)”
Data landscape
• Data consumers
• Data publishers
• Open Data community
• API community
• Linked Data community
Data consumers
• Provide us the developer-friendliest way to access your
data and we MIGHT use it
Data publishers
• HOW should we publish our data?
• What are the COSTS of doing it that way?
• What are the BENEFITS of doing it that way?
Open Data community
• We don’t care HOW the data is published
• We only care IF the data is open
API community
• Every publisher SHOULD provide RESTful JSON APIs
• Because every consumer KNOWS RESTful JSON APIs
• We DON’T believe in Linked Data
Linked Data community
• Every publisher SHOULD provide five star data
• Every consumer SHOULD learn SPARQL*
• So we DON’T need APIs
*Linked Data query language
SPARQL And RDF Query Language
?S ?O?P
All Endpoint attendees
?S Endpointattends
All events I(’ve) attend(ed)
Dimitri ?Oattends
Basic SPARQL Query
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX type: <http://dbpedia.org/class/yago/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT ?country_name ?population
WHERE {
?country a type:LandlockedCountries ;
rdfs:label ?country_name ;
prop:populationEstimate ?population .
FILTER (?population > 15000000) .
}
WTF is SPARQL?
Benefits
According to EU studies the amount of apps being
developed with Linked Open Government Data is
negligible.
https://joinup.ec.europa.eu/sites/default/files/85/31
/25/Study_on_business_models_for_Linked_Open_
Government_Data_BM4LOGD_v1.00.pdf
Costs
• Knowledge investment (unknown technology)
• Technical investment (hosting infrastructure)
• Time investment (change management)
• Low ROI
“The quality of many datasets is
AT MOST three stars”
Five stars of Sir Tim Berners-Lee
Six stars of Dimitri van Hees
★ ★ ★ ★
“Provide online access via
webservices so developers can
use your stuff the way they are
used to (RESTful JSON API)”
★ ★ ★ ★ ★
“Add context to your API so it can be
linked to other datasets, developers
know what the data means and LD
guys can convert it to triples, store it
in triplestores and use SPARQL if they
want to (JSON-LD)”
★ ★ ★ ★ ★ ★
JSON
JSON-LD
Triples
JSON
{
"id": 43274,
"name": "Dimitri van Hees",
“geslacht": "m",
"birthDate": "1984-03-14",
"birthPlace": "Nijmegen",
"facebookLikes": [
69116329538,
272002449634285,
114690771875816
]
}
JSON-LD Context
"@context“: {
"id": "@id",
"name": "http://xmlns.com/foaf/0.1/name",
“geslacht": "http://xmlns.com/foaf/0.1/gender",
"birthDate": "http://schema.org/birthDate",
"birthPlace": "http://dbpedia.org/ontology/birthPlace",
"facebookLike": "http://xmlns.com/foaf/0.1/interest"
}
JSON-LD Context
"@context": {
"foaf": "http://xmlns.com/foaf/0.1/",
"schema": "http://schema.org/",
"dbo": "http://dbpedia.org/ontology/",
"id": "@id",
"name": "foaf:name",
“geslacht": "foaf:gender",
"birthDate": "schema:birthDate",
"birthPlace": "dbo:birthPlace",
"facebookLikes": "foaf:interest"
}
JSON-LD
{
"id": "http://example.com/customers/43274",
"type": "schema:Person",
"name": "Dimitri van Hees",
“geslacht": "m",
"birthDate": "1984-03-14",
"birthPlace": {
"id": "http://dbpedia.org/resource/Nijmegen", "type": "schema:City"
},
"facebookLikes": [
{ "id": "http://graph.facebook.com/69116329538", "type": "schema:MusicGroup“ },
{ "id": "http://graph.facebook.com/272002449634285", "type": "schema:TVSeries“ },
{ "id": "http://graph.facebook.com/114690771875816", "type": "schema:City“ }
]
}
Mapping through semantic APIs
API
Den Haag
The Hague
‘s-Gravenhage
http://dbpedia.org/resource/The_Hague
JSON-LD
{
"id": "http://example.com/customers/43274",
"type": "schema:Person",
"name": "Dimitri van Hees",
“geslacht": "m",
"birthDate": "1984-03-14",
"birthPlace": {
"id": "http://dbpedia.org/resource/Nijmegen", "type": "schema:City"
},
"facebookLikes": [
{ "id": "http://dbpedia.org/resource/The_Beatles", "type": "schema:MusicGroup“ },
{ "id": "http://dbpedia.org/resource/Monty_Python", "type": "schema:TVSeries“ },
{ "id": "http://dbpedia.org/resource/Nijmegen", "type": "schema:City“ }
]
}
JsonLd2RDF()
And there’s your Linked Data!
Step 1: JSON support
Step 2: JSON-LD support
Step 3: Triples support
Triplestore: Allegrograph
• Database for triples
• Free up to 5.000.000 triples
• SPARQL 1.1 support
• REST API
• Local installation (privacy)
★ ★ ★ ★ ★ ★
One more thing!
It gets even better…
Data Information
Property Value
id AB-01-CD
type ?
brand AUDI
kleur ROOD
A?2JKs=- 1932
application/json
Property Value
id rdw.nl/AB-01-CD
rdf:type schema.org/Car
schema.org/brand dbpedia.org/Audi
schema.org/color dbpedia.org/Red
dbpedia.org/foundingYear 1932
application/ld+json
Structured Data
Gmail
Siri, Cortana, Now
Separation of concerns
• It’s all about conversion
• A website is just another representation of
information
• People WILL skip the restaurant’s website if they’re
hungry and can get food by just yelling HUNGRY at
their mobile phone
• Publish information instead of data!
“The Semantic Web does exist and goes hand
in hand with APIs. Using six stars instead of
five, APIs are part of the deployment scheme
while making live easier for both data
publishers and consumers. Let’s bridge the
gap, bring the best of both worlds, and let’s
change the web together by publishing
information instead of data.”
Thank you!
• Twitter: @dvh
• E-mail: dimitri@apiwise.nl
• LinkedIn: linkedin.com/in/dimitrivanhees
• GitHub: github.com/dvh
• PostcodeAPI: github.com/apiwise/postcodeapi
• Apiranto: github.com/apiwise/apiranto
Thank you!
• Twitter: @dvh
• E-mail: dimitri@apiwise.nl
• LinkedIn: linkedin.com/in/dimitrivanhees
• GitHub: github.com/dvh
• PostcodeAPI: github.com/apiwise/postcodeapi
• Apiranto: github.com/apiwise/apiranto
• Brewery: www.brouwtoren.nlAd

Weitere ähnliche Inhalte

Was ist angesagt?

ISWC 2014 - Dandelion: from raw data to dataGEMs for developers
ISWC 2014 - Dandelion: from raw data to dataGEMs for developersISWC 2014 - Dandelion: from raw data to dataGEMs for developers
ISWC 2014 - Dandelion: from raw data to dataGEMs for developersSpazioDati
 
Intro to Neo4j with Ruby
Intro to Neo4j with RubyIntro to Neo4j with Ruby
Intro to Neo4j with RubyMax De Marzi
 
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open DataMuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data21Style
 
Data Curation @ SpazioDati - NEXA Lunch Seminar
Data Curation @ SpazioDati - NEXA Lunch SeminarData Curation @ SpazioDati - NEXA Lunch Seminar
Data Curation @ SpazioDati - NEXA Lunch SeminarSpazioDati
 
Geschäftliches Potential für System-Integratoren und Berater - Graphdatenban...
Geschäftliches Potential für System-Integratoren und Berater -  Graphdatenban...Geschäftliches Potential für System-Integratoren und Berater -  Graphdatenban...
Geschäftliches Potential für System-Integratoren und Berater - Graphdatenban...Neo4j
 
Intro to Cypher
Intro to CypherIntro to Cypher
Intro to CypherNeo4j
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic websiteCJ Jenkins
 
RDF Data Quality Assessment - connecting the pieces
RDF Data Quality Assessment - connecting the piecesRDF Data Quality Assessment - connecting the pieces
RDF Data Quality Assessment - connecting the piecesConnected Data World
 
Let your data shine... with OpenRefine
Let your data shine... with OpenRefineLet your data shine... with OpenRefine
Let your data shine... with OpenRefineOpen Knowledge Belgium
 
Semantically Enabled Personal Information Management with Cluug.com
Semantically Enabled Personal Information Management with Cluug.comSemantically Enabled Personal Information Management with Cluug.com
Semantically Enabled Personal Information Management with Cluug.comBernhard Schandl
 
Text analytics for Google Spreadsheets using Text Mining add-on
Text analytics for Google Spreadsheets using Text Mining add-on Text analytics for Google Spreadsheets using Text Mining add-on
Text analytics for Google Spreadsheets using Text Mining add-on SpazioDati
 
Schneller Nutzen mit Neo4j: das Beispiel Panama Papers
Schneller Nutzen mit Neo4j: das Beispiel Panama PapersSchneller Nutzen mit Neo4j: das Beispiel Panama Papers
Schneller Nutzen mit Neo4j: das Beispiel Panama PapersNeo4j
 
(PROJEKTURA) Big Data Open Data story for TGG
(PROJEKTURA) Big Data Open Data story for TGG(PROJEKTURA) Big Data Open Data story for TGG
(PROJEKTURA) Big Data Open Data story for TGGRatko Mutavdzic
 
GraphConnect 2014 SF: From Zero to Graph in 120: Model
GraphConnect 2014 SF: From Zero to Graph in 120: ModelGraphConnect 2014 SF: From Zero to Graph in 120: Model
GraphConnect 2014 SF: From Zero to Graph in 120: ModelNeo4j
 
Linked Open Data at SAAM: Past, Present, and Future
Linked Open Data at SAAM: Past, Present, and FutureLinked Open Data at SAAM: Past, Present, and Future
Linked Open Data at SAAM: Past, Present, and FutureSara Snyder
 
NTEN Webinar - Data Cleaning and Visualization Tools for Nonprofits
NTEN Webinar - Data Cleaning and Visualization Tools for NonprofitsNTEN Webinar - Data Cleaning and Visualization Tools for Nonprofits
NTEN Webinar - Data Cleaning and Visualization Tools for NonprofitsAzavea
 
Library Mashups & APIs
Library Mashups & APIsLibrary Mashups & APIs
Library Mashups & APIslibrarywebchic
 
S4: The Self-Service Semantic Suite
S4: The Self-Service Semantic SuiteS4: The Self-Service Semantic Suite
S4: The Self-Service Semantic SuiteMarin Dimitrov
 

Was ist angesagt? (20)

ISWC 2014 - Dandelion: from raw data to dataGEMs for developers
ISWC 2014 - Dandelion: from raw data to dataGEMs for developersISWC 2014 - Dandelion: from raw data to dataGEMs for developers
ISWC 2014 - Dandelion: from raw data to dataGEMs for developers
 
Intro to Neo4j with Ruby
Intro to Neo4j with RubyIntro to Neo4j with Ruby
Intro to Neo4j with Ruby
 
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open DataMuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
 
Data Curation @ SpazioDati - NEXA Lunch Seminar
Data Curation @ SpazioDati - NEXA Lunch SeminarData Curation @ SpazioDati - NEXA Lunch Seminar
Data Curation @ SpazioDati - NEXA Lunch Seminar
 
Geschäftliches Potential für System-Integratoren und Berater - Graphdatenban...
Geschäftliches Potential für System-Integratoren und Berater -  Graphdatenban...Geschäftliches Potential für System-Integratoren und Berater -  Graphdatenban...
Geschäftliches Potential für System-Integratoren und Berater - Graphdatenban...
 
Intro to Cypher
Intro to CypherIntro to Cypher
Intro to Cypher
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic website
 
RDF Data Quality Assessment - connecting the pieces
RDF Data Quality Assessment - connecting the piecesRDF Data Quality Assessment - connecting the pieces
RDF Data Quality Assessment - connecting the pieces
 
Let your data shine... with OpenRefine
Let your data shine... with OpenRefineLet your data shine... with OpenRefine
Let your data shine... with OpenRefine
 
Follow the stars 25/11/2011
Follow the stars 25/11/2011Follow the stars 25/11/2011
Follow the stars 25/11/2011
 
Semantically Enabled Personal Information Management with Cluug.com
Semantically Enabled Personal Information Management with Cluug.comSemantically Enabled Personal Information Management with Cluug.com
Semantically Enabled Personal Information Management with Cluug.com
 
Text analytics for Google Spreadsheets using Text Mining add-on
Text analytics for Google Spreadsheets using Text Mining add-on Text analytics for Google Spreadsheets using Text Mining add-on
Text analytics for Google Spreadsheets using Text Mining add-on
 
INEGI ESS big data workshop
INEGI ESS big data workshopINEGI ESS big data workshop
INEGI ESS big data workshop
 
Schneller Nutzen mit Neo4j: das Beispiel Panama Papers
Schneller Nutzen mit Neo4j: das Beispiel Panama PapersSchneller Nutzen mit Neo4j: das Beispiel Panama Papers
Schneller Nutzen mit Neo4j: das Beispiel Panama Papers
 
(PROJEKTURA) Big Data Open Data story for TGG
(PROJEKTURA) Big Data Open Data story for TGG(PROJEKTURA) Big Data Open Data story for TGG
(PROJEKTURA) Big Data Open Data story for TGG
 
GraphConnect 2014 SF: From Zero to Graph in 120: Model
GraphConnect 2014 SF: From Zero to Graph in 120: ModelGraphConnect 2014 SF: From Zero to Graph in 120: Model
GraphConnect 2014 SF: From Zero to Graph in 120: Model
 
Linked Open Data at SAAM: Past, Present, and Future
Linked Open Data at SAAM: Past, Present, and FutureLinked Open Data at SAAM: Past, Present, and Future
Linked Open Data at SAAM: Past, Present, and Future
 
NTEN Webinar - Data Cleaning and Visualization Tools for Nonprofits
NTEN Webinar - Data Cleaning and Visualization Tools for NonprofitsNTEN Webinar - Data Cleaning and Visualization Tools for Nonprofits
NTEN Webinar - Data Cleaning and Visualization Tools for Nonprofits
 
Library Mashups & APIs
Library Mashups & APIsLibrary Mashups & APIs
Library Mashups & APIs
 
S4: The Self-Service Semantic Suite
S4: The Self-Service Semantic SuiteS4: The Self-Service Semantic Suite
S4: The Self-Service Semantic Suite
 

Andere mochten auch

RDF: what and why plus a SPARQL tutorial
RDF: what and why plus a SPARQL tutorialRDF: what and why plus a SPARQL tutorial
RDF: what and why plus a SPARQL tutorialJerven Bolleman
 
Data analytics to support awareness and recommendation
Data analytics to support awareness and recommendationData analytics to support awareness and recommendation
Data analytics to support awareness and recommendationKatrien Verbert
 
WebTech Tutorial Querying DBPedia
WebTech Tutorial Querying DBPediaWebTech Tutorial Querying DBPedia
WebTech Tutorial Querying DBPediaKatrien Verbert
 
DBpedia Tutorial - Feb 2015, Dublin
DBpedia Tutorial - Feb 2015, DublinDBpedia Tutorial - Feb 2015, Dublin
DBpedia Tutorial - Feb 2015, Dublinm_ackermann
 
Querying Linked Data with SPARQL
Querying Linked Data with SPARQLQuerying Linked Data with SPARQL
Querying Linked Data with SPARQLOlaf Hartig
 

Andere mochten auch (6)

RDF: what and why plus a SPARQL tutorial
RDF: what and why plus a SPARQL tutorialRDF: what and why plus a SPARQL tutorial
RDF: what and why plus a SPARQL tutorial
 
Inaugural lecture
Inaugural lectureInaugural lecture
Inaugural lecture
 
Data analytics to support awareness and recommendation
Data analytics to support awareness and recommendationData analytics to support awareness and recommendation
Data analytics to support awareness and recommendation
 
WebTech Tutorial Querying DBPedia
WebTech Tutorial Querying DBPediaWebTech Tutorial Querying DBPedia
WebTech Tutorial Querying DBPedia
 
DBpedia Tutorial - Feb 2015, Dublin
DBpedia Tutorial - Feb 2015, DublinDBpedia Tutorial - Feb 2015, Dublin
DBpedia Tutorial - Feb 2015, Dublin
 
Querying Linked Data with SPARQL
Querying Linked Data with SPARQLQuerying Linked Data with SPARQL
Querying Linked Data with SPARQL
 

Ähnlich wie APIs and the Semantic Web: publishing information instead of data

APIs and Linked Data: A match made in Heaven
APIs and Linked Data: A match made in HeavenAPIs and Linked Data: A match made in Heaven
APIs and Linked Data: A match made in HeavenMichael Petychakis
 
Thwart Fraud Using Graph-Enhanced Machine Learning and AI
Thwart Fraud Using Graph-Enhanced Machine Learning and AIThwart Fraud Using Graph-Enhanced Machine Learning and AI
Thwart Fraud Using Graph-Enhanced Machine Learning and AINeo4j
 
Linked opendata parisemantique.fr - 24062011
Linked opendata   parisemantique.fr - 24062011Linked opendata   parisemantique.fr - 24062011
Linked opendata parisemantique.fr - 24062011Loïc Dias Da Silva
 
Connected data meetup group - introduction & scope
Connected data meetup group - introduction & scopeConnected data meetup group - introduction & scope
Connected data meetup group - introduction & scopeConnected Data World
 
#opentourism - Linked Open Data Publishing and Discovery Workshop
#opentourism - Linked Open Data Publishing and Discovery Workshop#opentourism - Linked Open Data Publishing and Discovery Workshop
#opentourism - Linked Open Data Publishing and Discovery WorkshopRaf Buyle
 
IFLA LIDASIG Open Session 2017: Introduction to Linked Data
IFLA LIDASIG Open Session 2017: Introduction to Linked DataIFLA LIDASIG Open Session 2017: Introduction to Linked Data
IFLA LIDASIG Open Session 2017: Introduction to Linked DataLars G. Svensson
 
Intro to Neo4j and Graph Databases
Intro to Neo4j and Graph DatabasesIntro to Neo4j and Graph Databases
Intro to Neo4j and Graph DatabasesNeo4j
 
What do we want computers to do for us?
What do we want computers to do for us? What do we want computers to do for us?
What do we want computers to do for us? Andrea Volpini
 
Linked Data (1st Linked Data Meetup Malmö)
Linked Data (1st Linked Data Meetup Malmö)Linked Data (1st Linked Data Meetup Malmö)
Linked Data (1st Linked Data Meetup Malmö)Anja Jentzsch
 
Data Culture Series - Keynote & Panel - Birmingham - 8th April 2015
Data Culture Series  - Keynote & Panel - Birmingham - 8th April 2015Data Culture Series  - Keynote & Panel - Birmingham - 8th April 2015
Data Culture Series - Keynote & Panel - Birmingham - 8th April 2015Jonathan Woodward
 
Making Use of the Linked Open Data Services for OpenAIRE (DI4R 2016 tutorial ...
Making Use of the Linked Open Data Services for OpenAIRE (DI4R 2016 tutorial ...Making Use of the Linked Open Data Services for OpenAIRE (DI4R 2016 tutorial ...
Making Use of the Linked Open Data Services for OpenAIRE (DI4R 2016 tutorial ...OpenAIRE
 
The Europeana Strategy and Linked Open Data
The Europeana Strategy and Linked Open DataThe Europeana Strategy and Linked Open Data
The Europeana Strategy and Linked Open DataDavid Haskiya
 
Methodological Guidelines for Publishing Linked Data
Methodological Guidelines for Publishing Linked DataMethodological Guidelines for Publishing Linked Data
Methodological Guidelines for Publishing Linked DataBoris Villazón-Terrazas
 
Working With Facebook, Twitter, et al. - Social Media Camp
Working With Facebook, Twitter, et al. - Social Media CampWorking With Facebook, Twitter, et al. - Social Media Camp
Working With Facebook, Twitter, et al. - Social Media CampMike Anderson
 
Ordering the chaos: Creating websites with imperfect data
Ordering the chaos: Creating websites with imperfect dataOrdering the chaos: Creating websites with imperfect data
Ordering the chaos: Creating websites with imperfect dataAndy Stretton
 
FIWARE Wednesday Webinars - Introduction to NGSI-LD
FIWARE Wednesday Webinars - Introduction to NGSI-LDFIWARE Wednesday Webinars - Introduction to NGSI-LD
FIWARE Wednesday Webinars - Introduction to NGSI-LDFIWARE
 

Ähnlich wie APIs and the Semantic Web: publishing information instead of data (20)

Weaving a Web of Linked Data - September 26th, 2019
Weaving a Web of Linked Data - September 26th, 2019Weaving a Web of Linked Data - September 26th, 2019
Weaving a Web of Linked Data - September 26th, 2019
 
APIs and Linked Data: A match made in Heaven
APIs and Linked Data: A match made in HeavenAPIs and Linked Data: A match made in Heaven
APIs and Linked Data: A match made in Heaven
 
Linked Open Data
Linked Open DataLinked Open Data
Linked Open Data
 
Thwart Fraud Using Graph-Enhanced Machine Learning and AI
Thwart Fraud Using Graph-Enhanced Machine Learning and AIThwart Fraud Using Graph-Enhanced Machine Learning and AI
Thwart Fraud Using Graph-Enhanced Machine Learning and AI
 
Linked opendata parisemantique.fr - 24062011
Linked opendata   parisemantique.fr - 24062011Linked opendata   parisemantique.fr - 24062011
Linked opendata parisemantique.fr - 24062011
 
Connected data meetup group - introduction & scope
Connected data meetup group - introduction & scopeConnected data meetup group - introduction & scope
Connected data meetup group - introduction & scope
 
#opentourism - Linked Open Data Publishing and Discovery Workshop
#opentourism - Linked Open Data Publishing and Discovery Workshop#opentourism - Linked Open Data Publishing and Discovery Workshop
#opentourism - Linked Open Data Publishing and Discovery Workshop
 
20140521 sem-tech-biz-guest-lecture
20140521 sem-tech-biz-guest-lecture20140521 sem-tech-biz-guest-lecture
20140521 sem-tech-biz-guest-lecture
 
IFLA LIDASIG Open Session 2017: Introduction to Linked Data
IFLA LIDASIG Open Session 2017: Introduction to Linked DataIFLA LIDASIG Open Session 2017: Introduction to Linked Data
IFLA LIDASIG Open Session 2017: Introduction to Linked Data
 
Intro to Neo4j and Graph Databases
Intro to Neo4j and Graph DatabasesIntro to Neo4j and Graph Databases
Intro to Neo4j and Graph Databases
 
What do we want computers to do for us?
What do we want computers to do for us? What do we want computers to do for us?
What do we want computers to do for us?
 
Linked Data (1st Linked Data Meetup Malmö)
Linked Data (1st Linked Data Meetup Malmö)Linked Data (1st Linked Data Meetup Malmö)
Linked Data (1st Linked Data Meetup Malmö)
 
Data Culture Series - Keynote & Panel - Birmingham - 8th April 2015
Data Culture Series  - Keynote & Panel - Birmingham - 8th April 2015Data Culture Series  - Keynote & Panel - Birmingham - 8th April 2015
Data Culture Series - Keynote & Panel - Birmingham - 8th April 2015
 
Making Use of the Linked Open Data Services for OpenAIRE (DI4R 2016 tutorial ...
Making Use of the Linked Open Data Services for OpenAIRE (DI4R 2016 tutorial ...Making Use of the Linked Open Data Services for OpenAIRE (DI4R 2016 tutorial ...
Making Use of the Linked Open Data Services for OpenAIRE (DI4R 2016 tutorial ...
 
The Europeana Strategy and Linked Open Data
The Europeana Strategy and Linked Open DataThe Europeana Strategy and Linked Open Data
The Europeana Strategy and Linked Open Data
 
Methodological Guidelines for Publishing Linked Data
Methodological Guidelines for Publishing Linked DataMethodological Guidelines for Publishing Linked Data
Methodological Guidelines for Publishing Linked Data
 
Working With Facebook, Twitter, et al. - Social Media Camp
Working With Facebook, Twitter, et al. - Social Media CampWorking With Facebook, Twitter, et al. - Social Media Camp
Working With Facebook, Twitter, et al. - Social Media Camp
 
Semantics and Machine Learning
Semantics and Machine LearningSemantics and Machine Learning
Semantics and Machine Learning
 
Ordering the chaos: Creating websites with imperfect data
Ordering the chaos: Creating websites with imperfect dataOrdering the chaos: Creating websites with imperfect data
Ordering the chaos: Creating websites with imperfect data
 
FIWARE Wednesday Webinars - Introduction to NGSI-LD
FIWARE Wednesday Webinars - Introduction to NGSI-LDFIWARE Wednesday Webinars - Introduction to NGSI-LD
FIWARE Wednesday Webinars - Introduction to NGSI-LD
 

Kürzlich hochgeladen

RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queensdataanalyticsqueen03
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...limedy534
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Colleen Farrelly
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhijennyeacort
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSINGmarianagonzalez07
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
Defining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryDefining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryJeremy Anderson
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectBoston Institute of Analytics
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 

Kürzlich hochgeladen (20)

RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queens
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
Defining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryDefining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data Story
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis Project
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 

APIs and the Semantic Web: publishing information instead of data

  • 1. APIs and the Semantic Web Publishing information instead of data
  • 2. About me • Data Specialist • API First fanatic • Co-Founder Apiwise • Ex-Freshheads • PostcodeAPI.nu • Apiranto Docs
  • 3. About me “The only bad thing about API is that it’s the inverse of IPA”
  • 4. About me • Brewmaster • MQTT API driven brewery “De Brouwtoren” • Crowdfunding starting next week (hint!)
  • 5. 0641011744 • Registration number • Flight number • Bank account • Mobile phone number
  • 7. “0641011744” Now it’s a meaningless string!
  • 9. Semantics • Context • Meaning • Vocabularies & Ontologies
  • 10. Vocabularies • Schema.org • FOAF (Friend-Of-A-Friend): VCard • XSD (XML Schema Definition Language)
  • 11. Linked Data • Alias The Semantic Web, Web 3.0 • Defines what data means • Queries across multiple datasets • Provides links to external resources
  • 20. URIs Subject Predicate Object dimitrivanhees.com schema.org/worksFor apiwise.nl dimitrivanhees.com schema.org/attends endpointcon.com endpointcon.com schema.org/location dbpedia.org/Amsterdam* apiwise.nl schema.org/foundingLocation dbpedia.org/Tilburg dbpedia.org/Tilburg dbpedia.org/ontology/country dbpedia.org/Netherlands dbpedia.org/Amsterdam dbpedia.org/ontology/capital dbpedia.org/Netherlands *Real DBPedia URL: http://dbpedia.org/resource/Amsterdam
  • 21. DBPedia.org • Wikipedia as a Linked Open Dataset • http://dbpedia.org/resource/Amsterdam
  • 22. Bank Account Name CoC Contact Address PC City Balance 54.31.23.650 Apiwise 62956787 D. van Hees Kronenburgersingel 49 6511AL Nijmegen € 100 Cadastre (Land Register) Number Street Number Postcode Place Value Surface Function 12345 Kronenburgersingel 49 6511AL Nijmegen € 100.000 65m² Living Chamber of Commerce Number Official name Type Founded Address 62956787 Apiwise V.O.F. V.O.F. 2015/04/01 Kronenburgersingel 49, 6511AL, Nijmegen Linking datasets
  • 23. Bank Account Name CoC Contact Address PC City Balance 54.31.23.650 Apiwise 62956787 D. van Hees Kronenburgersingel 49 6511AL Nijmegen € 100 Chamber of Commerce Number Official name Type Founded Address 62956787 Apiwise V.O.F. V.O.F. 2015/04/01 Kronenburgersingel 49, 6511AL, Nijmegen Linking datasets Cadastre (Land Register) Number Street Number Postcode Place Value Surface Function 12345 Kronenburgersingel 49 6511AL Nijmegen € 100.000 65m² Living
  • 24. Bank Account CoC Contact Balance 54.31.23.650 62956787 D. van Hees € 100 Chamber of Commerce Number Official name Type Founded Cadastre 62956787 Apiwise V.O.F. V.O.F. 2015/04/01 12345 Linking datasets Cadastre (Land Register) Number Street Number Postcode Place Value Surface Function 12345 Kronenburgersingel 49 6511AL Nijmegen € 100.000 65m² Living
  • 25. Bank Contact CoC LinkedIn Facebook D. van Hees 62956787 dimitrivanhees dvanhees CoC Number Cadastre 62956787 12345 20106830 67890 Cadastre Street Place Kronenburgersingel Nijmegen Wilhelminapark Tilburg Facebook Residence Places Sports Nijmegen Tilburg Football LinkedIn Company Birthplace School Apiwise, Freshheads Nijmegen Tilburg University
  • 26. Bank Contact CoC LinkedIn Facebook D. van Hees 62956787 dimitrivanhees dvanhees CoC Number Cadastre 62956787 12345 20106830 67890 Cadastre Street Place Kronenburgersingel Nijmegen Wilhelminapark Tilburg Facebook Residence Places Sports Nijmegen Tilburg Football LinkedIn Company Birthplace School Apiwise, Freshheads Nijmegen Tilburg University Open Data Location Province Avg. income Inhabitants Nijmegen Gelderland € 12.600 168.840 Tilburg Noord-Brabant € 13.900 191.275 Open Data Location Founded Rector Tilburg 1927 P. Eijlander Open Data Category Type Ball sport Team
  • 27. Query for people who: • Live in a city with more than 170.000 inhabitants • Like team sports and went to a school that was founded before 1930 • Are connected to a V.O.F. company from Gelderland with a negative balance • Like ball games and own an office larger than 150m² in a place where the average value is less than € 200.000
  • 28. “Linked Data makes it possible to get new insights in data which were technically impossible in the past. It’s up to marketing people to come up with challenging queries.”
  • 30. Five stars of Sir Tim Berners-Lee
  • 31. ★ “Make your stuff available on the Web (whatever format) under an open license”
  • 32. ★ ★ “Make it available as structured data (e.g., Excel instead of image scan of a table)”
  • 33. ★ ★ ★ “Use non-proprietary formats (e.g., CSV instead of Excel)”
  • 34. ★ ★ ★ ★ “Use URIs to denote things, so that people can point at your stuff (RDF)”
  • 35. ★ ★ ★ ★ ★ “Link your data to other data to provide context (Linked Data)”
  • 36. Data landscape • Data consumers • Data publishers • Open Data community • API community • Linked Data community
  • 37. Data consumers • Provide us the developer-friendliest way to access your data and we MIGHT use it
  • 38. Data publishers • HOW should we publish our data? • What are the COSTS of doing it that way? • What are the BENEFITS of doing it that way?
  • 39. Open Data community • We don’t care HOW the data is published • We only care IF the data is open
  • 40. API community • Every publisher SHOULD provide RESTful JSON APIs • Because every consumer KNOWS RESTful JSON APIs • We DON’T believe in Linked Data
  • 41. Linked Data community • Every publisher SHOULD provide five star data • Every consumer SHOULD learn SPARQL* • So we DON’T need APIs *Linked Data query language
  • 42. SPARQL And RDF Query Language ?S ?O?P
  • 43. All Endpoint attendees ?S Endpointattends
  • 44. All events I(’ve) attend(ed) Dimitri ?Oattends
  • 45. Basic SPARQL Query PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX type: <http://dbpedia.org/class/yago/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?country_name ?population WHERE { ?country a type:LandlockedCountries ; rdfs:label ?country_name ; prop:populationEstimate ?population . FILTER (?population > 15000000) . }
  • 47. Benefits According to EU studies the amount of apps being developed with Linked Open Government Data is negligible. https://joinup.ec.europa.eu/sites/default/files/85/31 /25/Study_on_business_models_for_Linked_Open_ Government_Data_BM4LOGD_v1.00.pdf
  • 48. Costs • Knowledge investment (unknown technology) • Technical investment (hosting infrastructure) • Time investment (change management) • Low ROI
  • 49. “The quality of many datasets is AT MOST three stars”
  • 50. Five stars of Sir Tim Berners-Lee
  • 51. Six stars of Dimitri van Hees
  • 52. ★ ★ ★ ★ “Provide online access via webservices so developers can use your stuff the way they are used to (RESTful JSON API)”
  • 53. ★ ★ ★ ★ ★ “Add context to your API so it can be linked to other datasets, developers know what the data means and LD guys can convert it to triples, store it in triplestores and use SPARQL if they want to (JSON-LD)”
  • 54. ★ ★ ★ ★ ★ ★
  • 56. JSON { "id": 43274, "name": "Dimitri van Hees", “geslacht": "m", "birthDate": "1984-03-14", "birthPlace": "Nijmegen", "facebookLikes": [ 69116329538, 272002449634285, 114690771875816 ] }
  • 57. JSON-LD Context "@context“: { "id": "@id", "name": "http://xmlns.com/foaf/0.1/name", “geslacht": "http://xmlns.com/foaf/0.1/gender", "birthDate": "http://schema.org/birthDate", "birthPlace": "http://dbpedia.org/ontology/birthPlace", "facebookLike": "http://xmlns.com/foaf/0.1/interest" }
  • 58. JSON-LD Context "@context": { "foaf": "http://xmlns.com/foaf/0.1/", "schema": "http://schema.org/", "dbo": "http://dbpedia.org/ontology/", "id": "@id", "name": "foaf:name", “geslacht": "foaf:gender", "birthDate": "schema:birthDate", "birthPlace": "dbo:birthPlace", "facebookLikes": "foaf:interest" }
  • 59. JSON-LD { "id": "http://example.com/customers/43274", "type": "schema:Person", "name": "Dimitri van Hees", “geslacht": "m", "birthDate": "1984-03-14", "birthPlace": { "id": "http://dbpedia.org/resource/Nijmegen", "type": "schema:City" }, "facebookLikes": [ { "id": "http://graph.facebook.com/69116329538", "type": "schema:MusicGroup“ }, { "id": "http://graph.facebook.com/272002449634285", "type": "schema:TVSeries“ }, { "id": "http://graph.facebook.com/114690771875816", "type": "schema:City“ } ] }
  • 60. Mapping through semantic APIs API Den Haag The Hague ‘s-Gravenhage http://dbpedia.org/resource/The_Hague
  • 61. JSON-LD { "id": "http://example.com/customers/43274", "type": "schema:Person", "name": "Dimitri van Hees", “geslacht": "m", "birthDate": "1984-03-14", "birthPlace": { "id": "http://dbpedia.org/resource/Nijmegen", "type": "schema:City" }, "facebookLikes": [ { "id": "http://dbpedia.org/resource/The_Beatles", "type": "schema:MusicGroup“ }, { "id": "http://dbpedia.org/resource/Monty_Python", "type": "schema:TVSeries“ }, { "id": "http://dbpedia.org/resource/Nijmegen", "type": "schema:City“ } ] }
  • 63. Step 1: JSON support
  • 64. Step 2: JSON-LD support
  • 65. Step 3: Triples support
  • 66. Triplestore: Allegrograph • Database for triples • Free up to 5.000.000 triples • SPARQL 1.1 support • REST API • Local installation (privacy)
  • 67.
  • 68. ★ ★ ★ ★ ★ ★
  • 69. One more thing! It gets even better…
  • 70. Data Information Property Value id AB-01-CD type ? brand AUDI kleur ROOD A?2JKs=- 1932 application/json Property Value id rdw.nl/AB-01-CD rdf:type schema.org/Car schema.org/brand dbpedia.org/Audi schema.org/color dbpedia.org/Red dbpedia.org/foundingYear 1932 application/ld+json
  • 72. Gmail
  • 74. Separation of concerns • It’s all about conversion • A website is just another representation of information • People WILL skip the restaurant’s website if they’re hungry and can get food by just yelling HUNGRY at their mobile phone • Publish information instead of data!
  • 75. “The Semantic Web does exist and goes hand in hand with APIs. Using six stars instead of five, APIs are part of the deployment scheme while making live easier for both data publishers and consumers. Let’s bridge the gap, bring the best of both worlds, and let’s change the web together by publishing information instead of data.”
  • 76. Thank you! • Twitter: @dvh • E-mail: dimitri@apiwise.nl • LinkedIn: linkedin.com/in/dimitrivanhees • GitHub: github.com/dvh • PostcodeAPI: github.com/apiwise/postcodeapi • Apiranto: github.com/apiwise/apiranto
  • 77. Thank you! • Twitter: @dvh • E-mail: dimitri@apiwise.nl • LinkedIn: linkedin.com/in/dimitrivanhees • GitHub: github.com/dvh • PostcodeAPI: github.com/apiwise/postcodeapi • Apiranto: github.com/apiwise/apiranto • Brewery: www.brouwtoren.nlAd

Hinweis der Redaktion

  1. We still need human intelligence to interpret the column header
  2. Your API now supports semantics and publishes information instead of data!