34
Logics for Data and Knowledge Representation Semantic Matching Lab

Logics for Data and Knowledge Representation Semantic Matching Lab

Embed Size (px)

Citation preview

Page 1: Logics for Data and Knowledge Representation Semantic Matching Lab

Logics for Data and KnowledgeRepresentation

Semantic Matching Lab

Page 2: Logics for Data and Knowledge Representation Semantic Matching Lab

Outline S-Match project

Theory vs Code Try vs Use vs Hack = GUI vs CLI vs API

Demos

Exercise 1: Experiment in GUI Exercise 2: Experiment in CLI Exercise 3: Experiment in API

Exercise 4: Your own dataset convert match analyze

2

Page 3: Logics for Data and Knowledge Representation Semantic Matching Lab

S-Match project: Theory vs Code Algorithm Framework Library

3

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 4: Logics for Data and Knowledge Representation Semantic Matching Lab

S-Match project: GUI Demo1: GUI

4

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 5: Logics for Data and Knowledge Representation Semantic Matching Lab

S-Match project: CLI Demo2: CLI

5

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 6: Logics for Data and Knowledge Representation Semantic Matching Lab

S-Match project: API Demo3: API

6

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 7: Logics for Data and Knowledge Representation Semantic Matching Lab

S-Match project: API Main components:

entry point: MatchManager formats: loaders+renderers offline: preprocessors+classifier online: element+structure

Tools & Extensions: Matrices Filters other implementations

7

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 8: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI http://sourceforge.net/projects/s-match/

s-match-20131104.zip

download, unpack, read readme.txt ;) read manual: http://sf.net/apps/trac/s-match/wiki/Manual match C and W datasets using GUI

8

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 9: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 2: CLI http://sourceforge.net/projects/s-match/

s-match-20131104.zip

download, unpack, read readme.txt ;) read manual: http://sf.net/apps/trac/s-match/wiki/Manual match C and W datasets using CLI

there is a cheatsheet – all-cw.cmd (and all-cw.sh)

9

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 10: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 3: API http://sourceforge.net/projects/s-match/

s-match-20131104.zip

download, unpack, read readme.txt ;) read manual: http://sf.net/apps/trac/s-match/wiki/Manual match C and W datasets using API

there is a cheatsheet – SMatchAPIDemo.java

10

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 11: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 4: Your own dataset http://sourceforge.net/projects/s-match/

s-match-20131104.zip

download, unpack, read readme.txt ;) convert

automatic or manual

match offline + online. GUI? CLI? API?

analyze manual? automatic?

Dataset example: http://oaei.ontologymatching.org/ 2009 directory dataset

11

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 12: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercises Step-by-Step The following is a step-by-step guide for the exercises The guides are for Windows PC

for other OSs steps are similar

Ensure to have JRE (or JDK for Ex. #3) on your computer

12

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 13: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

13

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 14: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

14

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 15: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

15

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 16: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

16

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 17: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

17

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 18: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

18

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 19: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

19

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 20: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

20

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 21: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

21

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 22: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 1: GUI

22

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 23: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 2: CLI

23

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 24: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 2: CLI

24

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

match-manager.cmd convert ..\test-data\cw\c.txt ..\test-data\cw\c.xml -config=..\conf\s-match-Tab2XML.properties

Page 25: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 2: CLI

25

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

match-manager.cmd convert ..\test-data\cw\c.txt ..\test-data\cw\c.xml -config=..\conf\s-match-Tab2XML.properties

Page 26: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 2: CLI

26

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

match-manager.cmd convert ..\test-data\cw\w.txt ..\test-data\cw\w.xml -config=..\conf\s-match-Tab2XML.properties

Page 27: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 2: CLI

27

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

match-manager.cmd offline ..\test-data\cw\c.xml ..\test-data\cw\c.xml

Page 28: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 2: CLI

28

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

match-manager.cmd offline ..\test-data\cw\w.xml ..\test-data\cw\w.xml

Page 29: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 2: CLI

29

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

match-manager.cmd online ..\test-data\cw\c.xml ..\test-data\cw\w.xml ..\test-data\cw\result-cw.txt

Page 30: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 2: CLI

30

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 31: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 3: API

31

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 32: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 3: API

32

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 33: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 3: API

33

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH

Page 34: Logics for Data and Knowledge Representation Semantic Matching Lab

Exercise 3: API

34

INTRODUCTION :: KINDS OF MATCHING :: STEPS :: KINDS OF SCHEMAS :: S-MATCH :: MINSMATCH