Very Gentle Linked Data Workshop
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Very Gentle Linked Data Workshop

on

  • 2,530 views

A 4 hour hands on linked data workshop held at ELAG 2013 - http://elag2013.org/ws2-very-gentle-linked-data/. Resources at http://data.archiveshub.ac.uk/workshops/elag2013/

A 4 hour hands on linked data workshop held at ELAG 2013 - http://elag2013.org/ws2-very-gentle-linked-data/. Resources at http://data.archiveshub.ac.uk/workshops/elag2013/



Statistics

Views

Total Views
2,530
Views on SlideShare
2,237
Embed Views
293

Actions

Likes
4
Downloads
6
Comments
0

2 Embeds 293

http://data.archiveshub.ac.uk 292
http://elag2013.org 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Has been described as a ‘data commons’, or more usually a Web of Data.
  • http://www.w3.org/DesignIssues/LinkedData.html
  • Note these are now abstracted from the particular instances
  • Mock-up of the LInking Lives interface shows the way data is brought together.

Very Gentle Linked Data Workshop Presentation Transcript

  • 1. ELAG 2013 Workshop. Ghent, 29–30th May2013Adrian Stevenson and Jane StevensonMimas, University of Manchester, UK@adrianstevenson @janestevensonVery Gentle Linked Data
  • 2. Workshop Resources• All workshop resources available from:http://bit.ly/verygentle• Web address for resources in footer of eachslideWorkshop resources at http://bit.ly/verygentle 2
  • 3. Day 1Workshop resources at http://bit.ly/verygentle 3
  • 4. The goal of Linked Data is toenable people to sharestructured data on the Webas easily as they can sharedocuments today.Bizer/Cyganiak/Heath Linked Data Tutorial, linkeddata.org
  • 5. RDF Modelling – Pride and PrejudiceWorkshop resources at http://bit.ly/verygentle 5
  • 6. Linked Data Design Issues• URIs• LD Design Issues• Tripleshttp://www.w3.org/DesignIssues/LinkedData.html
  • 7. Triples• Triples statements– ‘Things’ have ‘properties’ with ‘values’– Subject – Predicate - Object• Triples are the basis of RDF and LinkedDataArchivalResourceRepository Provides Access ToPride andPrejudiceJane Austen Is Author Of
  • 8. ArchivalResourceFindingAidEADDocumentBiographicalHistoryAgentFamilyPerson PlaceConceptGenre FunctionOrganisationmaintainedBy/maintainsoriginationassociatedWithaccessProvidedBy/providesAccessTotopic/pagehasPart/partOfhasPart/partOfencodedAs/encodesRepository(Agent)BookPlacetopic/pageLanguageLeveladministeredBy/administershasBiogHist/isBiogHistForfoaf:focus Is-a associatedWithlevelIs-alanguageConceptSchemeinSchemeObjectrepresentedByPostcodeUnitExtentCreationBirth Deathextentparticipates inTemporalEntityTemporalEntityat timeat timeproduct ofinArchives Hub Model
  • 9. Workshop resources at http://bit.ly/verygentle 9
  • 10. URIs, Vocabs, Ontologies• Need HTTP URIs for things to make links• Objects can be literal values – text, numbers• It’s important to state the type of resource– RDF Syntax provides rdf:type– Rdf:type used with classes e.g. bibo:Book,– dct:BibliographicResource• Labels are very useful!– RDF Schema provides rdfs:label, rdfs:commentWorkshop resources at http://bit.ly/verygentle 10
  • 11. Paper to machine - Serialisation• Storing RDF in files is serialisation• Various forms for serialisation– N-triples, Turtle and RDF/XML– Notation 3 (N3) and RDFa• Today we’ll be looking at n-triples and Turtle• RDF/XML quite complex and hard to read, buttools available to convert between formatsWorkshop resources at http://bit.ly/verygentle 11
  • 12. Turtle• Semicolon - another predicate and objectcoming for the same subject. The final objectneeds a dot (period) after it.• Comma - the next triple has the same subjectand predicate. The final object needs a dot(period) after it.Workshop resources at http://bit.ly/verygentle 12
  • 13. Hands on session writing n-triples andTurtleWorkshop resources at http://bit.ly/verygentle 13
  • 14. Real Life Linked Data• Transformation– Often using XSLT–MARC to RDF, MODS to RDF, EAD to RDF• Matching Tools– SILK Framework• http://wifo5-03.informatik.uni-mannheim.de/bizer/silk/Workshop resources at http://bit.ly/verygentle 14
  • 15. Day 2Workshop resources at http://bit.ly/verygentle 15
  • 16. Storing RDF - Triple Stores• What? - a store for your triples!• Why? - efficiency – indexing• Useful for producing Linked Data views• Provides SPARQL endpoint that accepts queriesand returns results over HTTP (i.e. the Web!).• Results usually returned in ‘SPARQL QueryResults’ XML format• Many stores present results in user friendly formWorkshop resources at http://bit.ly/verygentle 16
  • 17. Running Fuseki Triple Store• Now we’ll aim to run a Fuseki triple store onyour laptops• If wifi working, all SPARQL examples shouldwork with the British Library SPARQLendpoint:– http://bnb.data.bl.uk/sparql• …BUT! You’ll need to LIMIT your queriesWorkshop resources at http://bit.ly/verygentle 17
  • 18. Querying RDF - SPARQL• A SPARQL query comprises, in order:– Prefix declarations, for abbreviating URIs– A result clause, identifying what information toreturn from the query– The query pattern, specifying what to query for inthe underlying dataset– Query modifiers, slicing, ordering, and otherwiserearranging query resultsWorkshop resources at http://bit.ly/verygentle 18
  • 19. SPARQL Query• # prefix declarationsPREFIX dct: <http://purl.org/terms/dc> ...# result clauseSELECT ...# query patternWHERE { ... }# query modifiersORDER BY ...Workshop resources at http://bit.ly/verygentle 19
  • 20. Hands on SPARQL SessionWorkshop resources at http://bit.ly/verygentle 20
  • 21. Linked Data Views• Can use tools to provide Linked Data Views– Pubby• http://wifo5-03.informatik.uni-mannheim.de/pubby/– ELDA• https://code.google.com/p/elda/• Views important for making Linked Data de-referenceable and crawlable.Workshop resources at http://bit.ly/verygentle 21
  • 22. Workshop resources at http://bit.ly/verygentle 22
  • 23. Workshop resources at http://bit.ly/verygentle 23
  • 24. Building Applications on Linked Data• We have explained today how to publish RDFand Linked Data• The next step is to build applications using it• BBC is probably the best example• We’ve been working on Linking Lives project– http://archiveshub.ac.uk/linkinglives/Workshop resources at http://bit.ly/verygentle 24
  • 25. Martha Beatrice WebbPlace of birth:Gloucester, EnglandPlace of death:Liphook, Hampshire, EnglandLife dates: 1858-1943Epithet: social reformer andhistorianFamily name: WebbImagefrom: Beatrice Webb lettersBeatrice Webb (1858 - 1943). Fabian Socialist, social reformer, writer,historian, diarist. Wife, collaborator and assistant of Sidney Webb,later Lord Passfield. Together they contributed to the radical ideologyfirst of the Liberal Party and later of the Labour Party.from: Beatrice Webb, A summer holiday in Scotland, 1884.Beatrice Webb (1858-1943), nee Potter, social reformer and diarist.Married to Sidney Webb, pioneers of social science. She was involvedin many spheres of political and social activity including the LabourParty, Fabianism, social observation, investigations into poverty,development of socialism, the foundation of the National HealthService and post war welfare state, the London School ofBiographical NotesWorksOur PartnershipMy ApprenticeshipThe case for the factory actsBeatrice Webb’s diaries; edited by Margaret ColeThe DiaryKnowshttp://dbpedia.org/page/George_Bernard_Shawhttp://dbpedia.org/page/Sidney_Webb,_1st_Baron_Passfield
  • 26. Contacts26Adrian Stevenson and Jane StevensonMimas, University of Manchester, UKadrian.stevenson@manchester.ac.ukJane.stevenson@manchester.ac.ukwww.mimas.ac.ukwww.twitter.com/adrianstevensonwww.twitter.com/janestevensonWorkshop resources at http://bit.ly/verygentle
  • 27. CC LicenseThis presentation available under creative commons NonCommercial-Share Alike:http://creativecommons.org/licenses/by-nc/2.0/uk/Workshop resources at http://bit.ly/verygentle 27