580 likes | 745 Views
Linked Data 2: Hvordan David.Massey@jbi.hio.no KoG31 Uke 7, 2012.
E N D
Linked Data 2: Hvordan David.Massey@jbi.hio.no KoG31 Uke 7, 2012
"The Ontology Engineering Group, within the context of its Linked Data projects, is pleased to announce that the datos.bne.es [1] initiative has been launched. datos.bne.es is an open initiative aimed at enriching the Web of Data with library data from the Spanish National Library. The SPARQL endpoint is available at [2].The RDF generation from MARC 21 records was done using our tool MARiMbA [3], which allows non-technical users to work on the mappings from MARC21 metadata to RDF using different RDFS/OWL vocabularies.This initiative is part of the project “Linked data at the BNE”, supported by the BNE in cooperation with the Ontology Engineering Group (OEG) at the Universidad Politécnica de Madrid (UPM). With this initiative, the BNE takes the challenge of publishing bibliographic and authority data in RDF, following the Linked Data Principles and under the CC0 (Creative Commons Public Domain Dedication) open license. Thereby, Spain joins the initiatives that libraries from countries such as the United Kingdom and Germany have recently launched.Approximately 2.4 million bibliographic records have been transformed into RDF. They are modern and ancient monographies, sound-recordings and musical scores. Besides, 4 million authority records of persons, corporate names, uniform titles and subjects have been transformed. The transformation process has generated around 58 million RDF triples and about 600K owl:sameAs links to other datasets such as DBPedia or VIAF. More information can be found in the DataHub entry [3]" Daniel Vila, 13-2-2012 http://lists.w3.org/Archives/Public/semantic-web/2012Feb/0082.html
"Lyst til å utvikle nye semantiske tjenester for bibliotek og forskere? Ledig stilling ved Seksjon for digitale systemer og tjenester fra 1. mars! … Det er ønskjeleg med kjennskap til semantiske teknologiar (Triplestores, RDF, SPARQL), Linked Data, Javascript, Webservices/API-ar, PHP, Solr, Lucene, Linux XML, HTML5/CSS3." … Tarje Sælen Lavik – SpesialbibliotekarSeksjon for digitale system og tjenester, Universitetsbiblioteket i Bergen Biblioteknorge, 14-2-2012 09:30 http://www.nb.no/cgi-bin/wa?A2=ind1202&L=BIBLIOTEKNORGE&D=1&T=0&O=D&P=115356
Fra: http://www.ibtimes.com/articles/112144/20110214/obama-2012-budget-education-low-income.htm
Data er viktig! http://www.regjeringen.no/nb/dep/kud/dok/nouer/2010/nou-2010-14/6.html?id=628640
Linked data – en definisjon "A term used to describe a recommended best practice for exposing, sharing, and connecting pieces of data, information, and knowledge on the Semantic Web using URIs and RDF." Fra: http://linkeddata.org/ URI = Uniform Resource Identifier 2006 RDF = Resource Description Framework
Linked Data - hvordan • Use URIs as names for things • Use HTTP URIs so that people can look up those names. • When someone looks up a URI, provide useful information, using the standards (RDF, SPARQL) • Include links to other URIs. so that they can discover more things. Fra: http://www.w3.org/DesignIssues/LinkedData.html HTTP URIs = URLs
Andre sentrale byggesteiner i tillegg til URIer og RDF • XML • Vokabular
Har navn Paul Weller Er en Musiker
Har navn The Jam Er en Musikkgruppe
Paul Weller Var medlem av The Jam
Har navn Woking Er en By
Paul Weller Var født i Woking Var medlem av The Jam
Har tittel The WaroftheWorlds Er en Bok Er skrevet av H.G. Wells
filmatisert Lansert i 2005 Er en Film filmatisert Skrevet av Lansert i 1953 Er en Film Har navn H.G. Wells Er en Forfatter
Har navn Martian tripod Er en Skulptur
Paul Weller Var født i Var medlem i Woking Var basert i Ligger i The Jam Martian tripod The WaroftheWorlds
Objekt – Egenskap – Verdi Subjekt – Predikat – Objekt
Subjekt Predikat Objekt Har navn Paul Weller Har navn The Jam Var medlem av Har navn Woking Var født i
Vi må entydig identifisere det vi skal beskrive, dvs. subjektet.
<http://sws.geonames.org/2633709> Subjekt <http://dbpedia.org/resource/Woking> <http://dbpedia.org/resource/Paul_Weller> <http://viaf.org/viaf/97006424> <http://dbpedia.org/resource/H._G._Wells>
Predikater må også identifiseres. <http://dbpedia.org/ontology/abstract> Mer lesbar for mennesker når prefikser brukes: <dbpedia-owl:abstract> Vi kan gjøre det samme med subjekter: <dbpedia:Paul_Weller>
Predikater <dbpedia-owl:abstract> <gn:countryCode> <dbpprop:dialCode> <dbpprop:population> <geo:long> <dbpprop:shireCounty> <geo:lat> <dbpedia:Woking> <rdf:type> <dbpedia-owl:distanceToLondon>
Predikater samles i vokabularer <foaf:name> FOAF (Friend of a friend) innholder predikater som kan brukes for å beskrive personer og organisasjoner. <foaf:knows> <foaf:img> <foaf:homepage> Dublin Coreinnholder predikater som kan brukes for å beskrive dokument lignende objekter (DLOer) dc:title dc:creator dc:subject SKOS (Simple Knowledgeorganisation System) innholder predikater som kan brukes for å beskrive tesauri, klassifikasjonsskjema, emneordslister, osv. skos:prefLabel skos:altLabel skos:narrower skos:broader
Objekter er enten litteral (tekst, nummer, datoer, …) eller andre subjekter
<dbpedia:Woking> <dbprop:population> 103932 <dbpedia:Paul_Weller> <foaf:name> Paul Weller <dbpedia:Paul_Weller> <dbpedia:Woking> <dbpedia-owl:birthPlace> <dbpedia:Paul_Weller> <freebase:Paul_Weller> <owl:sameAs> <freebase:Paul_Weller> <freebase:person.date_of_birth> 1958-05-25 <freebase:Paul_Weller> <freebase:height_meters> 1.8
<dbpedia:Woking> 103932 <dbprop:population> Paul Weller <dbpedia-owl:birthPlace> <foaf:name> <dbpedia:Paul_Weller> <owl:sameAs> <freebase:Paul_Weller> <freebase:person.date_of_birth> <freebase:height_meters> 1958-05-25 1.8
Linked Open Data "The goal of the W3C SWEO Linking Open Data community project is to extend the Web with a data commons by publishing various open data sets as RDF on the Web and by setting RDF links between data items from different data sources." http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData
http://www.bbc.co.uk/music/artists/c4406045-e640-4cfe-8b88-4732cce314d4#p009x1xghttp://www.bbc.co.uk/music/artists/c4406045-e640-4cfe-8b88-4732cce314d4#p009x1xg
http://www.bbc.co.uk/music/artists/c4406045-e640-4cfe-8b88-4732cce314d4#p009x1xghttp://www.bbc.co.uk/music/artists/c4406045-e640-4cfe-8b88-4732cce314d4#p009x1xg http://dbpedia.org/data/Paul_Weller.rdf
http://musicbrainz.org/mm-2.1/artistrel/c4406045-e640-4cfe-8b88-4732cce314d4#p009x1xghttp://musicbrainz.org/mm-2.1/artistrel/c4406045-e640-4cfe-8b88-4732cce314d4#p009x1xg
http://www.bbc.co.uk/music/artists/c4406045-e640-4cfe-8b88-4732cce314d4.rdfhttp://www.bbc.co.uk/music/artists/c4406045-e640-4cfe-8b88-4732cce314d4.rdf
Mai, 2009 http://libris.kb.se/data/bib/4572831?format=application/rdf%2bxml
<http://libris.kb.se/resource/bib/9864017> <dc:creator> H. G. Wells <http://libris.kb.se/resource/auth/101323> <dc:creator> <bibo:isbn10> 9100108669 <dc:date> 2005 <dc:title> Världarnas krig / H. G. Wells ; översättning av Gertrud Hallvig <rda:placeOfPublication> <http://purl.org/NET/marccodes/countries/sw#location> <libris:frbr_related> <http://libris.kb.se/resource/bib/10457842>
<http://libris.kb.se/resource/auth/101323> <http://viaf.org/viaf/97006424/#foaf:Person> <owl:sameAs> <http://dbpedia.org/resource/H._G._Wells> <owl:sameAs>
http://dewey.info/class/523/about.no.rdf http://dewey.info/class/523/about.ru.rdf