SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
ADDING A DBPEDIA MAPPING
VLADIMIR ALEXIEV
VLADIMIR.ALEXIEV@ONTOTEXT.COM
<2015-02-10>
0
TABLE OF CONTENTS
Intro
Outline
Prepare for Mapping
Prepare for Mapping (2)
Find Template to Map
Start a Blank Mapping
Search for Properties
Add A Property
Add a Tracking Issue
Describe the Problem
Add Another Property
Completed Mapping
Test the Mapping
INTRO
: easier to read, you can print it, external links don't lose context
: one slide per page, 2D structure
"O" for 2D outline, Esc to zoom on selected slide, "H" for help
Proudly made in plain text with , , ,
Single HTML page
2D interactive presentation
reveal.js org-reveal org-mode emacs
OUTLINE
Show practical steps to add a mapping:
1. Preparation
2. Find a template to map
3. Generate blank mapping with Chrome plugin
4. Explore the meaining of each property from the template definition
5. Pick appropriate ontology properties
6. Create missing properties
7. Clean up (or post as issues) any problems you find along the way
8. Test the mapping
PREPARE FOR MAPPING
To work more easily with the mapping wiki info, install some addons
Chrome Plugin
Many URLs in dbpedia are International Resource Identifiers (IRIs)
When you copy from the browser's address bar, an IRI is URL-encoded
Unreadable ugliness like
Instead, this plugin allows you to copy & paste IRIs like
These are readable and allow other editors to see what they represent: it's
generates blank mappings by analyzing which template properties are used
the extension
Go to chrome://extensions, enable "Developer mode"
"Load unpacked extension" and point to the extension folder
Note: is a GUI mapping tool.
Potentially much more useful, but is 4y old and I haven't tried it
CopyURL
http://bg.dbpedia.org/resource/%D0%9A%D0%BE%D0%BD%D1%81%D1%82%D0%B0%D0%BD%D1%82%D0%B8%D0%BD%D0%B0_%D0%96%D0%B8
BE%D0%B2%D0%B0
http://bg.dbpedia.org/resource/
Константина_Живова
editorial policy
mappings_chrome_extension
Download
mapping-tool
PREPARE FOR MAPPING (2)
Text Editor Anywhere
This is a Windows program (not Chrome plugin) that allows you to edit web text with
your favorite editor.
Map editing may involve significant text operations, so I use this all the time with
Emacs
It creates a temp file, calls your editor, watches the file for changes, and pastes back
into the browser text box
You can save the file with your editor many times before you finish
This is better than the other similar programs ("edit servers") I've tried
FIND TEMPLATE TO MAP
You can start from a wiki page you like that doesn't have much semantic data
eg the Model (mannequin) has
since the template is not yet mapped
Or browse
Константина_Живова no type
Манекен_инфо
stats for your language
START A BLANK MAPPING
Click "Edit" on the stats screen, which takes you to
Or directly start a new mapping by replacing the template URL
the Chrome plugin makes a blank map for us (hurray!):
http://mappings.dbpedia.org/index.php?
title=Mapping_bg:Манекен_инфо&action=edit
https://bg.wikipedia.org/wiki/Шаблон:* ­>
 http://mappings.dbpedia.org/index.php?action=edit&title=Mapping_bg:*
{{TemplateMapping | mapToClass = 
| mappings = 
        !­­ {{ PropertyMapping | templateProperty = imdb | ontologyProperty = }} ­­
        !­­ {{ PropertyMapping | templateProperty = Име | ontologyProperty = }} ­­
SEARCH FOR PROPERTIES
so we first need to map "imdb" (International Movie DataBase id)
we search for "imdb" on the mapping wiki. We don't find a property directly
then we search for "imdb*" and find the property imdbId: that's the one we need
however, it has rdfs:domain = Film while we're mapping a Model, which is a Person
So we remove rdfs:domain and replace it with a comment (see ):the diff
|comments=
{{comment|en|International Movie Database ID. Applies to Films, Actors, etc}}
ADD A PROPERTY
There are a few props we need to add, eg zodiacSign, skinColor
We check Wikipedia or Google for the right name, and find that it applies not only to
People but also to Planets
Go directly to
Entering the prop info is best done from a template
We also check the use of this prop in wikipedia and find out that it links to pages, eg
[[Телец]] (Taurus). So we need an ObjectProperty
Entering an appropriate comment is mandatory: describe the usage in detail:
http://mappings.dbpedia.org/index.php?
title=OntologyProperty:ZodiacSign&action=edit
{{ObjectProperty
  | labels =
  {{label|en|zodiac sign}}
  |comments=
  {{comment|en|Zodiac Sign. Applies to persons, planets, etc}}
}}
ADD A TRACKING ISSUE
Looking for "shoe size", we find two duplicate properties. showSize is the proper English
term, so we choose to remove showNumber
Search for "shoeNumber" to see how many times it's used. If it's a few, just do it
(delete the prop and replace the usages)
But in this case there are a many, so let's make an issue hoping that someone else
(maybe with the help of a bot) will do it
Go to
Type a title: "replace shoeNumber with shoeSize"
Paste the link of the property discussion page:
Put all details on the discussion page: we use the tracker only to track, not to
discuss/explain
https://github.com/dbpedia/mappings-tracker/issues/new
http://mappings.dbpedia.org/index.php?title=OntologyProperty_talk:ShoeNumber
DESCRIBE THE PROBLEM
Go to the Discussion tab of the shoeNumber property
Add a description of the problem:
Paste the new issue link that you just created. This way the issue and prop are inter-
linked
Sign your submission! The –~~~~ at the end is converted to the datetime and your
name
* Duplicate of shoeSize (which is the proper English term).
* Also, xsd:integer is not appropriate, xsd:string is better.
* So: delete and replace all usages with shoeSize.
https://github.com/dbpedia/mappings­tracker/issues/34
­­~~~~
ADD ANOTHER PROPERTY
The "vital stats" for a Model include height, weight, eyeColor, hairColor, skinColor,
shoeSize, zodiacSign, bustSize (but of course!), waistSize, hipSize
enwiki and jawiki have fields bustSize, waistSize, hipSize
An app to sort models by these measures would surely be a commercial success :-)
bgwiki uses a composite field bust-waist-hip size (мерки: бюст-талия-ханш)
So I made a new composite property, describing in detail its usage vs the 3 separate
properties (rdfs:comment):
Also made enh req extract several Lengths out of a field
Finally, I linked the issue to the property, by putting this in the property's Discussion
page: "If is implemented, this should be deleted in favor of 3 separate fields"
{{DatatypeProperty
 |rdfs:label@en=bust­waist­hip Size
 |rdfs:label@bg=размер бюст­талия­ханш
 |rdfs:domain=Person
 |rdfs:range=xsd:string
 |rdfs:comment@en=Use this property if all 3 sizes are given together
   (DBpedia cannot currently extract 3 Lengths out of a field).
   Otherwise use separate fields bustSize, waistSize, hipSize
}}
#325
#325
COMPLETED MAPPING
Move any unmapped props to the end, in a comment !­­ ... ­­
{{TemplateMapping | mapToClass = Model
| mappings = 
  {{ PropertyMapping | templateProperty = imdb | ontologyProperty = imdbId }}
  {{ PropertyMapping | templateProperty = Име | ontologyProperty = foaf:name }}
  {{ PropertyMapping | templateProperty = дата на смърт | ontologyProperty = deathDate }}
  {{ PropertyMapping | templateProperty = дейности | ontologyProperty = occupation}}
  ....
  {{ PropertyMapping | templateProperty = цвят на кожа | ontologyProperty = skinColor }}
  {{ PropertyMapping | templateProperty = цвят на коса | ontologyProperty = hairColor }}
  {{ PropertyMapping | templateProperty = цвят на очи | ontologyProperty = eyeColor }}
}}
!­­ NOT YET MAPPED
  {{ PropertyMapping | templateProperty = категория | ontologyProperty = }}
  {{ PropertyMapping | templateProperty = филми | ontologyProperty = }} dbo:film has domain FilmFestiva
l
­­
TEST THE MAPPING
At the you'll find some useful links
Link to from the mapping: unfortunately works only for ASCII names
( )
So and pick up some names
Then go to the Discussion page, add a section "Testing" and make a list of links eg
This is especially important if you fix a mapping
It's
mapping page
return triples
#289
find some usages
Летисия Каста     
Константина Живова
http://mappings.dbpedia.org/server/extraction/bg/extract?format=turtle-
triples&extractors=custom&title=Летисия_Каста
http://mappings.dbpedia.org/server/extraction/bg/extract?format=turtle-
triples&extractors=custom&title=Константина_Живова
proposed editorial policy

Mais conteúdo relacionado

Semelhante a Adding a DBpedia Mapping

Professional JavaScript: AntiPatterns
Professional JavaScript: AntiPatternsProfessional JavaScript: AntiPatterns
Professional JavaScript: AntiPatternsMike Wilcox
 
DSL (Domain Specific Language) for Maps Mashups
DSL (Domain Specific Language) for Maps MashupsDSL (Domain Specific Language) for Maps Mashups
DSL (Domain Specific Language) for Maps Mashupsaliraza786
 
CreateJS hackathon in Zurich
CreateJS hackathon in ZurichCreateJS hackathon in Zurich
CreateJS hackathon in ZurichHenri Bergius
 
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...Bill Buchan
 
Tearing the Sofa Apart: CouchDB and CouchApps from a Beginner's Perspective
Tearing the Sofa Apart: CouchDB and CouchApps from a Beginner's PerspectiveTearing the Sofa Apart: CouchDB and CouchApps from a Beginner's Perspective
Tearing the Sofa Apart: CouchDB and CouchApps from a Beginner's PerspectiveSeh Hui Leong
 
Full Stack React Workshop [CSSC x GDSC]
Full Stack React Workshop [CSSC x GDSC]Full Stack React Workshop [CSSC x GDSC]
Full Stack React Workshop [CSSC x GDSC]GDSC UofT Mississauga
 
GWT is Smarter Than You
GWT is Smarter Than YouGWT is Smarter Than You
GWT is Smarter Than YouRobert Cooper
 
React js - The Core Concepts
React js - The Core ConceptsReact js - The Core Concepts
React js - The Core ConceptsDivyang Bhambhani
 
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 Evan Mullins
 
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And DxlBp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxldominion
 
Metamorphosis from Forms to Java: A technical lead's perspective, part II
Metamorphosis from Forms to Java:  A technical lead's perspective, part IIMetamorphosis from Forms to Java:  A technical lead's perspective, part II
Metamorphosis from Forms to Java: A technical lead's perspective, part IIMichael Fons
 
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...Paul Jensen
 
ActiveTM - A Topic Maps - Object Mapper
ActiveTM - A Topic Maps - Object MapperActiveTM - A Topic Maps - Object Mapper
ActiveTM - A Topic Maps - Object Mappertmra
 
Class[3][5th jun] [three js]
Class[3][5th jun] [three js]Class[3][5th jun] [three js]
Class[3][5th jun] [three js]Saajid Akram
 
Mashups in the Information Technology Classroom
Mashups in the Information Technology ClassroomMashups in the Information Technology Classroom
Mashups in the Information Technology ClassroomMark Frydenberg
 
Dita for the web: Make Adaptive Content Simple for Writers and Developer
Dita for the web: Make Adaptive Content Simple for Writers and DeveloperDita for the web: Make Adaptive Content Simple for Writers and Developer
Dita for the web: Make Adaptive Content Simple for Writers and DeveloperDon Day
 
Fowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopFowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopMark Masterson
 

Semelhante a Adding a DBpedia Mapping (20)

Professional JavaScript: AntiPatterns
Professional JavaScript: AntiPatternsProfessional JavaScript: AntiPatterns
Professional JavaScript: AntiPatterns
 
DSL (Domain Specific Language) for Maps Mashups
DSL (Domain Specific Language) for Maps MashupsDSL (Domain Specific Language) for Maps Mashups
DSL (Domain Specific Language) for Maps Mashups
 
CreateJS hackathon in Zurich
CreateJS hackathon in ZurichCreateJS hackathon in Zurich
CreateJS hackathon in Zurich
 
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
Lotusphere 2007 AD507 Leveraging the Power of Object Oriented Programming in ...
 
Tearing the Sofa Apart: CouchDB and CouchApps from a Beginner's Perspective
Tearing the Sofa Apart: CouchDB and CouchApps from a Beginner's PerspectiveTearing the Sofa Apart: CouchDB and CouchApps from a Beginner's Perspective
Tearing the Sofa Apart: CouchDB and CouchApps from a Beginner's Perspective
 
Full Stack React Workshop [CSSC x GDSC]
Full Stack React Workshop [CSSC x GDSC]Full Stack React Workshop [CSSC x GDSC]
Full Stack React Workshop [CSSC x GDSC]
 
GWT is Smarter Than You
GWT is Smarter Than YouGWT is Smarter Than You
GWT is Smarter Than You
 
React js - The Core Concepts
React js - The Core ConceptsReact js - The Core Concepts
React js - The Core Concepts
 
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
 
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And DxlBp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
 
Metamorphosis from Forms to Java: A technical lead's perspective, part II
Metamorphosis from Forms to Java:  A technical lead's perspective, part IIMetamorphosis from Forms to Java:  A technical lead's perspective, part II
Metamorphosis from Forms to Java: A technical lead's perspective, part II
 
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
End to end testing Single Page Apps & APIs with Cucumber.js and Puppeteer (Em...
 
Ad507
Ad507Ad507
Ad507
 
ActiveTM - A Topic Maps - Object Mapper
ActiveTM - A Topic Maps - Object MapperActiveTM - A Topic Maps - Object Mapper
ActiveTM - A Topic Maps - Object Mapper
 
Class[3][5th jun] [three js]
Class[3][5th jun] [three js]Class[3][5th jun] [three js]
Class[3][5th jun] [three js]
 
Mashups in the Information Technology Classroom
Mashups in the Information Technology ClassroomMashups in the Information Technology Classroom
Mashups in the Information Technology Classroom
 
Google Gears
Google GearsGoogle Gears
Google Gears
 
CouchDB
CouchDBCouchDB
CouchDB
 
Dita for the web: Make Adaptive Content Simple for Writers and Developer
Dita for the web: Make Adaptive Content Simple for Writers and DeveloperDita for the web: Make Adaptive Content Simple for Writers and Developer
Dita for the web: Make Adaptive Content Simple for Writers and Developer
 
Fowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopFowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing Workshop
 

Mais de Vladimir Alexiev, PhD, PMP

Museum LOD (Ontotext, 1 May 2019, Doha, Qatar)
Museum LOD (Ontotext, 1 May 2019, Doha, Qatar)Museum LOD (Ontotext, 1 May 2019, Doha, Qatar)
Museum LOD (Ontotext, 1 May 2019, Doha, Qatar)Vladimir Alexiev, PhD, PMP
 
Museum Linked Open Data: Ontologies, Datasets, Projects
Museum Linked Open Data: Ontologies, Datasets, Projects Museum Linked Open Data: Ontologies, Datasets, Projects
Museum Linked Open Data: Ontologies, Datasets, Projects Vladimir Alexiev, PhD, PMP
 
Ontotext Cultural Heritage and Digital Humanities Projects
Ontotext Cultural Heritage and Digital Humanities ProjectsOntotext Cultural Heritage and Digital Humanities Projects
Ontotext Cultural Heritage and Digital Humanities ProjectsVladimir Alexiev, PhD, PMP
 
Semantic Archive Integration for Holocaust Research: the EHRI Research Infras...
Semantic Archive Integration for Holocaust Research: the EHRI Research Infras...Semantic Archive Integration for Holocaust Research: the EHRI Research Infras...
Semantic Archive Integration for Holocaust Research: the EHRI Research Infras...Vladimir Alexiev, PhD, PMP
 
Wikidata, a target for Europeana’s semantic strategy (Glam-Wiki 2015)
Wikidata, a target for Europeana’s semantic strategy (Glam-Wiki 2015)Wikidata, a target for Europeana’s semantic strategy (Glam-Wiki 2015)
Wikidata, a target for Europeana’s semantic strategy (Glam-Wiki 2015)Vladimir Alexiev, PhD, PMP
 
Europeana Food and Drink Classification Scheme
Europeana Food and Drink Classification SchemeEuropeana Food and Drink Classification Scheme
Europeana Food and Drink Classification SchemeVladimir Alexiev, PhD, PMP
 
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationVladimir Alexiev, PhD, PMP
 
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationVladimir Alexiev, PhD, PMP
 
Sem tech in CH, Linked Data Meetup, 2014-08-21, Malmo, Sweden
Sem tech in CH, Linked Data Meetup, 2014-08-21, Malmo, SwedenSem tech in CH, Linked Data Meetup, 2014-08-21, Malmo, Sweden
Sem tech in CH, Linked Data Meetup, 2014-08-21, Malmo, SwedenVladimir Alexiev, PhD, PMP
 
Europeana Creative. EDM Endpoint. Custom Views
Europeana Creative. EDM Endpoint. Custom ViewsEuropeana Creative. EDM Endpoint. Custom Views
Europeana Creative. EDM Endpoint. Custom ViewsVladimir Alexiev, PhD, PMP
 
Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
 Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ... Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...Vladimir Alexiev, PhD, PMP
 
Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
 Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ... Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...Vladimir Alexiev, PhD, PMP
 
RDF Data and Image Annotations in ResearchSpace (paper)
RDF Data and Image Annotations in ResearchSpace (paper)RDF Data and Image Annotations in ResearchSpace (paper)
RDF Data and Image Annotations in ResearchSpace (paper)Vladimir Alexiev, PhD, PMP
 

Mais de Vladimir Alexiev, PhD, PMP (20)

Semantics and Machine Learning
Semantics and Machine LearningSemantics and Machine Learning
Semantics and Machine Learning
 
Museum LOD (Ontotext, 1 May 2019, Doha, Qatar)
Museum LOD (Ontotext, 1 May 2019, Doha, Qatar)Museum LOD (Ontotext, 1 May 2019, Doha, Qatar)
Museum LOD (Ontotext, 1 May 2019, Doha, Qatar)
 
Linked Open Data and Ontotext Projects
Linked Open Data and Ontotext ProjectsLinked Open Data and Ontotext Projects
Linked Open Data and Ontotext Projects
 
Museum Linked Open Data: Ontologies, Datasets, Projects
Museum Linked Open Data: Ontologies, Datasets, Projects Museum Linked Open Data: Ontologies, Datasets, Projects
Museum Linked Open Data: Ontologies, Datasets, Projects
 
Ontotext Cultural Heritage and Digital Humanities Projects
Ontotext Cultural Heritage and Digital Humanities ProjectsOntotext Cultural Heritage and Digital Humanities Projects
Ontotext Cultural Heritage and Digital Humanities Projects
 
euBusinessGraph Company and Economic Data
euBusinessGraph Company and Economic DataeuBusinessGraph Company and Economic Data
euBusinessGraph Company and Economic Data
 
Semantic Archive Integration for Holocaust Research: the EHRI Research Infras...
Semantic Archive Integration for Holocaust Research: the EHRI Research Infras...Semantic Archive Integration for Holocaust Research: the EHRI Research Infras...
Semantic Archive Integration for Holocaust Research: the EHRI Research Infras...
 
GLAMs working with Wikidata
GLAMs working with WikidataGLAMs working with Wikidata
GLAMs working with Wikidata
 
Wikidata, a target for Europeana’s semantic strategy (Glam-Wiki 2015)
Wikidata, a target for Europeana’s semantic strategy (Glam-Wiki 2015)Wikidata, a target for Europeana’s semantic strategy (Glam-Wiki 2015)
Wikidata, a target for Europeana’s semantic strategy (Glam-Wiki 2015)
 
Europeana Food and Drink Classification Scheme
Europeana Food and Drink Classification SchemeEuropeana Food and Drink Classification Scheme
Europeana Food and Drink Classification Scheme
 
20140521 sem-tech-biz-guest-lecture
20140521 sem-tech-biz-guest-lecture20140521 sem-tech-biz-guest-lecture
20140521 sem-tech-biz-guest-lecture
 
Semantic Technology in Publishing & Finance
Semantic Technology in Publishing & FinanceSemantic Technology in Publishing & Finance
Semantic Technology in Publishing & Finance
 
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
 
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic RepresentationGetty Vocabulary Program LOD: Ontologies and Semantic Representation
Getty Vocabulary Program LOD: Ontologies and Semantic Representation
 
Sem tech in CH, Linked Data Meetup, 2014-08-21, Malmo, Sweden
Sem tech in CH, Linked Data Meetup, 2014-08-21, Malmo, SwedenSem tech in CH, Linked Data Meetup, 2014-08-21, Malmo, Sweden
Sem tech in CH, Linked Data Meetup, 2014-08-21, Malmo, Sweden
 
Semantic technologies for cultural heritage
Semantic technologies for cultural heritageSemantic technologies for cultural heritage
Semantic technologies for cultural heritage
 
Europeana Creative. EDM Endpoint. Custom Views
Europeana Creative. EDM Endpoint. Custom ViewsEuropeana Creative. EDM Endpoint. Custom Views
Europeana Creative. EDM Endpoint. Custom Views
 
Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
 Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ... Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
 
Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
 Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ... Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
Large-scale Reasoning with a Complex Cultural Heritage Ontology (CIDOC CRM) ...
 
RDF Data and Image Annotations in ResearchSpace (paper)
RDF Data and Image Annotations in ResearchSpace (paper)RDF Data and Image Annotations in ResearchSpace (paper)
RDF Data and Image Annotations in ResearchSpace (paper)
 

Último

Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 

Último (20)

Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 

Adding a DBpedia Mapping

  • 1. ADDING A DBPEDIA MAPPING VLADIMIR ALEXIEV VLADIMIR.ALEXIEV@ONTOTEXT.COM <2015-02-10> 0
  • 2. TABLE OF CONTENTS Intro Outline Prepare for Mapping Prepare for Mapping (2) Find Template to Map Start a Blank Mapping Search for Properties Add A Property Add a Tracking Issue Describe the Problem Add Another Property Completed Mapping Test the Mapping
  • 3. INTRO : easier to read, you can print it, external links don't lose context : one slide per page, 2D structure "O" for 2D outline, Esc to zoom on selected slide, "H" for help Proudly made in plain text with , , , Single HTML page 2D interactive presentation reveal.js org-reveal org-mode emacs
  • 4. OUTLINE Show practical steps to add a mapping: 1. Preparation 2. Find a template to map 3. Generate blank mapping with Chrome plugin 4. Explore the meaining of each property from the template definition 5. Pick appropriate ontology properties 6. Create missing properties 7. Clean up (or post as issues) any problems you find along the way 8. Test the mapping
  • 5. PREPARE FOR MAPPING To work more easily with the mapping wiki info, install some addons Chrome Plugin Many URLs in dbpedia are International Resource Identifiers (IRIs) When you copy from the browser's address bar, an IRI is URL-encoded Unreadable ugliness like Instead, this plugin allows you to copy & paste IRIs like These are readable and allow other editors to see what they represent: it's generates blank mappings by analyzing which template properties are used the extension Go to chrome://extensions, enable "Developer mode" "Load unpacked extension" and point to the extension folder Note: is a GUI mapping tool. Potentially much more useful, but is 4y old and I haven't tried it CopyURL http://bg.dbpedia.org/resource/%D0%9A%D0%BE%D0%BD%D1%81%D1%82%D0%B0%D0%BD%D1%82%D0%B8%D0%BD%D0%B0_%D0%96%D0%B8 BE%D0%B2%D0%B0 http://bg.dbpedia.org/resource/ Константина_Живова editorial policy mappings_chrome_extension Download mapping-tool
  • 6. PREPARE FOR MAPPING (2) Text Editor Anywhere This is a Windows program (not Chrome plugin) that allows you to edit web text with your favorite editor. Map editing may involve significant text operations, so I use this all the time with Emacs It creates a temp file, calls your editor, watches the file for changes, and pastes back into the browser text box You can save the file with your editor many times before you finish This is better than the other similar programs ("edit servers") I've tried
  • 7. FIND TEMPLATE TO MAP You can start from a wiki page you like that doesn't have much semantic data eg the Model (mannequin) has since the template is not yet mapped Or browse Константина_Живова no type Манекен_инфо stats for your language
  • 8. START A BLANK MAPPING Click "Edit" on the stats screen, which takes you to Or directly start a new mapping by replacing the template URL the Chrome plugin makes a blank map for us (hurray!): http://mappings.dbpedia.org/index.php? title=Mapping_bg:Манекен_инфо&action=edit https://bg.wikipedia.org/wiki/Шаблон:* ­>  http://mappings.dbpedia.org/index.php?action=edit&title=Mapping_bg:* {{TemplateMapping | mapToClass =  | mappings =          !­­ {{ PropertyMapping | templateProperty = imdb | ontologyProperty = }} ­­         !­­ {{ PropertyMapping | templateProperty = Име | ontologyProperty = }} ­­
  • 9. SEARCH FOR PROPERTIES so we first need to map "imdb" (International Movie DataBase id) we search for "imdb" on the mapping wiki. We don't find a property directly then we search for "imdb*" and find the property imdbId: that's the one we need however, it has rdfs:domain = Film while we're mapping a Model, which is a Person So we remove rdfs:domain and replace it with a comment (see ):the diff |comments= {{comment|en|International Movie Database ID. Applies to Films, Actors, etc}}
  • 10. ADD A PROPERTY There are a few props we need to add, eg zodiacSign, skinColor We check Wikipedia or Google for the right name, and find that it applies not only to People but also to Planets Go directly to Entering the prop info is best done from a template We also check the use of this prop in wikipedia and find out that it links to pages, eg [[Телец]] (Taurus). So we need an ObjectProperty Entering an appropriate comment is mandatory: describe the usage in detail: http://mappings.dbpedia.org/index.php? title=OntologyProperty:ZodiacSign&action=edit {{ObjectProperty   | labels =   {{label|en|zodiac sign}}   |comments=   {{comment|en|Zodiac Sign. Applies to persons, planets, etc}} }}
  • 11. ADD A TRACKING ISSUE Looking for "shoe size", we find two duplicate properties. showSize is the proper English term, so we choose to remove showNumber Search for "shoeNumber" to see how many times it's used. If it's a few, just do it (delete the prop and replace the usages) But in this case there are a many, so let's make an issue hoping that someone else (maybe with the help of a bot) will do it Go to Type a title: "replace shoeNumber with shoeSize" Paste the link of the property discussion page: Put all details on the discussion page: we use the tracker only to track, not to discuss/explain https://github.com/dbpedia/mappings-tracker/issues/new http://mappings.dbpedia.org/index.php?title=OntologyProperty_talk:ShoeNumber
  • 12. DESCRIBE THE PROBLEM Go to the Discussion tab of the shoeNumber property Add a description of the problem: Paste the new issue link that you just created. This way the issue and prop are inter- linked Sign your submission! The –~~~~ at the end is converted to the datetime and your name * Duplicate of shoeSize (which is the proper English term). * Also, xsd:integer is not appropriate, xsd:string is better. * So: delete and replace all usages with shoeSize. https://github.com/dbpedia/mappings­tracker/issues/34 ­­~~~~
  • 13. ADD ANOTHER PROPERTY The "vital stats" for a Model include height, weight, eyeColor, hairColor, skinColor, shoeSize, zodiacSign, bustSize (but of course!), waistSize, hipSize enwiki and jawiki have fields bustSize, waistSize, hipSize An app to sort models by these measures would surely be a commercial success :-) bgwiki uses a composite field bust-waist-hip size (мерки: бюст-талия-ханш) So I made a new composite property, describing in detail its usage vs the 3 separate properties (rdfs:comment): Also made enh req extract several Lengths out of a field Finally, I linked the issue to the property, by putting this in the property's Discussion page: "If is implemented, this should be deleted in favor of 3 separate fields" {{DatatypeProperty  |rdfs:label@en=bust­waist­hip Size  |rdfs:label@bg=размер бюст­талия­ханш  |rdfs:domain=Person  |rdfs:range=xsd:string  |rdfs:comment@en=Use this property if all 3 sizes are given together    (DBpedia cannot currently extract 3 Lengths out of a field).    Otherwise use separate fields bustSize, waistSize, hipSize }} #325 #325
  • 14. COMPLETED MAPPING Move any unmapped props to the end, in a comment !­­ ... ­­ {{TemplateMapping | mapToClass = Model | mappings =    {{ PropertyMapping | templateProperty = imdb | ontologyProperty = imdbId }}   {{ PropertyMapping | templateProperty = Име | ontologyProperty = foaf:name }}   {{ PropertyMapping | templateProperty = дата на смърт | ontologyProperty = deathDate }}   {{ PropertyMapping | templateProperty = дейности | ontologyProperty = occupation}}   ....   {{ PropertyMapping | templateProperty = цвят на кожа | ontologyProperty = skinColor }}   {{ PropertyMapping | templateProperty = цвят на коса | ontologyProperty = hairColor }}   {{ PropertyMapping | templateProperty = цвят на очи | ontologyProperty = eyeColor }} }} !­­ NOT YET MAPPED   {{ PropertyMapping | templateProperty = категория | ontologyProperty = }}   {{ PropertyMapping | templateProperty = филми | ontologyProperty = }} dbo:film has domain FilmFestiva l ­­
  • 15. TEST THE MAPPING At the you'll find some useful links Link to from the mapping: unfortunately works only for ASCII names ( ) So and pick up some names Then go to the Discussion page, add a section "Testing" and make a list of links eg This is especially important if you fix a mapping It's mapping page return triples #289 find some usages Летисия Каста      Константина Живова http://mappings.dbpedia.org/server/extraction/bg/extract?format=turtle- triples&extractors=custom&title=Летисия_Каста http://mappings.dbpedia.org/server/extraction/bg/extract?format=turtle- triples&extractors=custom&title=Константина_Живова proposed editorial policy