Ceri Binding Hypermedia Research Unit, University of Glamorgan, Wales

12
Ceri Binding Hypermedia Research Unit, University of Glamorgan, Wales http://hypermedia.research.glam.ac.uk/kos/STELLAR/

description

Ceri Binding Hypermedia Research Unit, University of Glamorgan, Wales http://hypermedia.research.glam.ac.uk/kos/STELLAR/. STELLAR Applications. STELLAR.Console. STELLAR.Web. STELLAR.Win. STELLAR Data Conversions. SQL2CSV SQL2TAB. SQLEXECUTE. Delimited Data. Database. CSV2DB TAB2DB. - PowerPoint PPT Presentation

Transcript of Ceri Binding Hypermedia Research Unit, University of Glamorgan, Wales

Ceri BindingHypermedia Research Unit, University of Glamorgan, Wales

http://hypermedia.research.glam.ac.uk/kos/STELLAR/

STELLAR Applications

STELLAR.Console

STELLAR.Web STELLAR.Win

CSV2DB TAB2DB

DatabaseDatabase

SQL2CSV SQL2TAB

Delimited DataDelimited Data

SQL2STG

User-defined template

User-defined template

RDFRDF [other textualformats]

[other textualformats]

CSV2STG TAB2STG

DELIM2STG

SQLEXECUTE

STELLAR Data Conversions

XMLXML

SKOS Template Fields

skos:ConceptSchemedata:s123

skos:ConceptSchemedata:s123

dcterms:title

dcterms:description

“New scheme used for testing”

“New scheme used for testing”

dcterms:creator

“New scheme”“New scheme” “Fred Bloggs”“Fred Bloggs”

SKOS_CONCEPTSCHEMES

Template input

Template model

Template output

skos:Conceptdata:c789

skos:Conceptdata:c789

skos:Conceptdata:c456

skos:Conceptdata:c456

skos:broader skos:narrower

skos:Conceptdata:c456

skos:Conceptdata:c456

skos:Conceptdata:c789

skos:Conceptdata:c789

skos:related

skos:ConceptSchemedata:s123

skos:ConceptSchemedata:s123

skos:Conceptdata:c456

skos:Conceptdata:c456

skos:inScheme

SKOS_CONCEPTS - relationships

skos:Conceptdata:c456

skos:Conceptdata:c456

skos:prefLabel skos:altLabel

“rock”“rock” “rocks”“rocks”

SKOS_CONCEPTS – labels

“stones”“stones”

skos:hiddenLabel

skos:Conceptdata:c456

skos:Conceptdata:c456

skos:note

skos:changeNote

“Note 1”“Note 1”

“Note 3”“Note 3”

“Note 2”“Note 2”skos:scopeNote

“Note 4”“Note 4”

skos:definition

“Note 5”“Note 5”

“Note 6”“Note 6”

“Note 7”“Note 7”

skos:editorialNote

skos:example

skos:historyNote

SKOS_CONCEPTS - notes

(RDF output)

A Practical Example English Heritage “AMIE” database – multiple

thesauri: MDA object types Monument types Main building materials Covering building materials Archaeological sciences Evidence Timelines

AMIE database conversion using STELLAR

Internal DatabaseInternal Database

thesaurus_terms.csvthesaurus_term_uses.csvthesaurus_term_preferences.csvthesaurus_term_relations.csvclassification_groups.csv

thesaurus_terms.csvthesaurus_term_uses.csvthesaurus_term_preferences.csvthesaurus_term_relations.csvclassification_groups.csv

CSV2DB

SELECT DISTINCT tt.the_te_uid AS concept_id, term AS altlabelFROM thesaurus_terms ttINNER JOIN thesaurus_term_preferences ttpON ttp.the_te_uid_1 = tt.the_te_uidWHERE tt.status <> 'P'

SELECT DISTINCT tt.the_te_uid AS concept_id, term AS altlabelFROM thesaurus_terms ttINNER JOIN thesaurus_term_preferences ttpON ttp.the_te_uid_1 = tt.the_te_uidWHERE tt.status <> 'P'

(data import)

SQLEXECUTE

(data cleansing)

(SQL query)

(data conversion)

TemplateTemplate

(cleansed & mapped data)

(RDF output data)

(data export)

SQL2CSV

(delimited input data)

CSV2STG

SQL2STG

Extract of SKOS RDF output

Ceri BindingHypermedia Research Unit, University of Glamorgan, Wales

http://hypermedia.research.glam.ac.uk/kos/STELLAR/