Lattice 2004Chris Maynard1 QCDml Tutorial How to mark up your configurations.

Slides:



Advertisements
Similar presentations
CNES implementation of the ISO standard An extension of the current CNES implementation of the ISO metadata standard.
Advertisements

XML: Extensible Markup Language
XHTML Basics.
An Introduction to XML Based on the W3C XML Recommendations.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
XML File Format Used By LOR2 to Save Sequences The XML format used by LOR2 makes it easier for users to view and edit a sequence file outside of LOR with.
Tutorial 2: XML Working with Namespaces. COMBINING XML VOCABULARIES IN A COMPOUND DOCUMENT Section 2.1.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
XML Fundementals XML vs.. HTML XML vs.. HTML XML Document (elements vs. attributes) XML Document (elements vs. attributes) XML and RDBMS XML and RDBMS.
WORKING WITH NAMESPACES
QCDgrid Technology James Perry, George Beckett, Lorna Smith EPCC, The University Of Edinburgh.
 By the end of this, you should be able to state the difference between DATE and INFORMAITON.
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
ILDG5QCDgrid1 QCDgrid status report UKQCD data grid Chris Maynard.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
Dr Chris Maynard Application Consultant, EPCC Muttering about metadata Report from the Metadata work group.
QCDgrid UKQCD Achievements and Future Priorities Who and what Achievements QCDgrid middleware Future priorities Demo of meta-data catalogue browser Alan.
Zhonghua Qu and Ovidiu Daescu December 24, 2009 University of Texas at Dallas.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
XP New Perspectives on XML Tutorial 6 1 TUTORIAL 6 XSLT Tutorial – Carey ISBN
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
WORKING WITH XSLT AND XPATH
Report from Metadata Working Group ILDG7 (Dec.08,2005) T.Yoshie for MDWG CCS,Tsukuba ILDG6  file format was proposed and approved  QCDml1.1 had been.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 6 XSLT (Based on Møller and Schwartzbach,
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
QCDGrid Progress James Perry, Andrew Jackson, Stephen Booth, Lorna Smith EPCC, The University Of Edinburgh.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
ILDG Middleware Status Chip Watson ILDG-6 Workshop May 12, 2005.
ILDG Middleware Status Bálint Joó UKQCD University of Edinburgh, School of Physics on behalf of ILDG Middleware Working Group alternative title: Report.
Lattice QCD Data Grid Middleware: status report M. Sato, CCS, University of Tsukuba ILDG6, May, 12, 2005.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
XP New Perspectives on XML, 2nd Edition Tutorial 2 1 TUTORIAL 2 WORKING WITH NAMESPACES.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
Dr Chris Maynard Application Consultant, EPCC Tools for ILDG.
Report from Metadata Working Group ILDG9 (Dec.01,2006) T. Yoshie for MDWG CCS,Tsukuba ILDG8  QCDml1.3 solved all known issues, except “action normalization”
1 Updates of the QCDml ILDG11 (Nov.30,2007) T. Yoshie for MDWG CCS,Tsukuba revised the QCDml twice Ensemble1.4.1 (June 03) anisotropic action, link smearing.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Marking up lattice QCD configurations and ensembles for ILDG Metadata Working Group P.Coddington, B.Joo, C.Maynard, D.Pleiter, T.Yoshie Working group members.
1 Metadata Working G roup Report Members (fixed in mid-January) G.AndronicoINFN,Italy P.CoddingtonAdelaide,Australia R.EdwardsJlab,USA C.MaynardEdinburgh,UK.
Lattice QCD Data Grid Middleware: Meta Data Catalog (MDC) -- CCS ( tsukuba) proposal -- M. Sato, for ILDG Middleware WG ILDG Workshop, May 2004.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
COP 3813 Intro to Internet Computing Prof. Roy Levow XML.
1 Metadata WG Status Report QCDML v1.0 –proposed at ILDG4 (May,2004) –presented at Lattice 2004 (talk: Dirk Pleiter, tutorial: Chris.
RSS Interfaces and Standards Chander Iyer. Really Simple Syndication (RSS) Web data format providing users with frequently updated content. Make a collection.
The Semantic Web. What is the Semantic Web? The Semantic Web is an extension of the current Web in which information is given well-defined meaning, enabling.
May 2005 PPARC e-Science PG School1 QCDgrid Chris Maynard A Grid for UKQCD National collaboration for lattice QCD.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
1 Updates to the QCDml and sharing quark propagators ILDG12 (May.23,2008) T. Yoshie for MDWG CCS,Tsukuba two revisions to QCDml  new actions overlap quark.
PART 1 XML Basics. Slide 2 Why XML Here? You need to understand the basics of XML to do much with Android All of they layout and configuration files are.
© Dr. Graham Rollings Dr. Graham Rollings, 09 June 2016 HTML & CSS A very High-level Introduction.
XSLT, XML Schema, and XPath Matt McClelland. Introduction XML Schema ▫Defines the content and structure of XML data. XSLT ▫Used to transform XML documents.
Text2PTO: Modernizing Patent Application Filing A Proposal for Submitting Text Applications to the USPTO.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
ILDG MDWG report Chris Maynard. ILDG Status QCDml1.3  Issues outstanding at ILDG7 –Management –Ensemble observables –Valid.
Unit 4 Representing Web Data: XML
XML QUESTIONS AND ANSWERS
ILDG Implementation Status
Chapter 7 Representing Web Data: XML
Testing RESTful Web APIs
Presentation transcript:

Lattice 2004Chris Maynard1 QCDml Tutorial How to mark up your configurations

Lattice 2004Chris Maynard2 Contents  FAQs on using XML schema  Defining QCDml –Namespaces and validation  Example XML IDs –Ensemble and config Ensemble: actions, algorithms and management metadata Config: what goes where  Babble about BinX  Metadata catalogue demo

Lattice 2004Chris Maynard3 FAQs about XML schema  What is XML schema? –Collection of rules for XML documents –An XML schema is itself an XML document  Why do we need an XML schema? –Computers can read and understand XML IDs – 16 –Meaning of length is context dependent  Do I need to learn XML schema –No. Schema makes it easier to produce XML

Lattice 2004Chris Maynard4 QCDml1.0  Metadata split into two schemata –Ensemble XML –Config XML N.B. use lowerCamelConvention  ILDG website for XML schema files – –Go to Metadata and follow links –Version 1.0 online and ready to use

Lattice 2004Chris Maynard5 Namespaces  Example XML ID for UKQCD data  XML Namespace defined by W3.org as  A collection of names identified by a URI reference

Lattice 2004Chris Maynard6 First namespace  URI defines namespace for QCDml  This is the default namespace  All elements of QCDml belong to this namespace

Lattice 2004Chris Maynard7 Second namespace  Namespace of XML schema itself  Prefix for elements of XML schema  XML ID is valid against WC3 XML schema

Lattice 2004Chris Maynard8 SchemaLocation  The namespace of the schema  The file which contains the schema  URI namespace can be URL of the schema instance – not compulsory

Lattice 2004Chris Maynard9 Logical filename  Unique URI for a file in a namespace  Uniquely identifies this ensemble in ILDG namespace

Lattice 2004Chris Maynard10 Validation  Verify XML ID is valid against a schema –Schema aware applications can use XML ID  Can write XML in vi,emacs etc  CMM uses XMLSpy for schema and ID manipulation –built in validator, create XML ID from schema  –Many different tools

Lattice 2004Chris Maynard11 QCDml Ensemble Split into quark and gluon sections UML representation of schema

Lattice 2004Chris Maynard12 Ensemble XML - actions  Inheritance tree - check for your action in schema

Lattice 2004Chris Maynard13 Which elements?  Schema defines required elements  UKQCD NP clover

Lattice 2004Chris Maynard14 UKQCD Ensemble example Glossary: not computer readable How c SW was determined References etc

Lattice 2004Chris Maynard15 NumberOfFlavours Number of degenerate flavours for which these coupling values apply

Lattice 2004Chris Maynard16 MILC 2+1 staggered Ensemble is array valued Non-degenerate flavours shown with different couplings Mass 0.02 Mass 0.05

Lattice 2004Chris Maynard17 Management  Metadata created when Ensemble registered with ILDG  Yet to be created middleware will do this

Lattice 2004Chris Maynard18 Algorithm  Algorithmic metadata split between ensemble and algorithm  Most metadata is unconstrained parameter pairs  Relevant information can be found –Glossary document for references etc  Hierarchical structure for algorithms is –difficult to create –difficult to make extenisble

Lattice 2004Chris Maynard19 Algorithm: Example Glossary for detailed information Unconstrained parameter pairs

Lattice 2004Chris Maynard20 Config XML Machine and code details In principle these could be different for configurations in the same ensemble

Lattice 2004Chris Maynard21 Config Management Checksum for config binary Zeroeth is generate data, as this occurs before submission to ILDG

Lattice 2004Chris Maynard22 Precision Precision (double or float) in which the calculation was done

Lattice 2004Chris Maynard23 markovStep Logical File name of the ensemble in the ILDG namespace

Lattice 2004Chris Maynard24 dataLFN Logical File name of the configuration in the ILDG namespace

Lattice 2004Chris Maynard25 The markov chain Where the configuration is in the trajectory of markov chain

Lattice 2004Chris Maynard26 avePlaquette Very useful metadata, can be used to check data transformations are correct

Lattice 2004Chris Maynard27 Config: UKQCD example Application codes can write this info either as QCDml Or tool can convert the IO to QCDml

Lattice 2004Chris Maynard28 BinX  XML markup for binary data  Library for manipulating marked up data  Production codes do not use BinX library –But easy to mark up data format in BinX style –ILDG middleware can use BinX for data manipulations –  BinX under discussion by Middleware + Metadata WG for file format.

Lattice 2004Chris Maynard29 Gauge config BinX Small Written once per ensemble write code on top of BinX library Change array order 2x3  3x3 average plaquette ILDG BinX based gauge config manipulator?

Lattice 2004Chris Maynard30 Correlator data Compact. No standard shape to correlators BinX will read in any shape

Lattice 2004Chris Maynard31 Array stripper BinX + BJ’s Xpath reader Code reads this XML Produces single slice array in text/XML From any size/shape array Schema for correlator channels ILDG middleware extract channel from any correlator

Lattice 2004Chris Maynard32 Correlator dictionary  Possible QCDml extension  Correlator AP code knows channel details –IO AP write dictionary Channel n is zero p pion  User requests pion –Stripper reads dictionary to find pion –Pulls channel n from correlator  Very easy to read other peoples data!

Lattice 2004Chris Maynard33 Metadata demonstration  UKQCD metadata catalogue –Browser is based on OGSA-DIA –Open source You can get it at  Browser reads the schema –Build XPath query graphically –Result handler Display XML and GET data Render web page of results? Create XML IDs?

Lattice 2004Chris Maynard34 ILDG metadata  ILDG proposal: –All collaborations publish metadata  Example method –UKQCD metadata catalogue access is not authenticated –Anyone can read it  ILDG aggregation of metadata catalogues –Mark up data in QCDml –No extra effort required.