120 likes | 196 Views
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.
E N D
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 CSV2STG TAB2STG DELIM2STG SQL2STG User-defined template XML RDF [other textual formats]
SKOS_CONCEPTSCHEMES Template input skos:ConceptScheme data:s123 dcterms:title dcterms:creator Template model dcterms:description “New scheme” “New scheme used for testing” “Fred Bloggs” Template output
SKOS_CONCEPTS - relationships skos:ConceptScheme data:s123 skos:Concept data:c789 skos:Concept data:c456 skos:related skos:broader skos:narrower skos:inScheme skos:Concept data:c456 skos:Concept data:c456 skos:Concept data:c789
SKOS_CONCEPTS – labels skos:Concept data:c456 skos:hiddenLabel skos:prefLabel skos:altLabel “rock” “rocks” “stones”
SKOS_CONCEPTS - notes skos:Concept data:c456 skos:note “Note 1” skos:scopeNote “Note 2” skos:changeNote “Note 3” skos:definition “Note 4” skos:editorialNote “Note 5” skos:example “Note 6” (RDF output) skos:historyNote “Note 7”
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 thesaurus_terms.csv thesaurus_term_uses.csv thesaurus_term_preferences.csv thesaurus_term_relations.csv classification_groups.csv (data import) (data cleansing) CSV2DB Internal Database SQLEXECUTE (delimited input data) (data export) SELECT DISTINCT tt.the_te_uid AS concept_id, term AS altlabel FROM thesaurus_termstt INNER JOIN thesaurus_term_preferencesttp ON ttp.the_te_uid_1 = tt.the_te_uid WHERE tt.status <> 'P' SQL2CSV (cleansed & mapped data) (SQL query) CSV2STG SQL2STG Template (data conversion) (RDF output data)
Ceri Binding Hypermedia Research Unit, University of Glamorgan, Wales http://hypermedia.research.glam.ac.uk/kos/STELLAR/