SlideShare a Scribd company logo
1 of 10
1
CIDOC-CRM SPARQL Tutorial on British Museum
data at http://collection.britishmuseum.org
Author : Thomas Francart – thomas.francart@sparna.fr
Date of creation : 04/06/2018
Date of latest modification : 13/09/2018
Version : 2
License : CC-by-nc-sa https://creativecommons.org/licenses/by-nc-sa/4.0/ Attribution-
NonCommercial-ShareAlike 4.0 International
Table of contents
Objectives.....................................................................................................................................2
1. Know where the documentation is ......................................................................................2
CIDOC-CRM documentation........................................................................................................2
British Museum model documentation........................................................................................2
2. Looking for Turner.................................................................................................................2
On the web.................................................................................................................................2
On ResearchSpace.......................................................................................................................3
On the SPARQL service................................................................................................................3
3. Look for the Production Activities of Turner........................................................................5
4. Find the Works/Objects created by Turner..........................................................................6
5. Pictures of the Works............................................................................................................8
6. Dates of the works................................................................................................................9
7. And now… a timeline !..........................................................................................................9
8. Subjects of Turner works ?....................................................................................................9
2
Objectives
This tutorial allows to understand the implementation of the CIDOC-CRM done by the British
Museum on its SPARQL service at https://collection.britishmuseum.org. It also allows to delve
step-by-step in the documentation of the CIDOC-CRM and some of its building blocks.
The objectives of this tutorial are :
o To understand how to interact with the SPARQL service of the British Museum and
the notice pages to retrieve the necessary information;
o To understand how CIDOC-CRM is used for data modelling, on authors, works, work
production, keywords and dates;
o To learn how to write the corresponding SPARQL queries;
At the end of this tutorial you should be capable of reusing the data of the British Musuem to
generate a timeline using a free online service. This demonstrates the potential of open data
reuse in innovative ways.
1. Know where the documentation is
CIDOC-CRM documentation
Go to www.cidoc-crm.org/versions-of-the-cidoc-crm.
Open the PDF version of the latest version of the CIDOC-CRM. This is the reference
specification of the model.
British Museum model documentation
Go to https://confluence.ontotext.com/display/ResearchSpace
Naviguate under “RS Ontology / BM mapping” and have a look at the diagram. In this diagram
we will use the following parts:
 “Bibliography” part for Persons, in top left corner ;
 The “Production” part;
 The central “Object” part, with the « Subject » part just below ;
From the same page click on the link « mapping manual for endpoint site draft 0.98a.pdf ». This
document explains the choices made by the British Museum when mapping its data to the
CIDOC-CRM.
2. Looking for Turner
On the web
 Find “Turner” in your rpeferred search engine ;
 Look at its Wikipedia page (“Joseph Mallord William Turner”).
3
On ResearchSpace
 Go to https://public.researchspace.org and look for an actor named "Turner, Joseph
Mallord William" (with exactly this spelling, case-sensitive, including the comma) ;
 Look at the “table” view and click on “Joseph Mallord William Turner”;
 Click on tab “All properties” in the bottom right corner of the notice page;
On the SPARQL service
 Go to the service endpoint https://collection.britishmuseum.org/resource/sparql.
 Look for anything with the rdfs:label "Turner, Joseph Mallord William";
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?anything WHERE {
?anything rdfs:label "Turner, Joseph Mallord William" .
}
 Click on the URI to navigate to this object notice
(http://collection.britishmuseum.org/id/person-institution/49003/appellation/1)
4
 In the section “Incoming Statements” :
o Hover your mouse on “is identified by” to view its URI ;
o Read the documentation of the property P131 in the CIDOC-CRM specification
to understand its semantic ;
o Try to find this link in the BM mapping diagram, in the upper-left corner ;
o Click on “Joseph Mallord William Turner” and navigate to its notice page at
http://collection.britishmuseum.org/id/person-institution/49003;
 Adapt the SPARQL query to select “the URI of the Person named “Turner, Joseph
Mallord William” "
5
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
SELECT * WHERE {
?person a crm:E21_Person .
?person crm:P131_is_identified_by ?appellation .
?appellation rdfs:label "Turner, Joseph Mallord William" .
}
3. Look for the Production Activities of Turner
 In section “Incoming Statements” of the notice page of Turner, look for links “carried
out by”. You can filter the list by searching for “carried” in the filter box at the op of this
section ;
o Hover your mouse on “carried out by” to view its URI ;
o Look up and read its definition in the CIDOC-CRM specification ;
o Find the corresponding link in the BM mapping diagram; Note that it appears in
multiple places, try to find “the correct one”;
o Note that the Production Activity that links the creator of the work is part of of a
higher-level Production activity that includes this one as well as other
Production activities that hold different pieces of information;
o Try to find the Production Activity that hold the date information ;
6
 Enrich the query to select the URI of the Production Activities of Turner. You can use
the (non CIDOC-CRM) rs:displayLabel property to select some labels for these
activities;
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX rs: <http://www.researchspace.org/ontology/>
SELECT ?event ?eventLabel WHERE {
?person a crm:E21_Person .
?person crm:P131_is_identified_by ?appellation .
?appellation rdfs:label "Turner, Joseph Mallord William" .
?event crm:P14_carried_out_by ?person .
?event rs:displayLabel ?eventLabel .
} ORDER BY ?event
4. Find the Works/Objects created by Turner
 Can you find, from the mapping diagram and by navigating in the notice pages of the
events, the links that connect the Production activities of Turner to the objects actually
produced ? for this it is necessary to move up on the “main production event”;
 Read the documentation of the corresponding properties in the specification document;
 Adapt the query to select the URIs of the objects created by Turner;
7
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX rs: <http://www.researchspace.org/ontology/>
SELECT ?thing WHERE {
?person a crm:E21_Person .
?person crm:P131_is_identified_by ?appellation .
?appellation rdfs:label "Turner, Joseph Mallord William" .
?event crm:P14_carried_out_by ?person .
?superEvent crm:P9_consists_of ?event .
?thing crm:P108i_was_produced_by ?superEvent .
}
 From the notice page of one of these Work URI, can you find all the ways to select its
title ? what is the « CIDOC-CRM-way » to select the title ?
 Read the documentation of the corresponding properties in the specification document;
 Adapt the query to select the titles of all the works of Turner;
8
o BONUS 1 : can you rewrite the query using SPARQL « Property Paths » in a single line ?
o BONUS 2 : can you count the number of works produced by Turner ?
5. Pictures of the Works
o Find how to access to the images of a Work (and to their « main representation ») ;
o There are 2 types of links : a CIDOC-CRM one, and a “proprietary” one;
o Read the documentation of the corresponding properties in the specification document;
o Enrich the query to select, in addition to the title, the link to the image of the work ; try with
the CIDOC-CRM property, then with the British Museum specific property; what do you
see ?
o Copy-Paste the URL of an image in your browser and verify that you access to the image ;
9
You have read the first 8 pages of this tutorial.
To read the full 13-pages version, including all
SPARQL queries, reach us at
thomas.francart@sparna.fr.
6. Dates of the works
7. And now… a timeline !
8. Subjects of Turner works ?
1

More Related Content

What's hot

Load & Unload Data TO and FROM Snowflake (By Faysal Shaarani)
Load & Unload Data TO and FROM Snowflake (By Faysal Shaarani)Load & Unload Data TO and FROM Snowflake (By Faysal Shaarani)
Load & Unload Data TO and FROM Snowflake (By Faysal Shaarani)Faysal Shaarani (MBA)
 
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -Dongbum Kim
 
Introduction SQL Analytics on Lakehouse Architecture
Introduction SQL Analytics on Lakehouse ArchitectureIntroduction SQL Analytics on Lakehouse Architecture
Introduction SQL Analytics on Lakehouse ArchitectureDatabricks
 
Materialized Column: An Efficient Way to Optimize Queries on Nested Columns
Materialized Column: An Efficient Way to Optimize Queries on Nested ColumnsMaterialized Column: An Efficient Way to Optimize Queries on Nested Columns
Materialized Column: An Efficient Way to Optimize Queries on Nested ColumnsDatabricks
 
Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQLOpen Data Support
 
CIDOC CRM Tutorial
CIDOC CRM TutorialCIDOC CRM Tutorial
CIDOC CRM TutorialISLCCIFORTH
 
Triplestore and SPARQL
Triplestore and SPARQLTriplestore and SPARQL
Triplestore and SPARQLLino Valdivia
 
Understanding RDF: the Resource Description Framework in Context (1999)
Understanding RDF: the Resource Description Framework in Context  (1999)Understanding RDF: the Resource Description Framework in Context  (1999)
Understanding RDF: the Resource Description Framework in Context (1999)Dan Brickley
 
Resource description framework
Resource description frameworkResource description framework
Resource description frameworkStanley Wang
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphIoan Toma
 
Apache Spark overview
Apache Spark overviewApache Spark overview
Apache Spark overviewDataArt
 
Semantic Web - Ontologies
Semantic Web - OntologiesSemantic Web - Ontologies
Semantic Web - OntologiesSerge Linckels
 
Oracle Database Management - Backup/Recovery
Oracle Database Management - Backup/RecoveryOracle Database Management - Backup/Recovery
Oracle Database Management - Backup/RecoveryChien Chung Shen
 
엘라스틱 서치 세미나
엘라스틱 서치 세미나엘라스틱 서치 세미나
엘라스틱 서치 세미나종현 김
 

What's hot (20)

RDF data model
RDF data modelRDF data model
RDF data model
 
RDF validation tutorial
RDF validation tutorialRDF validation tutorial
RDF validation tutorial
 
Load & Unload Data TO and FROM Snowflake (By Faysal Shaarani)
Load & Unload Data TO and FROM Snowflake (By Faysal Shaarani)Load & Unload Data TO and FROM Snowflake (By Faysal Shaarani)
Load & Unload Data TO and FROM Snowflake (By Faysal Shaarani)
 
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
 
Introduction SQL Analytics on Lakehouse Architecture
Introduction SQL Analytics on Lakehouse ArchitectureIntroduction SQL Analytics on Lakehouse Architecture
Introduction SQL Analytics on Lakehouse Architecture
 
Materialized Column: An Efficient Way to Optimize Queries on Nested Columns
Materialized Column: An Efficient Way to Optimize Queries on Nested ColumnsMaterialized Column: An Efficient Way to Optimize Queries on Nested Columns
Materialized Column: An Efficient Way to Optimize Queries on Nested Columns
 
Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQL
 
CIDOC CRM Tutorial
CIDOC CRM TutorialCIDOC CRM Tutorial
CIDOC CRM Tutorial
 
Triplestore and SPARQL
Triplestore and SPARQLTriplestore and SPARQL
Triplestore and SPARQL
 
Understanding RDF: the Resource Description Framework in Context (1999)
Understanding RDF: the Resource Description Framework in Context  (1999)Understanding RDF: the Resource Description Framework in Context  (1999)
Understanding RDF: the Resource Description Framework in Context (1999)
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
 
RDF, linked data and semantic web
RDF, linked data and semantic webRDF, linked data and semantic web
RDF, linked data and semantic web
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge Graph
 
Apache Spark overview
Apache Spark overviewApache Spark overview
Apache Spark overview
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Semantic Web - Ontologies
Semantic Web - OntologiesSemantic Web - Ontologies
Semantic Web - Ontologies
 
Oracle Database Management - Backup/Recovery
Oracle Database Management - Backup/RecoveryOracle Database Management - Backup/Recovery
Oracle Database Management - Backup/Recovery
 
SPARQL Tutorial
SPARQL TutorialSPARQL Tutorial
SPARQL Tutorial
 
엘라스틱 서치 세미나
엘라스틱 서치 세미나엘라스틱 서치 세미나
엘라스틱 서치 세미나
 

Similar to SPARQL queries on CIDOC-CRM data of BritishMuseum

2011 03 11 (upm) emadrid lsanchez uc3m anotación semántica de texto
2011 03 11 (upm) emadrid lsanchez uc3m anotación semántica de texto2011 03 11 (upm) emadrid lsanchez uc3m anotación semántica de texto
2011 03 11 (upm) emadrid lsanchez uc3m anotación semántica de textoeMadrid network
 
FAIR Projector Builder
FAIR Projector BuilderFAIR Projector Builder
FAIR Projector BuilderMark Wilkinson
 
Towards Interoperable Metadata Provenance
Towards Interoperable Metadata ProvenanceTowards Interoperable Metadata Provenance
Towards Interoperable Metadata ProvenanceKai Eckert
 
MARC 21 Training at Daffodil International University
MARC 21 Training at Daffodil International UniversityMARC 21 Training at Daffodil International University
MARC 21 Training at Daffodil International UniversityNur Ahammad
 
Understanding the Standards Gap
Understanding the Standards GapUnderstanding the Standards Gap
Understanding the Standards GapDan Brickley
 
Creating Narrative with Digital Objects
Creating Narrative with Digital ObjectsCreating Narrative with Digital Objects
Creating Narrative with Digital ObjectsShawn Day
 
TYPO3 Inline Relational Record Editing (IRRE)
TYPO3 Inline Relational Record Editing (IRRE)TYPO3 Inline Relational Record Editing (IRRE)
TYPO3 Inline Relational Record Editing (IRRE)Oliver Hader
 
2013 10-03-semantics-meetup-s buxton-mark_logic_pub
2013 10-03-semantics-meetup-s buxton-mark_logic_pub2013 10-03-semantics-meetup-s buxton-mark_logic_pub
2013 10-03-semantics-meetup-s buxton-mark_logic_pubStephen Buxton
 
Reimagining Serials handout: BIBFRAME Exercise
Reimagining Serials handout: BIBFRAME ExerciseReimagining Serials handout: BIBFRAME Exercise
Reimagining Serials handout: BIBFRAME ExerciseNASIG
 
Methodological tips for mappings to CIDOC CRM
Methodological tips for mappings to CIDOC CRMMethodological tips for mappings to CIDOC CRM
Methodological tips for mappings to CIDOC CRMariadnenetwork
 
Dublin Core In Practice
Dublin Core In PracticeDublin Core In Practice
Dublin Core In PracticeMarcia Zeng
 
The Nature.com ontologies portal - Linked Science 2015
The Nature.com ontologies portal - Linked Science 2015The Nature.com ontologies portal - Linked Science 2015
The Nature.com ontologies portal - Linked Science 2015Michele Pasin
 
M3O: The Multimedia Metadata Ontology
M3O: The Multimedia Metadata OntologyM3O: The Multimedia Metadata Ontology
M3O: The Multimedia Metadata OntologyCarsten Saathoff
 
Semantic HTML
Semantic HTMLSemantic HTML
Semantic HTMLhchen1
 
Digital Narratives for Transylvania DH
Digital Narratives for Transylvania DHDigital Narratives for Transylvania DH
Digital Narratives for Transylvania DHShawn Day
 
The nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologiesThe nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologiesTony Hammond
 
The Anatomy of TYPO3 Sitepackages
The Anatomy of TYPO3 SitepackagesThe Anatomy of TYPO3 Sitepackages
The Anatomy of TYPO3 SitepackagesBenjamin Kott
 
Digital Library Federation, Fall 07, Connotea Presentation
Digital Library Federation, Fall 07, Connotea PresentationDigital Library Federation, Fall 07, Connotea Presentation
Digital Library Federation, Fall 07, Connotea PresentationIan Mulvany
 
SC7 Webinar 5 13/12/2017 NCSR "Demokritos" Presentation "Event Detection"
SC7 Webinar 5 13/12/2017 NCSR "Demokritos" Presentation "Event Detection"SC7 Webinar 5 13/12/2017 NCSR "Demokritos" Presentation "Event Detection"
SC7 Webinar 5 13/12/2017 NCSR "Demokritos" Presentation "Event Detection"BigData_Europe
 

Similar to SPARQL queries on CIDOC-CRM data of BritishMuseum (20)

2011 03 11 (upm) emadrid lsanchez uc3m anotación semántica de texto
2011 03 11 (upm) emadrid lsanchez uc3m anotación semántica de texto2011 03 11 (upm) emadrid lsanchez uc3m anotación semántica de texto
2011 03 11 (upm) emadrid lsanchez uc3m anotación semántica de texto
 
FAIR Projector Builder
FAIR Projector BuilderFAIR Projector Builder
FAIR Projector Builder
 
Towards Interoperable Metadata Provenance
Towards Interoperable Metadata ProvenanceTowards Interoperable Metadata Provenance
Towards Interoperable Metadata Provenance
 
MARC 21 Training at Daffodil International University
MARC 21 Training at Daffodil International UniversityMARC 21 Training at Daffodil International University
MARC 21 Training at Daffodil International University
 
Understanding the Standards Gap
Understanding the Standards GapUnderstanding the Standards Gap
Understanding the Standards Gap
 
Creating Narrative with Digital Objects
Creating Narrative with Digital ObjectsCreating Narrative with Digital Objects
Creating Narrative with Digital Objects
 
TYPO3 Inline Relational Record Editing (IRRE)
TYPO3 Inline Relational Record Editing (IRRE)TYPO3 Inline Relational Record Editing (IRRE)
TYPO3 Inline Relational Record Editing (IRRE)
 
2013 10-03-semantics-meetup-s buxton-mark_logic_pub
2013 10-03-semantics-meetup-s buxton-mark_logic_pub2013 10-03-semantics-meetup-s buxton-mark_logic_pub
2013 10-03-semantics-meetup-s buxton-mark_logic_pub
 
Reimagining Serials handout: BIBFRAME Exercise
Reimagining Serials handout: BIBFRAME ExerciseReimagining Serials handout: BIBFRAME Exercise
Reimagining Serials handout: BIBFRAME Exercise
 
Darknet - Is it good for you?
Darknet - Is it good for you?Darknet - Is it good for you?
Darknet - Is it good for you?
 
Methodological tips for mappings to CIDOC CRM
Methodological tips for mappings to CIDOC CRMMethodological tips for mappings to CIDOC CRM
Methodological tips for mappings to CIDOC CRM
 
Dublin Core In Practice
Dublin Core In PracticeDublin Core In Practice
Dublin Core In Practice
 
The Nature.com ontologies portal - Linked Science 2015
The Nature.com ontologies portal - Linked Science 2015The Nature.com ontologies portal - Linked Science 2015
The Nature.com ontologies portal - Linked Science 2015
 
M3O: The Multimedia Metadata Ontology
M3O: The Multimedia Metadata OntologyM3O: The Multimedia Metadata Ontology
M3O: The Multimedia Metadata Ontology
 
Semantic HTML
Semantic HTMLSemantic HTML
Semantic HTML
 
Digital Narratives for Transylvania DH
Digital Narratives for Transylvania DHDigital Narratives for Transylvania DH
Digital Narratives for Transylvania DH
 
The nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologiesThe nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologies
 
The Anatomy of TYPO3 Sitepackages
The Anatomy of TYPO3 SitepackagesThe Anatomy of TYPO3 Sitepackages
The Anatomy of TYPO3 Sitepackages
 
Digital Library Federation, Fall 07, Connotea Presentation
Digital Library Federation, Fall 07, Connotea PresentationDigital Library Federation, Fall 07, Connotea Presentation
Digital Library Federation, Fall 07, Connotea Presentation
 
SC7 Webinar 5 13/12/2017 NCSR "Demokritos" Presentation "Event Detection"
SC7 Webinar 5 13/12/2017 NCSR "Demokritos" Presentation "Event Detection"SC7 Webinar 5 13/12/2017 NCSR "Demokritos" Presentation "Event Detection"
SC7 Webinar 5 13/12/2017 NCSR "Demokritos" Presentation "Event Detection"
 

More from Thomas Francart

SPARQL sur les données CIDOC-CRM du British Museum
SPARQL sur les données CIDOC-CRM du British MuseumSPARQL sur les données CIDOC-CRM du British Museum
SPARQL sur les données CIDOC-CRM du British MuseumThomas Francart
 
CIDOC-CRM + SPARQL Tutorial sur les données Doremus
CIDOC-CRM + SPARQL Tutorial sur les données DoremusCIDOC-CRM + SPARQL Tutorial sur les données Doremus
CIDOC-CRM + SPARQL Tutorial sur les données DoremusThomas Francart
 
Découvrir les données de data.bnf.fr en utilisant SPARQL
Découvrir les données de data.bnf.fr en utilisant SPARQLDécouvrir les données de data.bnf.fr en utilisant SPARQL
Découvrir les données de data.bnf.fr en utilisant SPARQLThomas Francart
 
SKOS Play @ semweb.pro 2014
SKOS Play @ semweb.pro 2014SKOS Play @ semweb.pro 2014
SKOS Play @ semweb.pro 2014Thomas Francart
 
Web of Data - Introduction (english)
Web of Data - Introduction (english)Web of Data - Introduction (english)
Web of Data - Introduction (english)Thomas Francart
 
Partager et réutiliser des données sur le web
Partager et réutiliser des données sur le webPartager et réutiliser des données sur le web
Partager et réutiliser des données sur le webThomas Francart
 
Web de données - une introduction
Web de données - une introductionWeb de données - une introduction
Web de données - une introductionThomas Francart
 

More from Thomas Francart (12)

SPARQL sur les données CIDOC-CRM du British Museum
SPARQL sur les données CIDOC-CRM du British MuseumSPARQL sur les données CIDOC-CRM du British Museum
SPARQL sur les données CIDOC-CRM du British Museum
 
CIDOC-CRM + SPARQL Tutorial sur les données Doremus
CIDOC-CRM + SPARQL Tutorial sur les données DoremusCIDOC-CRM + SPARQL Tutorial sur les données Doremus
CIDOC-CRM + SPARQL Tutorial sur les données Doremus
 
Découvrir les données de data.bnf.fr en utilisant SPARQL
Découvrir les données de data.bnf.fr en utilisant SPARQLDécouvrir les données de data.bnf.fr en utilisant SPARQL
Découvrir les données de data.bnf.fr en utilisant SPARQL
 
JSON-LD
JSON-LDJSON-LD
JSON-LD
 
Solr formation Sparna
Solr formation SparnaSolr formation Sparna
Solr formation Sparna
 
SKOS Play @ semweb.pro 2014
SKOS Play @ semweb.pro 2014SKOS Play @ semweb.pro 2014
SKOS Play @ semweb.pro 2014
 
Web of Data - Introduction (english)
Web of Data - Introduction (english)Web of Data - Introduction (english)
Web of Data - Introduction (english)
 
Partager et réutiliser des données sur le web
Partager et réutiliser des données sur le webPartager et réutiliser des données sur le web
Partager et réutiliser des données sur le web
 
RDFS : une introduction
RDFS : une introductionRDFS : une introduction
RDFS : une introduction
 
Skos play
Skos playSkos play
Skos play
 
Web de données - une introduction
Web de données - une introductionWeb de données - une introduction
Web de données - une introduction
 
RDF : une introduction
RDF : une introductionRDF : une introduction
RDF : une introduction
 

Recently uploaded

办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...Boston Institute of Analytics
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Colleen Farrelly
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
IMA MSN - Medical Students Network (2).pptx
IMA MSN - Medical Students Network (2).pptxIMA MSN - Medical Students Network (2).pptx
IMA MSN - Medical Students Network (2).pptxdolaknnilon
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsVICTOR MAESTRE RAMIREZ
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...limedy534
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 

Recently uploaded (20)

Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
IMA MSN - Medical Students Network (2).pptx
IMA MSN - Medical Students Network (2).pptxIMA MSN - Medical Students Network (2).pptx
IMA MSN - Medical Students Network (2).pptx
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business Professionals
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 

SPARQL queries on CIDOC-CRM data of BritishMuseum

  • 1. 1 CIDOC-CRM SPARQL Tutorial on British Museum data at http://collection.britishmuseum.org Author : Thomas Francart – thomas.francart@sparna.fr Date of creation : 04/06/2018 Date of latest modification : 13/09/2018 Version : 2 License : CC-by-nc-sa https://creativecommons.org/licenses/by-nc-sa/4.0/ Attribution- NonCommercial-ShareAlike 4.0 International Table of contents Objectives.....................................................................................................................................2 1. Know where the documentation is ......................................................................................2 CIDOC-CRM documentation........................................................................................................2 British Museum model documentation........................................................................................2 2. Looking for Turner.................................................................................................................2 On the web.................................................................................................................................2 On ResearchSpace.......................................................................................................................3 On the SPARQL service................................................................................................................3 3. Look for the Production Activities of Turner........................................................................5 4. Find the Works/Objects created by Turner..........................................................................6 5. Pictures of the Works............................................................................................................8 6. Dates of the works................................................................................................................9 7. And now… a timeline !..........................................................................................................9 8. Subjects of Turner works ?....................................................................................................9
  • 2. 2 Objectives This tutorial allows to understand the implementation of the CIDOC-CRM done by the British Museum on its SPARQL service at https://collection.britishmuseum.org. It also allows to delve step-by-step in the documentation of the CIDOC-CRM and some of its building blocks. The objectives of this tutorial are : o To understand how to interact with the SPARQL service of the British Museum and the notice pages to retrieve the necessary information; o To understand how CIDOC-CRM is used for data modelling, on authors, works, work production, keywords and dates; o To learn how to write the corresponding SPARQL queries; At the end of this tutorial you should be capable of reusing the data of the British Musuem to generate a timeline using a free online service. This demonstrates the potential of open data reuse in innovative ways. 1. Know where the documentation is CIDOC-CRM documentation Go to www.cidoc-crm.org/versions-of-the-cidoc-crm. Open the PDF version of the latest version of the CIDOC-CRM. This is the reference specification of the model. British Museum model documentation Go to https://confluence.ontotext.com/display/ResearchSpace Naviguate under “RS Ontology / BM mapping” and have a look at the diagram. In this diagram we will use the following parts:  “Bibliography” part for Persons, in top left corner ;  The “Production” part;  The central “Object” part, with the « Subject » part just below ; From the same page click on the link « mapping manual for endpoint site draft 0.98a.pdf ». This document explains the choices made by the British Museum when mapping its data to the CIDOC-CRM. 2. Looking for Turner On the web  Find “Turner” in your rpeferred search engine ;  Look at its Wikipedia page (“Joseph Mallord William Turner”).
  • 3. 3 On ResearchSpace  Go to https://public.researchspace.org and look for an actor named "Turner, Joseph Mallord William" (with exactly this spelling, case-sensitive, including the comma) ;  Look at the “table” view and click on “Joseph Mallord William Turner”;  Click on tab “All properties” in the bottom right corner of the notice page; On the SPARQL service  Go to the service endpoint https://collection.britishmuseum.org/resource/sparql.  Look for anything with the rdfs:label "Turner, Joseph Mallord William"; PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?anything WHERE { ?anything rdfs:label "Turner, Joseph Mallord William" . }  Click on the URI to navigate to this object notice (http://collection.britishmuseum.org/id/person-institution/49003/appellation/1)
  • 4. 4  In the section “Incoming Statements” : o Hover your mouse on “is identified by” to view its URI ; o Read the documentation of the property P131 in the CIDOC-CRM specification to understand its semantic ; o Try to find this link in the BM mapping diagram, in the upper-left corner ; o Click on “Joseph Mallord William Turner” and navigate to its notice page at http://collection.britishmuseum.org/id/person-institution/49003;  Adapt the SPARQL query to select “the URI of the Person named “Turner, Joseph Mallord William” "
  • 5. 5 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/> SELECT * WHERE { ?person a crm:E21_Person . ?person crm:P131_is_identified_by ?appellation . ?appellation rdfs:label "Turner, Joseph Mallord William" . } 3. Look for the Production Activities of Turner  In section “Incoming Statements” of the notice page of Turner, look for links “carried out by”. You can filter the list by searching for “carried” in the filter box at the op of this section ; o Hover your mouse on “carried out by” to view its URI ; o Look up and read its definition in the CIDOC-CRM specification ; o Find the corresponding link in the BM mapping diagram; Note that it appears in multiple places, try to find “the correct one”; o Note that the Production Activity that links the creator of the work is part of of a higher-level Production activity that includes this one as well as other Production activities that hold different pieces of information; o Try to find the Production Activity that hold the date information ;
  • 6. 6  Enrich the query to select the URI of the Production Activities of Turner. You can use the (non CIDOC-CRM) rs:displayLabel property to select some labels for these activities; PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/> PREFIX rs: <http://www.researchspace.org/ontology/> SELECT ?event ?eventLabel WHERE { ?person a crm:E21_Person . ?person crm:P131_is_identified_by ?appellation . ?appellation rdfs:label "Turner, Joseph Mallord William" . ?event crm:P14_carried_out_by ?person . ?event rs:displayLabel ?eventLabel . } ORDER BY ?event 4. Find the Works/Objects created by Turner  Can you find, from the mapping diagram and by navigating in the notice pages of the events, the links that connect the Production activities of Turner to the objects actually produced ? for this it is necessary to move up on the “main production event”;  Read the documentation of the corresponding properties in the specification document;  Adapt the query to select the URIs of the objects created by Turner;
  • 7. 7 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/> PREFIX rs: <http://www.researchspace.org/ontology/> SELECT ?thing WHERE { ?person a crm:E21_Person . ?person crm:P131_is_identified_by ?appellation . ?appellation rdfs:label "Turner, Joseph Mallord William" . ?event crm:P14_carried_out_by ?person . ?superEvent crm:P9_consists_of ?event . ?thing crm:P108i_was_produced_by ?superEvent . }  From the notice page of one of these Work URI, can you find all the ways to select its title ? what is the « CIDOC-CRM-way » to select the title ?  Read the documentation of the corresponding properties in the specification document;  Adapt the query to select the titles of all the works of Turner;
  • 8. 8 o BONUS 1 : can you rewrite the query using SPARQL « Property Paths » in a single line ? o BONUS 2 : can you count the number of works produced by Turner ? 5. Pictures of the Works o Find how to access to the images of a Work (and to their « main representation ») ; o There are 2 types of links : a CIDOC-CRM one, and a “proprietary” one; o Read the documentation of the corresponding properties in the specification document; o Enrich the query to select, in addition to the title, the link to the image of the work ; try with the CIDOC-CRM property, then with the British Museum specific property; what do you see ? o Copy-Paste the URL of an image in your browser and verify that you access to the image ;
  • 9. 9 You have read the first 8 pages of this tutorial. To read the full 13-pages version, including all SPARQL queries, reach us at thomas.francart@sparna.fr. 6. Dates of the works 7. And now… a timeline ! 8. Subjects of Turner works ?
  • 10. 1