DHWI Linked Open Data - What I Did

Georgina Goodlander
Georgina GoodlanderWeb and Social Media Manager at Smithsonian American Art Museum
Digital Humanities Winter Institute
        Publishing and Using Linked Open Data
                   January 7-11, 2013
http://mith.umd.edu/dhwiwiki/index.php/DHWI_Wiki:Publishing_and_Using_Linked_Open_Data
      Syllabus with readings: http://lod4h.pbworks.com/w/page/58948790/DHWI_Syllabus



                                    What I Did
            Kindly note: This is all just practice and play. None of this is real.




                         Georgina Goodlander
                            @bathlander
Brought some sample museum data
Cleaned it up in Open Refine, assigned URIs




Split display names into first and last names, cleaned up dates, converted fractions to decimals,
split dimensions into separate columns then put them back together again, trimmed white
spaces.

GERL to combine columns for dimensions (very impressed that I wrote this):
if(isBlank(cells["Dimensions"].value), "0", cells["Dimensions"].value) + " x " +
if(isBlank(cells["Width in inches"].value), "0", cells["Width in inches"].value) + " x " +
if(isBlank(cells["Depth in inches"].value), "0", cells["Depth in inches"].value)
Assigned properties (foaf, dcterms, dc)
Exported as RDF/XML
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
         xmlns:foaf="http://xmlns.com/foaf/0.1/"
         xmlns:owl="http://www.w3.org/2002/07/owl#"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcterms="http://purl.org/dc/terms/">

<rdf:Description rdf:about="http://americanart.si.edu/objects2011.25.2">
         <foaf:name>Felrath Hines</foaf:name>
         <foaf:givenName>Felrath</foaf:givenName>
         <foaf:familyName>Hines</foaf:familyName>
         <dcterms:identifier>2011.25.2</dcterms:identifier>
         <dcterms:title>Abstract Landscape</dcterms:title>
         <dcterms:medium>oil on linen</dcterms:medium>
         <dc:date>1964</dc:date>
         <dcterms:rights>Gift of Dorothy C. Fisher, wife of the artist</dcterms:rights>
         <dcterms:extent>72 x 72 x 0.875</dcterms:extent>
</rdf:Description>
Imported into Sesame




At this point the data is published and link-able, but not yet linked to other data sets. It is also
important to publish under an open license, such as CC0.
Ran SPARQL Queries                                 SELECT ?familyName
                                                   WHERE
                                                   {
                                                   ?s foaf:familyName ?familyName .
   Returns all family names in ascending order     }
                                                   ORDER BY ASC(?familyName)

                                                   SELECT ?title
                                                   WHERE
                                                   {
            Returns all titles for artworks that
                                                   ?s dcterms:title ?title .
            have “oil” in the medium
                                                   ?s dcterms:medium ?medium .
                                                   FILTER (regex (?medium, "oil", "i"))
                                                   }

                                                   SELECT ?familyName ?objectid ?date
                                                   WHERE
                                                   {
        Returns family names, object IDs, and      ?s foaf:familyName ?familyName .
        dates for works made after 1950            ?s dcterms:identifier ?objectid .
                                                   ?s dc:date ?date .
                                                   FILTER (?date > "1950") .
                                                   }
Helpful Resources
Links from the Instructor, Richard Urban:
http://www.diigo.com/user/musebrarian/dhwi_example
Cool URIs: http://www.w3.org/TR/cooluris
RDF validator: http://rdfabout.com/demo/validator/
Semantic web stack: http://en.wikipedia.org/wiki/Semantic_Web_Stack
Protege Ontology Editor: http://protege.stanford.edu
Foaf: http://xmlns.com/foaf/spec/20100809.html
SKOS: www.w3.org/2004/02/skos/vocabs
Dublin Core: http://purl.org/dc/terms/
SPARQL Examples: http://MITH.umd.edu/dhwiwiki/index.php/SPARQL_Examples
More SPARQL: http://www.w3.org/TR/rdf-sparql-query/#tests
Even more SPARQL: http://www.w3.org/2009/Talks/0615-qbe/
SPARQL endpoint for Dbpedia: http://DBPedia.org/snorql
Using GERL functions: http://code.google.com/p/google-
refine/wiki/GRELStringFunctions
Publishing Linked Open Data (table): http://linkeddatabook.com/editions/1.0/#htoc61
Dbpedia ontologies mapping: http://mappings.dbpedia.org/server/ontology/classes/
Creative Commons 0: creativecommons.org/choose/zero
GLAM open data sets: http://datahub.io/group/open-glam
1 of 8

Recommended

RSS Application Using Dom by
RSS Application Using Dom  RSS Application Using Dom
RSS Application Using Dom abdullah roomi
66 views4 slides
Data structure in perl by
Data structure in perlData structure in perl
Data structure in perlsana mateen
1.5K views8 slides
MS SQL Database basic by
MS SQL Database basicMS SQL Database basic
MS SQL Database basicwali1195189
316 views47 slides
Menu func-sh(1) by
Menu func-sh(1)Menu func-sh(1)
Menu func-sh(1)Ben Pope
29 views1 slide
Massively Distributed Backups at Facebook Scale - Shlomo Priymak, Facebook - ... by
Massively Distributed Backups at Facebook Scale - Shlomo Priymak, Facebook - ...Massively Distributed Backups at Facebook Scale - Shlomo Priymak, Facebook - ...
Massively Distributed Backups at Facebook Scale - Shlomo Priymak, Facebook - ...DevOpsDays Tel Aviv
726 views62 slides
Managing category structures in relational databases by
Managing category structures in relational databasesManaging category structures in relational databases
Managing category structures in relational databasesAntoine Osanz
418 views19 slides

More Related Content

What's hot

Ch3(working with file) by
Ch3(working with file)Ch3(working with file)
Ch3(working with file)Chhom Karath
174 views14 slides
Dando nome aos códigos by
Dando nome aos códigosDando nome aos códigos
Dando nome aos códigosNelson Senna do Amaral
417 views69 slides
Tax management-system by
Tax management-systemTax management-system
Tax management-systemFahim Faysal Kabir
88 views7 slides
Filesystem Abstraction with Flysystem by
Filesystem Abstraction with FlysystemFilesystem Abstraction with Flysystem
Filesystem Abstraction with FlysystemFrank de Jonge
4.9K views47 slides
Chap 5 php files part-2 by
Chap 5 php files   part-2Chap 5 php files   part-2
Chap 5 php files part-2monikadeshmane
18 views22 slides
Functional Groovy by
Functional GroovyFunctional Groovy
Functional Groovynoamt
415 views68 slides

What's hot(20)

Ch3(working with file) by Chhom Karath
Ch3(working with file)Ch3(working with file)
Ch3(working with file)
Chhom Karath174 views
Filesystem Abstraction with Flysystem by Frank de Jonge
Filesystem Abstraction with FlysystemFilesystem Abstraction with Flysystem
Filesystem Abstraction with Flysystem
Frank de Jonge4.9K views
Functional Groovy by noamt
Functional GroovyFunctional Groovy
Functional Groovy
noamt415 views
Working with LifeDesks by Katja Schulz
Working with LifeDesksWorking with LifeDesks
Working with LifeDesks
Katja Schulz416 views
Threading by b290572
ThreadingThreading
Threading
b290572175 views
GDI Seattle - Intro to JavaScript Class 2 by Heather Rock
GDI Seattle - Intro to JavaScript Class 2GDI Seattle - Intro to JavaScript Class 2
GDI Seattle - Intro to JavaScript Class 2
Heather Rock390 views
R- create a table from a list of files.... before webmining by Gabriela Plantie
R- create a table from a list of files.... before webminingR- create a table from a list of files.... before webmining
R- create a table from a list of files.... before webmining
Gabriela Plantie265 views
Up.Php by wsoom
Up.PhpUp.Php
Up.Php
wsoom175 views
Android Lab Test : Reading the foot file list (english) by Bruno Delb
Android Lab Test : Reading the foot file list (english)Android Lab Test : Reading the foot file list (english)
Android Lab Test : Reading the foot file list (english)
Bruno Delb435 views
Creating a database by Rahul Gupta
Creating a databaseCreating a database
Creating a database
Rahul Gupta4.2K views

Viewers also liked

Connect, Interact, and PLAY! by
Connect, Interact, and PLAY!Connect, Interact, and PLAY!
Connect, Interact, and PLAY!Georgina Goodlander
428 views24 slides
Web & Social Media @ American Art by
Web & Social Media @ American ArtWeb & Social Media @ American Art
Web & Social Media @ American ArtGeorgina Goodlander
862 views19 slides
MW2009 Ghosts of a Chance Presentation (Learning from Games Session) by
MW2009 Ghosts of a Chance Presentation (Learning from Games Session)MW2009 Ghosts of a Chance Presentation (Learning from Games Session)
MW2009 Ghosts of a Chance Presentation (Learning from Games Session)Georgina Goodlander
867 views4 slides
NAEA Fabulous Failure by
NAEA Fabulous FailureNAEA Fabulous Failure
NAEA Fabulous FailureGeorgina Goodlander
401 views11 slides
Be Strategic by
Be StrategicBe Strategic
Be StrategicCitizen Earth
242 views40 slides
OpenGLAM in museums: Linked Open Data and Wikipedia by
OpenGLAM in museums: Linked Open Data and WikipediaOpenGLAM in museums: Linked Open Data and Wikipedia
OpenGLAM in museums: Linked Open Data and WikipediaGeorgina Goodlander
1.2K views25 slides

Viewers also liked(6)

Similar to DHWI Linked Open Data - What I Did

SPARQL introduction and training (130+ slides with exercices) by
SPARQL introduction and training (130+ slides with exercices)SPARQL introduction and training (130+ slides with exercices)
SPARQL introduction and training (130+ slides with exercices)Thomas Francart
2.1K views134 slides
Introduction to SPARQL by
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQLJose Emilio Labra Gayo
3.9K views78 slides
Introduction to SPARQL by
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQLJose Emilio Labra Gayo
554 views78 slides
Hands On Spring Data by
Hands On Spring DataHands On Spring Data
Hands On Spring DataEric Bottard
1.6K views39 slides
XSPARQL CrEDIBLE workshop by
XSPARQL CrEDIBLE workshopXSPARQL CrEDIBLE workshop
XSPARQL CrEDIBLE workshopnunoalexandrelopes
1.1K views71 slides

Similar to DHWI Linked Open Data - What I Did(20)

SPARQL introduction and training (130+ slides with exercices) by Thomas Francart
SPARQL introduction and training (130+ slides with exercices)SPARQL introduction and training (130+ slides with exercices)
SPARQL introduction and training (130+ slides with exercices)
Thomas Francart2.1K views
Hands On Spring Data by Eric Bottard
Hands On Spring DataHands On Spring Data
Hands On Spring Data
Eric Bottard1.6K views
Building a friendly .NET SDK to connect to Space by Maarten Balliauw
Building a friendly .NET SDK to connect to SpaceBuilding a friendly .NET SDK to connect to Space
Building a friendly .NET SDK to connect to Space
Maarten Balliauw182 views
Visualizations using Visualbox by Alvaro Graves
Visualizations using VisualboxVisualizations using Visualbox
Visualizations using Visualbox
Alvaro Graves1.2K views
APPLICATION TO DOCUMENT ALL THE DETAILS OF JAVA CLASSES OF A PROJECT AT ONCE... by DEEPANSHU GUPTA
APPLICATION TO DOCUMENT ALL THE  DETAILS OF JAVA CLASSES OF A PROJECT AT ONCE...APPLICATION TO DOCUMENT ALL THE  DETAILS OF JAVA CLASSES OF A PROJECT AT ONCE...
APPLICATION TO DOCUMENT ALL THE DETAILS OF JAVA CLASSES OF A PROJECT AT ONCE...
DEEPANSHU GUPTA244 views
Graph Database workshop by Jeremy Deane
Graph Database workshopGraph Database workshop
Graph Database workshop
Jeremy Deane1.5K views
08 Advanced PHP #burningkeyboards by Denis Ristic
08 Advanced PHP #burningkeyboards08 Advanced PHP #burningkeyboards
08 Advanced PHP #burningkeyboards
Denis Ristic159 views
SQL to Hive Cheat Sheet by Hortonworks
SQL to Hive Cheat SheetSQL to Hive Cheat Sheet
SQL to Hive Cheat Sheet
Hortonworks500.4K views

More from Georgina Goodlander

Games and Interaction in Museums by
Games and Interaction in MuseumsGames and Interaction in Museums
Games and Interaction in MuseumsGeorgina Goodlander
1.6K views25 slides
ARTitorium - Work in Progress by
ARTitorium - Work in ProgressARTitorium - Work in Progress
ARTitorium - Work in ProgressGeorgina Goodlander
516 views15 slides
VRA 2014 - Linking the Smithsonian American Art Museum to the Cloud by
VRA 2014 - Linking the Smithsonian American Art Museum to the CloudVRA 2014 - Linking the Smithsonian American Art Museum to the Cloud
VRA 2014 - Linking the Smithsonian American Art Museum to the CloudGeorgina Goodlander
667 views14 slides
Web and Social Media at American Art by
Web and Social Media at American ArtWeb and Social Media at American Art
Web and Social Media at American ArtGeorgina Goodlander
746 views21 slides
Memes and Museums by
Memes and MuseumsMemes and Museums
Memes and MuseumsGeorgina Goodlander
1.8K views22 slides
Narrative games in museums (Goodlander) by
Narrative games in museums (Goodlander)Narrative games in museums (Goodlander)
Narrative games in museums (Goodlander)Georgina Goodlander
528 views6 slides

More from Georgina Goodlander(20)

VRA 2014 - Linking the Smithsonian American Art Museum to the Cloud by Georgina Goodlander
VRA 2014 - Linking the Smithsonian American Art Museum to the CloudVRA 2014 - Linking the Smithsonian American Art Museum to the Cloud
VRA 2014 - Linking the Smithsonian American Art Museum to the Cloud
Pheon: One Game, Two Platforms, Mixed Success (w/NOTES) by Georgina Goodlander
Pheon: One Game, Two Platforms, Mixed Success (w/NOTES)Pheon: One Game, Two Platforms, Mixed Success (w/NOTES)
Pheon: One Game, Two Platforms, Mixed Success (w/NOTES)
Zombies Vs. Knaves: Playing Games in Cultural Institutions by Georgina Goodlander
Zombies Vs. Knaves: Playing Games in Cultural InstitutionsZombies Vs. Knaves: Playing Games in Cultural Institutions
Zombies Vs. Knaves: Playing Games in Cultural Institutions
Alternate Reality Games: Interdisciplinary Designers, Designing Interactions by Georgina Goodlander
Alternate Reality Games: Interdisciplinary Designers, Designing InteractionsAlternate Reality Games: Interdisciplinary Designers, Designing Interactions
Alternate Reality Games: Interdisciplinary Designers, Designing Interactions
Pheon and Ghosts of a Chance (Alternate Reality Games and 21st Century Litera... by Georgina Goodlander
Pheon and Ghosts of a Chance (Alternate Reality Games and 21st Century Litera...Pheon and Ghosts of a Chance (Alternate Reality Games and 21st Century Litera...
Pheon and Ghosts of a Chance (Alternate Reality Games and 21st Century Litera...
Learning from the Media: Encouraging Wonder and Discovery in Families and Sma... by Georgina Goodlander
Learning from the Media: Encouraging Wonder and Discovery in Families and Sma...Learning from the Media: Encouraging Wonder and Discovery in Families and Sma...
Learning from the Media: Encouraging Wonder and Discovery in Families and Sma...
Interactive Programs at the Luce Foundation Center by Georgina Goodlander
Interactive Programs at the Luce Foundation CenterInteractive Programs at the Luce Foundation Center
Interactive Programs at the Luce Foundation Center

Recently uploaded

Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITShapeBlue
166 views8 slides
Kyo - Functional Scala 2023.pdf by
Kyo - Functional Scala 2023.pdfKyo - Functional Scala 2023.pdf
Kyo - Functional Scala 2023.pdfFlavio W. Brasil
449 views92 slides
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... by
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc
160 views29 slides
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...James Anderson
156 views32 slides
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...ShapeBlue
85 views10 slides
Cencora Executive Symposium by
Cencora Executive SymposiumCencora Executive Symposium
Cencora Executive Symposiummarketingcommunicati21
139 views14 slides

Recently uploaded(20)

Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue166 views
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... by TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc160 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson156 views
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue85 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue103 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue123 views
Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10126 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue98 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely78 views
Future of AR - Facebook Presentation by Rob McCarty
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
Rob McCarty62 views
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue154 views
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue by ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue94 views
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ... by ShapeBlue
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
ShapeBlue146 views
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue by ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
ShapeBlue176 views
Why and How CloudStack at weSystems - Stephan Bienek - weSystems by ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue197 views
Digital Personal Data Protection (DPDP) Practical Approach For CISOs by Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash153 views
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue163 views

DHWI Linked Open Data - What I Did

  • 1. Digital Humanities Winter Institute Publishing and Using Linked Open Data January 7-11, 2013 http://mith.umd.edu/dhwiwiki/index.php/DHWI_Wiki:Publishing_and_Using_Linked_Open_Data Syllabus with readings: http://lod4h.pbworks.com/w/page/58948790/DHWI_Syllabus What I Did Kindly note: This is all just practice and play. None of this is real. Georgina Goodlander @bathlander
  • 2. Brought some sample museum data
  • 3. Cleaned it up in Open Refine, assigned URIs Split display names into first and last names, cleaned up dates, converted fractions to decimals, split dimensions into separate columns then put them back together again, trimmed white spaces. GERL to combine columns for dimensions (very impressed that I wrote this): if(isBlank(cells["Dimensions"].value), "0", cells["Dimensions"].value) + " x " + if(isBlank(cells["Width in inches"].value), "0", cells["Width in inches"].value) + " x " + if(isBlank(cells["Depth in inches"].value), "0", cells["Depth in inches"].value)
  • 5. Exported as RDF/XML <?xml version="1.0" encoding="UTF-8"?> <rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcterms="http://purl.org/dc/terms/"> <rdf:Description rdf:about="http://americanart.si.edu/objects2011.25.2"> <foaf:name>Felrath Hines</foaf:name> <foaf:givenName>Felrath</foaf:givenName> <foaf:familyName>Hines</foaf:familyName> <dcterms:identifier>2011.25.2</dcterms:identifier> <dcterms:title>Abstract Landscape</dcterms:title> <dcterms:medium>oil on linen</dcterms:medium> <dc:date>1964</dc:date> <dcterms:rights>Gift of Dorothy C. Fisher, wife of the artist</dcterms:rights> <dcterms:extent>72 x 72 x 0.875</dcterms:extent> </rdf:Description>
  • 6. Imported into Sesame At this point the data is published and link-able, but not yet linked to other data sets. It is also important to publish under an open license, such as CC0.
  • 7. Ran SPARQL Queries SELECT ?familyName WHERE { ?s foaf:familyName ?familyName . Returns all family names in ascending order } ORDER BY ASC(?familyName) SELECT ?title WHERE { Returns all titles for artworks that ?s dcterms:title ?title . have “oil” in the medium ?s dcterms:medium ?medium . FILTER (regex (?medium, "oil", "i")) } SELECT ?familyName ?objectid ?date WHERE { Returns family names, object IDs, and ?s foaf:familyName ?familyName . dates for works made after 1950 ?s dcterms:identifier ?objectid . ?s dc:date ?date . FILTER (?date > "1950") . }
  • 8. Helpful Resources Links from the Instructor, Richard Urban: http://www.diigo.com/user/musebrarian/dhwi_example Cool URIs: http://www.w3.org/TR/cooluris RDF validator: http://rdfabout.com/demo/validator/ Semantic web stack: http://en.wikipedia.org/wiki/Semantic_Web_Stack Protege Ontology Editor: http://protege.stanford.edu Foaf: http://xmlns.com/foaf/spec/20100809.html SKOS: www.w3.org/2004/02/skos/vocabs Dublin Core: http://purl.org/dc/terms/ SPARQL Examples: http://MITH.umd.edu/dhwiwiki/index.php/SPARQL_Examples More SPARQL: http://www.w3.org/TR/rdf-sparql-query/#tests Even more SPARQL: http://www.w3.org/2009/Talks/0615-qbe/ SPARQL endpoint for Dbpedia: http://DBPedia.org/snorql Using GERL functions: http://code.google.com/p/google- refine/wiki/GRELStringFunctions Publishing Linked Open Data (table): http://linkeddatabook.com/editions/1.0/#htoc61 Dbpedia ontologies mapping: http://mappings.dbpedia.org/server/ontology/classes/ Creative Commons 0: creativecommons.org/choose/zero GLAM open data sets: http://datahub.io/group/open-glam