Date post: | 07-Jul-2015 |
Category: |
Technology |
Upload: | dimitri-van-hees |
View: | 132 times |
Download: | 1 times |
Linked Data voor developersDimitri van Hees
Even voorstellen
● Technisch Architect● Freshheads BV
Even voorstellen
● Technisch Architect● Freshheads BV● API 'Evangelist'
Vijf sterren van Tim Berners-Lee
Developers vs LOD community
“Wij willen API's
gebruiken”
“Het semantisch
web bestaat niet”
“Wij willen Linked Data
aanbieden”
“API's zijn niet nodig,
we hebben SPARQL”
★
“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)”
SPARQL Endpoints
“WTF is SPARQL?”
Nadelen 4 sterren data
● Kennis investering (onbekende technologie)● Technische investering (infrastructuur)● Moeizame besluitvorming (persistent URI's)● Lage ROI (developers doen er niks mee)
Resultaat
De kwaliteit van de meeste Open Data is maximaal drie sterren
Vijf sterren van Tim Berners-Lee
API First
“The Web 1.0 was readable, the Web 2.0 was social, now the Web is programmable”
Developer-friendly API's
● SOAP REST● XML JSON● Documentatie● Community
★★★★
“Provide online access via webservices so developers can use your stuff the way they are
used to (RESTful JSON API)”
JSON
{AantalCilinders: 5,AantalStaanPlaatsen: null,EersteKleur: "ZWART"BPM: 8020,Merk: "VOLVO",HandelsBenaming: "S60",ZuinigheidsLabel: "C"
}
★★★★★
“Add context to your API so it can be linked to other datasets, developers know what the data means and LOD guys can convert it to triples, store it in Triplestores and use SPARQL if they
want to (JSON-LD)”
JSON-LD
● Official W3C recommendation● 100% JSON, dus makkelijk 'mee te praten'● Backwards compatible● Eenvoudig om te zetten naar triples
{@context: "https://w3id.org/rdw/contexts/vehicles",@id: "",AantalCilinders: 5,AantalStaanPlaatsen: null,EersteKleur: {@id: "rdwv:Black",
label: "Zwart"},BPM: 8020,Merk: { @id: "http://dbpedia.org/resource/Volvo", label: "Volvo"
},HandelsBenaming: { @id: "http://dbpedia.org/resource/Volvo_S60", label: "S60"
},ZuinigheidsLabel: { @id: "rdwv:EfficiencyLabelC", label: "C"
}}
JSON-LD
{@context: "https://w3id.org/rdw/contexts/vehicles",@id: "",AantalCilinders: 5,AantalStaanPlaatsen: null,EersteKleur: {@id: "rdwv:Black",
label: "Zwart"},BPM: 8020,Merk: { @id: "http://dbpedia.org/resource/Volvo", label: "Volvo"
},HandelsBenaming: { @id: "http://dbpedia.org/resource/Volvo_S60", label: "S60"
},ZuinigheidsLabel: { @id: "rdwv:EfficiencyLabelC", label: "C"
}}
JSON-LD
Zes sterren van Dimitri van Hees
★ Online en zonder barrières toegankelijk (PDF)
★★ Gestructureerd formaat (Excel)
★★★ Open gestructureerd formaat (CSV)
★★★★ Webservice (JSON API)
★★★★★ Webservice met context (JSON-LD API)
★★★★★★ Bevraagbaar met SPARQL (RDF)
Dank voor uw aandacht!
Dimitri van HeesFreshheads@dvh / [email protected]
John WalkerSemaku@wohnjalker / [email protected]
Special thanks to: