semantic database builder
TRANSCRIPT
![Page 1: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/1.jpg)
Semantic Database Builder
Dominic Oldman
Peter Haase
Creating the Cultural Heritage Knowledge Graph
![Page 2: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/2.jpg)
2
• ResearchSpace Project• Goals and context
• ResearchSpace Platform• metaphacts Knowledge Graph Platform• Brief demo
• Semantic Database Builder• Technical approach• Field Definitions• CRM Patterns
• Next: Experiences from Florian Kräutli
Outline
![Page 3: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/3.jpg)
3
ResearchSpace
• The ResearchSpace project:• is funded by the Andrew Mellon Foundation;• develops a set of cultural heritage research tools;• uses Metaphacts platform as a basis to reuse and
combine these tools –• for each project using ResearchSpace,• for applications beyond cultural heritage;
• configures and specialises these tools for data integrated using the CIDOC CRM ontology.
![Page 4: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/4.jpg)
4
metaphacts at a Glance
COMPANY FACTS• Founded in Q4 2014• Headquartered in
Walldorf, Germany• Currently ~10 people• Platform for knowledge
graph interaction & application development
![Page 5: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/5.jpg)
5
metaphactory Features
KNOWLEDGE GRAPH BACKEND
• Scalable data processing• Easy-to-use interface• High-performance
querying and analytics• Built-in inferencing and
custom services • Standard connectors for
a variety of data formats• Single server, embedded
mode, high availability, and scale out
KNOWLEDGE GRAPH CREATION
• Semi-automatic creation of knowledge graphs
• Curation and interlinking of data from heterogeneous sources
• Collaborative management and authoring
• Custom query and templates catalogs
• Data annotation • Capturing of provenance
information
KNOWLEDGE GRAPH APPLICATIONS
• Rapid development of end-user oriented applications
• Web components for end-user friendly presentation and interaction
• Interactive visualization • Rich semantic search
with visual query construction and faceting
• Customizable semantic clipboard
![Page 6: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/6.jpg)
6
metaphactory as an Open Platform
BUILT IN OPEN SOURCE
Dual licensing (LGPL & commercial license) Open Platform API and SDK Integration of external tools and application via APIs Easy development of own web components and services Full HTML5 compliance Re-usable, declaratively configurable Web Components
= Easy modification, customization, and extensibility
BUILT ON OPEN STANDARDS
W3C Web Components W3C Open Annotation Data Model W3C Linked Data Platform Containers Data processing based on W3C standards such as RDF, SPARQL Expressive ontologies for schema modeling based on OWL 2,
SKOS/SKOS-XL Rules, constraints, and query specification based on SPIN and RDF Data
Shapes
= Sustainable Solution
![Page 7: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/7.jpg)
7
CIDOC-CRM Template
![Page 8: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/8.jpg)
8
Declarative Components: Simple Semantic Search
<semantic-simple-search data-config='{ "query":" SELECT ?result ?label ?desc ?img WHERE { ?result rdfs:label ?label . ?result rdfs:comment ?desc . ?result foaf:thumbnail ?img . FILTER(CONTAINS(?label, ?token)) }", "searchTermVariable":"token", // user input "template":" <span title="{{result}}"> <img src="{{img}}" height="30"/> {{label}} ({{desc}})</span>"}'/>
2. Rendered component is displayed to the user
Example:keyword search with
semantic autosuggestion, driven
by SPARQL
3. Autosuggestions are dynamically computed based on query + user input
1. Developer embeds “semantic-simple-search” component into page
Set up in ~2 minutes!
![Page 9: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/9.jpg)
9
metaphacts Supports the Whole Data Lifecyle
Data Extraction
& Integration
Data Linking & Enrichment
Storage & Repositories
Querying & Inferencing
Search
Visualization
Authoring
end-to-endplatform
![Page 10: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/10.jpg)
10
![Page 11: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/11.jpg)
11
![Page 12: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/12.jpg)
12
![Page 13: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/13.jpg)
13
![Page 14: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/14.jpg)
14
![Page 15: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/15.jpg)
15
![Page 16: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/16.jpg)
16
![Page 17: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/17.jpg)
17
![Page 18: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/18.jpg)
18
![Page 19: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/19.jpg)
19
Semantic Database Builder
![Page 20: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/20.jpg)
20
• User interacts with simple forms for a record• Forms have fields and field values• ”Semantic fields” provide
mapping from user input to complex graph structures
• HTML5 Web Componentsfor user interaction andlayout of the form
Form-based authoring
![Page 21: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/21.jpg)
21
Example Form
![Page 22: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/22.jpg)
22
Field Definitions & Field Values
• A field definition holds all information necessary for the form and the respective form input elements to • read existing field values• add and modify field values• define the XSD datatype for field values• validate field values against the existing knowledge
graph at user input time• provide meaning full autosuggestions or a set of pre-
defined field values
![Page 23: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/23.jpg)
23
Example: Very simple field definition
![Page 24: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/24.jpg)
24
CRM - Graph Structures are Complex
![Page 25: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/25.jpg)
25
Complex field definition
![Page 26: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/26.jpg)
26
Field Editor
![Page 27: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/27.jpg)
27
Main form input elements:• <semantic-form-text-input for="{fieldId}">
Typically used for Literal values. Accepts an optional attribute "languages", which can be used to let the user select a language tag if xsdDatatype is xsd:langString.
• <semantic-form-select-input for="{fieldId}">
Offers a dropdown list to choose entities from, using the "valueSetPattern" from the referenced field definition.
• <semantic-form-autocomplete-input for="{fieldId}">
Dynamic autosuggestion while user enters search token, using the "autosuggestionPattern" from the referenced field definition.
• <semantic-form-datetime-input for="{fieldId}">
Component to either enter date or dateTime string or to select them visually from a calendar.
HTML5 Form Markup
![Page 28: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/28.jpg)
28
Web Components for Fields
![Page 29: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/29.jpg)
29
HTML and Bootstrap – Example: Tabs
![Page 30: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/30.jpg)
30
• Can be used for instance creation as well as editing• Records can be managed in LDP containers or named
graphs• Provenance management (when, who modified)• Full support for XSD datatypes (including input
components)• Configurable autosuggestion• Multi-linguality• RDF 1.1 compliance
Other Features
![Page 31: Semantic Database Builder](https://reader031.vdocument.in/reader031/viewer/2022030323/589ee4a11a28ab3d4d8b77c0/html5/thumbnails/31.jpg)
31
metaphacts GmbHIndustriestraße 4169190 WalldorfGermanyp +49 6227 6989965m +49 157 50152441e [email protected] @metaphacts
Get in Touch!
The British Museum
Great Russell StreetLondonUnited Kingdomp +44 020 7323 8796m +44 07565 147 422e [email protected]
@ResearchSpace