Linked Data and Tools

  • Published on
    23-Jun-2015

  • View
    220

  • Download
    1

Embed Size (px)

DESCRIPTION

American Art Collaborative Planning Grant Educational Briefings Linked Data and Tools Pedro Szekely - USC/Information Sciences Institute September 30, 2014

Transcript

  • 1. Linked Data and ToolsPedro SzekelyUSC/Information Sciences Institutepszekely@isi.edu, http://isi.edu/~szekelySeptember 2014CC-By 2.0

2. Outline Introduction to linked open data RDF: the Resource Description Framework Tools to convert data to RDF Tools for linking/reconciliation/resolution Storing and maintaining the data ApplicationsPedro Szekely CC-By 2.0 2 3. Pedro SzekelyLinked Open Data!CC-By 2.0 3 4. The Web of DocumentsPedro Szekely CC-By 2.0 4 5. What We SeePedro Szekely CC-By 2.0 5 6. What the Computer SeesblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahPedro Szekely CC-By 2.0 6 7. Problemweb pages are machine processable,but not machine understandableimpractical for building applications using the dataPedro Szekely CC-By 2.0 7 8. Solutionpublish the data as Linked Open DataPedro Szekely CC-By 2.0 8 9. What Is Linked Data?A method of publishing structured dataso that it can be interlinkedand become more usefulBuilds upon standard Web technologiessuch as HTTP and URIsto share informationin a way that can be read automatically by computersfrom WikipediaPedro Szekely CC-By 2.0 9 10. Linked Open DataCrystal BridgesMuseum ofAmerican ArtDallas Museumof ArtIndianapolisMuseumof ArtNational PortraitGalleryThe MetropolitanMuseum of ArtSmithsonian AmericanArt MuseumPedro Szekely CC-By 2.0 10 11. Linked Open DataCrystal BridgesMuseum ofAmerican ArtDallas Museumof Art data is public! in a common format! but we only have islands of data!IndianapolisMuseumof ArtNational PortraitGalleryThe MetropolitanMuseum of ArtSmithsonian AmericanArt MuseumPedro Szekely CC-By 2.0 11 12. Linked Open DataPedro Szekely CC-By 2.0 12 13. Linked Data Principles Use URIs as names for things Use HTTP URIs so that peoplecan look up those names When someone looks up a URI,provide useful information,using the standards (RDF,SPARQL) Include links to other URIs sothat they can discover morethings http://youtu.be/OM6XIICm_qo!http://www.w3.org/DesignIssues/LinkedData.html !Pedro Szekely CC-By 2.0 13 14. Pedro SzekelyPrinciple 1Use URIs as names for thingsPrinciple 2Use HTTP URIs so that people can look up those namesCC-By 2.0 14 15. Can USC Have a URI?Pedro Szekely CC-By 2.0 15 16. http://dbpedia.org/resource/University_of_Southern_CaliforniaPedro Szekely CC-By 2.0 16 17. Can the Pythagoras Theorem Have a URI?Pedro Szekely CC-By 2.0 17 18. http://www.freebase.com/m/05r2jPedro Szekely CC-By 2.0 18 19. My Dog: Can He Have a URI?Pedro Szekely CC-By 2.0 19 20. http://szekelys.com/diegoPedro Szekely CC-By 2.0 20 21. Pedro SzekelyPrinciple 3When someone looks up a URI, provideuseful information, using the standards(RDF*, SPARQL)CC-By 2.0 21 22. Pedro Szekelyhttp://dbpedia.org/resource/University_of_Southern_CaliforniaCC-By 2.0 22 23. Pedro Szekelyhttp://www.freebase.com/m/05r2jCC-By 2.0 23 24. Pedro Szekelyhttp://szekelys.com/diegoPrinciple 3When someone looks up a URI, provideuseful information, using the standards(RDF*, SPARQL) CC-By 2.0 24 25. Pedro SzekelyPrinciple 4Include links to other URIs so that theycan discover more thingsCC-By 2.0 25 26. http://szekelys.com/diego@prefix rdf: .@prefix dbpprop: .@prefix dbpedia: .@prefix dbpedia-owl: .@prefix fb: .http://szekelys.com/diegordf:type Dog ;http://szekelys.com/name Diego" ;dbpedia-owl:species Labrador Retriever ;dbprop:country Canada ;dbprop:color Yellow ;fb:base.petbreeds.dog.gender Male .Linked Data?! Pedro Szekely CC-By 2.0 26 27. http://szekelys.com/diego@prefix rdf: .@prefix dbpprop: .@prefix dbpedia: .@prefix dbpedia-owl: .@prefix fb: .http://szekelys.com/diegordf:type Dog ;http://szekelys.com/name Diego" ;dbpedia-owl:species Labrador Retriever ;dbprop:country Canada ;dbprop:color Yellow ;fb:base.petbreeds.dog.gender Male .Not Linked Data! Pedro Szekely CC-By 2.0 27 28. http://szekelys.com/diego@prefix rdf: .@prefix dbpprop: .@prefix dbpedia: .@prefix dbpedia-owl: .@prefix fb: .http://szekelys.com/diegordf:type dbpedia:Dog;http://szekelys.com/name Diego" ;dbpedia-owl:species dbpedia:Labrador_Retriever ;dbprop:country dbpedia:Canada;dbprop:color dbpedia:Yellow;fb:base.petbreeds.dog.gender fb:en.male.Almost Linked Data! Pedro Szekely CC-By 2.0 28 29. http://szekelys.com/diego@prefix rdf: .@prefix dbpprop: .@prefix dbpedia: .@prefix dbpedia-owl: .@prefix fb: .http://szekelys.com/diegordf:type dbpedia:Dog;http://szekelys.com/name Diego" ;dbpedia-owl:species dbpedia:Labrador_Retriever ;dbprop:country dbpedia:Canada;dbprop:color dbpedia:Yellow;fb:base.petbreeds.dog.gender fb:en.male.Almost Linked Data! Pedro Szekely CC-By 2.0 29 30. http://szekelys.com/diego@prefix rdf: .@prefix dbpprop: .@prefix dbpedia: .@prefix dbpedia-owl: .@prefix fb: .@prefix foaf: .http://szekelys.com/diegofoaf is a widely used ontology!rdf:type dbpedia:Dog;foaf:name Diego" ;dbpedia-owl:species dbpedia:Labrador_Retriever ;dbprop:country dbpedia:Canada;dbprop:color dbpedia:Yellow;fb:base.petbreeds.dog.gender fb:en.male.Linked Data!Pedro Szekely CC-By 2.0 30 31. Pedro SzekelyRDF!CC-By 2.0 31 32. Resource Description FrameworkIntended for representing metadata about Web resources,such as the title, author, and modification dateof a Web document also be used to represent information aboutthings that can be identified on the Web,even when they cannot be directly retrieved on the WebPedro Szekely CC-By 2.0 32 33. Represent Resources Using URIsThat guy has first name Pedroh&p://szekelys.com/family#pedroPedroh&p://xmlns.com/foaf/0.1/firstNamePedro Szekely CC-By 2.0 33 34. Represent Information as Triplesh&p://szekelys.com/family#pedroh&p://xmlns.com/foaf/0.1/firstNameSubject!Predicate!PedroThe resource being describedA property of the resourceObject! The value of the propertyPedro Szekely CC-By 2.0 34 35. Use Namespacesh&p://xmlns.com/foaf/0.1/firstNameh&p://szekelys.com/family#pedroPedrofoaf:firstNameh&p://szekelys.com/family#pedroPedroPedro Szekely CC-By 2.0 35 36. RDF Graphsh&p://szekelys.com/family#pedroPedrofoaf:firstNamefoaf:Personrdf:typefoaf:homepageh&p://isi.edu/~szekelyPedro Szekely CC-By 2.0 36 37. RDF GraphsReal world objects! Kinds of things!h&p://szekelys.com/family#pedroPedrofoaf:firstNamefoaf:Personrdf:typefoaf:homepageh&p://isi.edu/~szekelyLiterals!Properties of things!Pedro Szekely CC-By 2.0 37 38. Mix Vocabulariesh&p://szekelys.com/family#pedroPedrofoaf:Personfoaf:firstNamerdf:typeh&p://isi.edu/~szekelyfoaf:homepageschema:Personrdf:typeschema:spouseh&p://szekelys.com/family#claudiaPedro Szekely CC-By 2.0 38 39. Linked Open DataPedro Szekely CC-By 2.0 39 40. Tools to Convert DataPedro Szekelyto RDF!CC-By 2.0 40 41. Steps to Create Linked Open Data Select ontologies that define classes and properties for our data Convert data to RDF from the museum database to the ontologies Identify links to other Linked Data datasets to other museums and Link Data hubsPedro Szekely CC-By 2.0 41 42. Select ontologies that define classes and properties for our dataCIDOC CRMhttp://www.cidoc-crm.org/Pedro Szekely CC-By 2.0 42 43. Select ontologies that define classes and properties for our data Convert data to RDF from the museum database to the ontologiesPedro SzPeekderlyo Szekely CC-By 2.0 43 44. RDF Mapping ToolsTool Shortcomings Benefitscustomlabor intensive, errorflexiblecodeproneR2RML difficult to learn, onlyfor SQL databasesW3C standard, good documentation,multiple vendorsRDFRefineonly for tabular data graphical user interface, support forreconciliation, open sourceKarma semi-automatic, graphical userinterface, supports tabular data, XMLand JSON, multiple export formats,R2RML compatible, open sourcePedro Szekely CC-By 2.0 44 45. R2RMLAbout 6,550 results!Pedro Szekely CC-By 2.0 45 46. R2RML Example:Table1 rdf:type rr:TriplesMap ;rr:logicalTable "Select ('