Ceri Binding Hypermedia Research Unit, University of Glamorgan, Wales

Slides:



Advertisements
Similar presentations
C6 Databases.
Advertisements

Benchmark Series Microsoft Access 2010 Level 1
Chapter 6 UNDERSTANDING AND DESIGNING QUERIES AND REPORTS.
STELLAR Introduction Ceri Binding, Douglas Tudhope Hypermedia Research Unit, University of Glamorgan.
3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
STELLAR Introduction Douglas Tudhope Hypermedia Research Unit, University of Glamorgan.
Designing a Database Unleashing the Power of Relational Database Design.
Document Content Description for XML, Version 1.0 By Tim Bray, Charles Frankston and Ashok Malhotra EECS 684 Presentation by Calvin Ang.
Table design screen Field name Data type Field size Other properties.
Attribute databases. GIS Definition Diagram Output Query Results.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Tutorial 11: Connecting to External Data
Management Reporter is the replacement of FRx FRx Transition Management Reporter 2012.
An Introduction to Database Management Systems R. Nakatsu.
© Lloyd’s 1 © Lloyd’s 1 Sharing Data Analysis Between R and non-R Users.
Simple Web SQLite Manager/Form/Report
Check That Input Preventing SQL Injection Attacks By Andrew Morton For CS 410.
1 Supported by EU projects 12/12/2013 Athens, Greece Open Data in Agriculture Hands-on with data infrastructures that can power your agricultural data.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
INTERNET APPLICATION DEVELOPMENT For More visit:
KOS-based tools for archaeological dataset interoperability: NKOS Workshop, ECDL 2010 C. Binding, K. May 1, D. Tudhope, A. Vlachidis Hypermedia Research.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
4-1 INTERNET DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
XSLT for Data Manipulation By: April Fleming. What We Will Cover The What, Why, When, and How of XSLT What tools you will need to get started A sample.
Peoplesoft XML Publisher Integration with PeopleTools -Jayalakshmi S.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
Scalable Metadata Definition Frameworks Raymond Plante NCSA/NVO Toward an International Virtual Observatory How do we encourage a smooth evolution of metadata.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Master Informatique 1 Semantic Technologies Part 11Direct Mapping Werner Nutt.
Relational Databases (MS Access)
PowerBuilder Online Courses - by Prasad Bodepudi
06 Dec Rev'd 07 Dec CmpE 583 Fall 2006 OWL Lite 1 OWL Lite off Textbook Ch. 11: Encoding Atilla Elçi.
ASP.NET - accessing the database - datareader vs dataset - datagrid vs datalist - brief look at web matrix.
Access Manual 2 By Dhawala Kovuri Elham S.Khorasani Ismail Guneydas.
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
USING XML AS A DATA SOURCE. Data binding is a process by which information in a data source is stored as an object in computer memory. In this presentation,
XP 1 New Perspectives on XML Binding XML Data with Internet Explorer.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Semantic Web Exam 1 Review.
Query and Reasoning. Types of Queries Most GIS queries will select spatial features Query by Attribute (Select by Attribute) –Structured Query Language.
XP New Perspectives on XML, 2 nd Edition Tutorial 8 1 TUTORIAL 8 CREATING ELEMENT GROUPS.
Access Chapter 5-Table Tricks, Advanced Queries and Custom Forms.
1 Guide to Oracle10G CHAPTER 7: Creating Database Reports 7.
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
Data, data, data In-depth session on data integration.
Forms Collecting Data CSS Class 5. Forms Create a form Add text box Add labels Add check boxes and radio buttons Build a drop-down list Group drop-down.
MySQL Importing and creating a database. CSV (Comma Separated Values) file CSV = Comma Separated Values – they are simple text files containing data which.
Page Designer Storyboard J. A. Fitzpatrick December 2004.
THE BIBFRAME EDITOR AND THE LC PILOT Module 3 – Unit 1 The Semantic Web and Linked Data : a Recap of the Key Concepts Library of Congress BIBFRAME Pilot.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
RDF and Relational Databases
B Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Working with PDF and eText Templates.
Presenting Semantic Data Through “Instance Hubs” Using Authoritative URI Design Schemes Alexei Bulazel 1 ( ), Dominic Difranzo 1 (
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
STAR, STELLAR and SKOS Ceri Binding, Phil Carlisle, Keith May, Doug Tudhope, Andreas Vlachidis University of Glamorgan and English Heritage.
CHAPTER 9 File Storage Shared Preferences SQLite.
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
Solvency II Tripartite template V2 and V3 Presentation of the conversion tools proposed by FundsXML France.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
XBRL-CSV Overview.
Lifting Data Portals to the Web of Data
Lessons Vocabulary Access 2016.
JasperReports.
From and Report.
C. Binding, K. May1, R. Souza, D. Tudhope, A. Vlachidis
Instructions BASIC POWERPOINT TEMPLATE FOOTERS
Presentation transcript:

Ceri Binding Hypermedia Research Unit, University of Glamorgan, Wales

CSV2DB TAB2DB Database SQL2CSV SQL2TAB Delimited Data SQL2STG User-defined template User-defined template RDF [other textual formats] [other textual formats] CSV2STG TAB2STG DELIM2STG SQLEXECUTE STELLAR Data Conversions XML

User Defined Templates  STELLAR uses the “StringTemplate” engine  String Template Group - text files (*.stg)  Textual templates with named placeholders, populated by data at runtime  User defined vs. inbuilt templates:  Advantage - more flexibility in output format  Disadvantage - no validation of output format 

String Template Group – layout  Delimiters  Define characters that will be used to identify start & end of named placeholders within the template  Imports  Import externally defined templates  Dictionaries  Define lookup dictionaries  Templates  Define templates

String Template Group - example // Define delimiters (if not defined, default is "$") delimiters "$", "$" // Import external templates (allows template libraries) import "myGroup.stg" // Define a lookup dictionary. Usage: my_dictionary.(“EBA”) my_dictionary ::= [ "EBA" : "Early Bronze Age", "MBA" : "Middle Bronze Age", "LBA" : "Late Bronze Age", default : key // Unknown value passed through ] // Define a template my_template1(period) ::= "Period is $my_dictionary.(period)$" // e.g. my_template("EBA")$ => "Period is Early Bronze Age"

 STELLAR.Console looks for 3 key templates: HEADER, RECORD & FOOTER delimiters "$", "$" // define delimiter character to use for data ‘placeholders’ import "MyTemplates.stg" // import to use templates held in other *.stg files // 1. HEADER is written first (if the template exists) HEADER(options) ::= "List of $options.site_name$ finds" // 2. RECORD is written once per row of input data RECORD(options, data) ::= << Find Number : $data.id$ // “id” here is the column name from the input data Find Type : $data.type$ // the placeholders get replaced by the actual data values Description : $data.desc$ $write_some_stars()$ // example of calling another user defined template >> // 3. FOOTER is written last (if the template exists) FOOTER(options) ::= "End of list" // other templates can be defined and called from main templates write_some_stars() ::= "*************" STELLAR-Specific Templates

(delimited CSV data input): id, type, desc 12345, ”hobnail”, ”Rusted nail shaft, possibly a hobnail?” 23456, ”brooch”, ”Gold brooch with inlaid mother of pearl” 34567, ”cleat”, “Heavily corroded” (template output): List of South Downs finds Find Number : Find Type : hobnail Description : Rusted nail shaft, possibly a hobnail? ************* Find Number : Find Type : brooch Description : Gold brooch with inlaid mother of pearl ************* Find Number : Find Type : cleat Description : Heavily corroded ************* End of list (HEADER) “List of $options.site_name$ finds” (HEADER) “List of $options.site_name$ finds” (RECORD) Find Number : $data.id$ Find Type : $data.type$ Description : $data.desc$ write_some_stars() (RECORD) Find Number : $data.id$ Find Type : $data.type$ Description : $data.desc$ write_some_stars() (FOOTER) “End of list” (FOOTER) “End of list” (write_some_stars) “*************” (write_some_stars) “*************” Example template input & output

delimiters "$", "$” // write RDF header HEADER(options) ::= << <rdf:RDF xmlns:rdf=" xmlns:rdfs=" >> // write RDF entities and properties based on each data row RECORD(options, data) ::= << $data.title$ >> // write RDF footer – closure of RDF element from header FOOTER(options) ::= " " Using templates to produce RDF

Template Dependencies RDF.stg CRM.stg CRMEH.stg CRMEH_GROUPS.stgCRMEH_CONTEXTS.stgCRMEH_Etc. Imports

User Defined Template Fields

Consistent URIs - Convention  Namespace prefix  E.g. “  Entity type  E.g. “EHE0007” (i.e. Context)  Identifier (data value)  E.g. “1015”  URI pattern: {prefix}{entity type}_{value}  E.g. “  Consistent identifiers facilitate incremental enrichment of data

CRM-EH entity / CRM property chain  Context A stratigraphically below Context B:  crmeh:EHE0007_Context [EHE0007_A]  crm:P7i_witnessed  crmeh:EHE1001_ContextEvent [EHE1001_A]  crm:P120_occurs_before  crmeh:EHE1001_ContextEvent [EHE1001_B]  crm:P7_took_place_at  crmeh:EHE0007_Context [EHE0007_B]

ecrm:P7_took_place_at ecrm:P120i_occurs_after crmeh:EHE1001_ContextEvent data:EHE1001_123 crmeh:EHE1001_ContextEvent data:EHE1001_123 ecrm:P7_took_place_atecrm:P7i_witnessed crmeh:EHE1001_ContextEvent data:EHE1001_456 crmeh:EHE1001_ContextEvent data:EHE1001_456 ecrm:P7i_witnessed ecrm:P120_occurs_before crmeh:EHE0007_Context data:EHE0007_123 crmeh:EHE0007_Context data:EHE0007_123 crmeh:EHE0007_Context data:EHE0007_456 crmeh:EHE0007_Context data:EHE0007_456 Example: CRMEH_CONTEXTS: strat_lower_id Resultant template output Example template input Data model

Browsing RDF Data (“Gruff” tool)  Import, consolidation, browsing & querying of RDF data

Querying RDF Data - SPARQL  Structured semantic queries  Similar(ish) syntax to SQL  Use same query across multiple datasets  Possibly develop templates to build queries?

XML encoding / URL Encoding / MD5 encoding Body text

Issues Validation of output Versioning of templates

STELLAR.Win

Ceri Binding Hypermedia Research Unit, University of Glamorgan, Wales