EXAMINATIONS 2015 TRIMESTER 1 S W E N A D V A N C E D D A T A B A S E D E S IG N A N D IM P L E M E N T A T IO N. Appendix
|
|
- Darcy Day
- 5 years ago
- Views:
Transcription
1 EXAMINATIONS 2015 TRIMESTER 1 S W E N A D V A N C E D D A T A B A S E D E S IG N A N D IM P L E M E N T A T IO N Instructions: Appendix Do not hand this Appendix in. Do not write your answers on this Appendix. Contents: 1. Clinics Database Description 2. A Selection of CQL 3.1 Statements 3. A Selection of MongoDB Methods 4. XML Schema Clinics.xsd 5. A Valid Clinics.xml Document 6. The Syntax of an Identity Constraint 7. An Approximate Structure of an XQUERY Query Page 1 of 14
2 1. Clinics Database Description 1.1. Overview The clinics database should contain data about clinics, doctors, patients, and examinations. The most important clinic business rules are: 1. Each doctor is a specialist for only one group of diseases. 2. There may be more than one specialist for the same group of diseases at a clinic. 3. Each examination is performed at a single clinic. 4. In each examination a doctor makes a diagnosis. 5. A patient may be examined for a group of diseases at most once in a day. 6. At a given clinic, for a given group of diseases, a patient is always examined by the same doctor. 7. At different clinics, the same patient may be examined by the same or a different doctor for a given group of diseases. 8. A patient is examined by another specialist if he/she suffers from a disease of another group. 9. A doctor may work for several clinics Description of Database Entities The clinics database should store minimally the following properties of a: Clinic: a) A unique name of the type string. b) An address of the type string. c) A set (or list) of disease group names (of the type string) that are practiced at the clinic. Doctor: a) A unique name of the type string. b) An address of the type string. c) The disease group name (of the type string) the doctor is a specialist for. Patient: a) A unique name of the type string. b) An address of the type string. c) A list of disease groups he/she suffers. Examination: a) The date of the examination of the type int having the format yyyymmdd. b) The diagnosis of the type string. Note: An examination is a ternary relationship between a clinic, a doctor, and a patient having above listed properties. Page 2 of 14
3 1.3. User Interface The database application should present the users with the following information: a) A list of all clinics with their data. b) For a given clinic a list of doctors who practice at the clinic with their personal data. c) For a given doctor the number of examinations he made on a given date at a given clinic. d) Full information about a given patient. e) For a given patient the most recent examination for a given disease group. The query output should contain: clinic s name, doctor s name, patient s name, disease group, diagnosis, and date Sample Data Clinic name address disease groups Panacea Clinic Lower Hutt Cardio-Vascular, General Surgery, Internal Diseases, Ophthalmology Recovery Guaranteed Clinic Upper Hutt Cardio-Vascular, Muscle and Bone Diseases, Pulmonary Diseases Doctors at Panacea Clinic name address disease group James Wellington Cardio-Vascular Joan Lower Hutt Internal Diseases John Wellington Cardio-Vascular Doctors at Recovery Guaranteed Clinic name address disease group Joan Lower Hutt Internal Diseases Mike Lower Hutt Pulmonary Diseases Matthew Porirua Cardio-Vascular Mary Upper Hutt Muscle and Bone Diseases Patients name address disease group Jim Lower Hutt Cardio-Vascular, Pulmonary Diseases Paul Upper Hutt Internal Diseases Ann Lower Hutt Cardio-Vascular Shirley Wellington Muscle and Bone Diseases Page 3 of 14
4 Examinations clinic doctor patient date diagnosis Panacea Clinic Panacea Clinic Panacea Clinic Recovery Guaranteed Clinic Recovery Guaranteed Clinic James Jim Heart Attack James Jim Clogged Arteries Joan Paul Diarrhea Matthew Jim Extra Systole Mary Shirley Arthritis Page 4 of 14
5 2. A selection of CQL 3.1 Statements KEY SPACE CREATE KEYSPACE <ks_name> WITH REPLICATION = <value> where the value of the REPLICATION may be: { class : NetworkTopologyStrategy <datacenter_name>: <replication_factor>, <datacenter_name>: <replication_factor>}; or {'class': 'SimpleStrategy','replication_factor': <integer>}; USE USE <ks_name>; CREATE TABLE CREATE TABLE <column_family_name> ( <column_name> <type>, [<column_name> <type>, ] PRIMARY KEY ((partition key), clustering key) ) [WITH <option_name> = <value> [AND <option_name> = <value> [ ]]]); Where: a partition or a clustering key is <column_name>, [<column_name>, ] an option_name and value can be: CLUSTERING ORDER BY (<column_name> ASC DESC), or COMPACTION = { class = LeveledCompactionStrategy } A primary key is the only compulsory entry of a table. It can also be defined inline: <column_name> <type> [primary key], but a table is allowed to contain one key only. CONSISTENCY CONSISTENCY <consistency_level>; where consistency_level is a value from the set {ONE, TWO, THREE, ALL, QUORUM,LOCAL_QUORUM, EACH_QUORUM} INSERT INSERT INTO <table_name> (<column_name_1>[, <column_name_2>, ]) VALUES (<value_1>[, <value_2>, ])[IF EXISTS]; Page 5 of 14
6 UPDATE UPDATE <table_name> SET <column_name> = <value> [WHERE <column_name> comp <value> [AND <column_name> comp <value> [ ]]]; where comp is a value from the set {=, <, >, <, >, <>}. SELECT SELECT {<list_of_column_names> *} FROM <table_name> [WHERE <column_name> comp <value> [AND <column_name> comp <value> [ ]]] [ORDER BY <list_of_column_names>] [LIMIT <value>]; where * replaces the list of all column names of a table. Collection Type column_name <collection_type><cql_type> where collection_type is one of set, list, map and cql_type is a type like: int, text, date, Page 6 of 14
7 3. A selection of MongoDB Methods Find db.collection.find(query, projection).<query modifier>[.<query modifier>] where: The parameter query is of the type document and specifies selection criteria using query operators. If omitted the method returns the whole collection. The parameter projection is of the type document and specifies the fields to return using projection operators. If omitted the method returns all fields in the documents matching the query document. Query Operators <field_name>: {$<operator>: <value>} <field_name>: {$<operator>: <value>, $<operator>: <value>} Equality comparison: <field_name>: <value> Some of the other operators: $ne, $gt, $gte, $lt, $lte. Projection Operators A projection document may either specify: A list of fields to return (designated by {<field_name>: 1}), or A list of fields to exclude (designated by {<field_name>: 0}) The exclusion of _id field can be mixed with fields to return Query Modifiers sort() limit() skip() Single Purpose Aggregation count() db.collection.count(query) The parameter query is of the type document and contains the query selection criteria. distinct() db.collection.distinct(field, query) where: The parameter field is of the type string and denotes the field for which the method returns distinct values. The parameter query is of the type document and contains the query selection criteria. Page 7 of 14
8 Pipelined Aggregation db.collection.aggregate([{<stage>},...]) A stage contains a stage operator and a stage document. A stage document may use expression documents as its parameters. An expression document contains an expression operator with an array of arguments. Stage Operators $group: $limit: $match: $group: $limit: $match: skip: $sort: $unwind: Pipeline Expression Operators {<operator>: [<argument1>,... ] } If an operator accepts a single argument: {<operator>: <argument>} Accumulator Expression Operators $addtoset $avg $first $last $max $min $push $sum Page 8 of 14
9 4. XML Schema Clinics.xsd <xsd:schema xmlns:xsd=" <xsd:element name="clinics" type = "ClinicsType"/> <xsd:complextype name = "ClinicsType"> <xsd:sequence> <xsd:element name="clinic" maxoccurs = "unbounded" type="clinictype"/> <xsd:element name="doctors" type="doctorstype" /> <xsd:element name="patients" type="patientstype"/> </xsd:sequence> <xsd:complextype name = "ClinicType"> <xsd:sequence> <xsd:element name = "Name" type = "xsd:string"/> <xsd:element name = "Address" type = "xsd:string"/> <xsd:element name = "Disease_Group" maxoccurs = "unbounded" type = "xsd:string"/> <xsd:element name = "Examination" minoccurs = "0" maxoccurs = "unbounded" type = "ExaminationType"/> </xsd:sequence> <xsd:complextype name="examinationtype"> <xsd:sequence> <xsd:element name="exam_doctor" type = "ExamDoctorType"/> <xsd:element name="exam_patient" type = "ExamPatientType"/> <xsd:element name="disease_group" type = "xsd:string"/> <xsd:element name="diagnosis" type = "xsd:string"/> </xsd:sequence> <xsd:attribute name = "date" type="xsd:int" use="required"/> <xsd:complextype name = "ExamDoctorType"> <xsd:attribute name = "name" type="xsd:string" use="required"/> <xsd:complextype name = "ExamPatientType"> <xsd:attribute name = "name" type="xsd:string" use="required"/> Page 9 of 14
10 <xsd:complextype name = "DoctorsType"> <xsd:sequence> <xsd:element name="doctor" maxoccurs = "unbounded" type = "DoctorType"/> </xsd:sequence> <xsd:complextype name="doctortype"> <xsd:sequence> <xsd:element name="name" type = "xsd:string"/> <xsd:element name="address" type = "xsd:string"/> <xsd:element name="disease_group" type = "xsd:string"/> <xsd:element name="doc_clinic" maxoccurs = "unbounded" type = "xsd:string"/> </xsd:sequence> <xsd:complextype name = "PatientsType"> <xsd:sequence> <xsd:element name="patient" maxoccurs = "unbounded" type = "PatientType"/> </xsd:sequence> <xsd:complextype name="patienttype"> <xsd:sequence> <xsd:element name="name" type = "xsd:string"/> <xsd:element name="address" type = "xsd:string"/> <xsd:element name="disease_group" maxoccurs = "unbounded" type = "xsd:string"/> </xsd:sequence> </xsd:schema> Page 10 of 14
11 5. A Valid Clinics.xml Document <?xml version="1.0" standalone="no"?> <Clinics> <Clinic> <Name>Panacea Clinic</Name> <Address>Lower Hutt</Address> <Disease_Group>General Sergery</Disease_Group> <Disease_Group>Internal Diseases</Disease_Group> <Disease_Group>Ophtalmology</Disease_Group> <Examination date = " "> <Exam_Doctor name = "James"/> <Exam_Patient name = "Jim"/> <Diagnosis>Heart Attack</Diagnosis> </Examination> <Examination date = " "> <Exam_Doctor name = "James"/> <Exam_Patient name = "Jim"/> <Diagnosis>Clogged Arteries</Diagnosis> </Examination> <Examination date = " "> <Exam_Doctor name = "Joan"/> <Exam_Patient name = "Paul"/> <Disease_Group>Internal Diseases</Disease_Group> <Diagnosis>Diarrhea</Diagnosis> </Examination> </Clinic> <Clinic> <Name>Recovery Guaranteed</Name> <Address>Upper Hutt</Address> <Disease_Group>Muscle and Bone Diseases</Disease_Group> <Disease_Group>Pulmonary Diseases</Disease_Group> <Examination date = " "> <Exam_Doctor name = "Matthew"/> <Exam_Patient name = "Jim"/> <Diagnosis>Extra Systole</Diagnosis> </Examination> Page 11 of 14
12 <Examination date = " "> <Exam_Doctor name = "Shirley"/> <Exam_Patient name = "Mary"/> <Disease_Group>Muscle and Bone Diseases </Disease_Group> <Diagnosis>Arthritis</Diagnosis> </Examination> </Clinic> <Doctors> <Doctor> <Name>James</Name> <Address></Address> <Doc_Clinic>Panacea Clinic</Doc_Clinic> </Doctor> <Doctor> <Name>Joan</Name> <Address>Lower Hutt</Address> <Disease_Group>Internal Diseases</Disease_Group> <Doc_Clinic>Panacea Clinic</Doc_Clinic> <Doc_Clinic>Recovery Guaranteed</Doc_Clinic> </Doctor> <Doctor> <Name>John</Name> <Address>Wellington</Address> <Doc_Clinic>Panacea Clinic</Doc_Clinic> </Doctor> <Doctor> <Name>Mike</Name> <Address>Lower Hutt</Address> <Disease_Group>Pulmonary Diseases</Disease_Group> <Doc_Clinic>Recovery Guaranteed</Doc_Clinic> </Doctor> <Doctor> <Name>Matthew</Name> <Address>Porirua</Address> <Doc_Clinic>Recovery Guaranteed</Doc_Clinic> </Doctor> Page 12 of 14
13 <Doctor> <Name>Mary</Name> <Address>Upper Hutt</Address> <Disease_Group>Muscle and Bone Diseases </Disease_Group> <Doc_Clinic>Recovery Guaranteed</Doc_Clinic> </Doctor> </Doctors> <Patients> <Patient> <Name>Jim</Name> <Address>Lower Hutt</Address> <Disease_Group>Pulmonary Diseases</Disease_Group> </Patient> <Patient> <Name>Paul</Name> <Address>Uppar Hutt</Address> <Disease_Group>Internal Diseses</Disease_Group> </Patient> <Patient> <Name>Ann</Name> <Address>Lower Hutt</Address> </Patient> <Patient> <Name>Shirley</Name> <Address>Wellington</Address> <Disease_Group>Muscle and Bone Diseses </Disease_Group> </Patient> </Patients> </Clinics> Page 13 of 14
14 6. The Syntax of an Identity Constraint <xsd:constraint_type name= constraint_name > <xsd:selector xpath= e1/ /en /> <xsd:field xpath= cn+1/ /field_name /> </xsd:constraint_type> where ei (1 < i < n) is an element, and cn+1 is either a simple and single element or an attribute, and constraint_type is one of: unique, key, keyref. 7. An Approximate Structure of an XQuery Query for $x in <xpath_expression> let $y:= <xpath_expression> [where <condition>] [order by] return element_constructor Useful functions: fn:doc() fn:distinct-values() Aggregate functions: fn:sum(),fn:count(),fn:average() ******************************************** Page 14 of 14 end
EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 12. 01. 2016 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will
More informationHTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the <mymadeuptag> element and generally do their best
1 2 HTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the element and generally do their best when dealing with badly placed HTML elements. The
More informationCSC Web Programming. Introduction to SQL
CSC 242 - Web Programming Introduction to SQL SQL Statements Data Definition Language CREATE ALTER DROP Data Manipulation Language INSERT UPDATE DELETE Data Query Language SELECT SQL statements end with
More informationQuerying XML Data. Querying XML has two components. Selecting data. Construct output, or transform data
Querying XML Data Querying XML has two components Selecting data pattern matching on structural & path properties typical selection conditions Construct output, or transform data construct new elements
More informationXML. XML Namespaces, XML Schema, XSLT
XML XML Namespaces, XML Schema, XSLT Contents XML Namespaces... 2 Namespace Prefixes and Declaration... 3 Multiple Namespace Declarations... 4 Declaring Namespaces in the Root Element... 5 Default Namespaces...
More informationCopyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1
Slide 27-1 Chapter 27 XML: Extensible Markup Language Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema.
More informationHR-XML Schema Extension Recommendation, 2003 February 26
HR-XML Schema Extension Recommendation, 2003 February 26 This version: HRXMLExtension.doc Previous version: HRXMLExtension-1_0.doc Editor: Paul Kiel, HR-XML, paul@hr-xml.org Authors: Paul Kiel, HR-XML,
More informationIII General Acknowledgement message. Acknow. Workgroup Document version: A. Version 5.0 SECTION
1 2 3 4 5 SECTION III General Acknowledgement Message Acknow 6 Version 5.0 Edig@s 7 8 9 10 EASEE-gas/Edig@s Workgroup Document version: A ACKNOW Version 5.0 / 2010-02-17 III - 1 11 COPYRIGHT & LIABILITY
More informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 10. 01. 2017 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will
More informationEMERGING TECHNOLOGIES. XML Documents and Schemas for XML documents
EMERGING TECHNOLOGIES XML Documents and Schemas for XML documents Outline 1. Introduction 2. Structure of XML data 3. XML Document Schema 3.1. Document Type Definition (DTD) 3.2. XMLSchema 4. Data Model
More informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 28. 10. 2016 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will
More informationSession [2] Information Modeling with XSD and DTD
Session [2] Information Modeling with XSD and DTD September 12, 2000 Horst Rechner Q&A from Session [1] HTML without XML See Code HDBMS vs. RDBMS What does XDR mean? XML-Data Reduced Utilized in Biztalk
More information[MS-WORDLFF]: Word (.xml) Co-Authoring File Format in Document Lock Persistence Structure
[MS-WORDLFF]: Word (.xml) Co-Authoring File Format in Document Lock Persistence Structure Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes
More informationOverview. Introduction to XML Schemas. Tutorial XML Europe , Berlin. 1 Introduction. 2 Concepts. 3 Schema Languages.
Introduction to XML Schemas Tutorial XML Europe 2001 21.5.2001, Berlin Ulrike Schäfer. www.infotakt.de. slide 1 Overview 1 Introduction q Why are Schemas? 2 Concepts q What are schemas? 3 Schema Languages
More informationGestão e Tratamento de Informação
Departamento de Engenharia Informática 2013/2014 Gestão e Tratamento de Informação 1st Project Deadline at 25 Oct. 2013 :: Online submission at IST/Fénix The SIGMOD Record 1 journal is a quarterly publication
More informationMongoDB. Nicolas Travers Conservatoire National des Arts et Métiers. MongoDB
Nicolas Travers Conservatoire National des Arts et Métiers 1 Introduction Humongous (monstrous / enormous) NoSQL: Documents Oriented JSon Serialized format: BSon objects Implemented in C++ Keys indexing
More informationSoftware User Manual
Software User Manual for A lightweight and modular expert system shell for the usage in decision support system Version 1.7 Revision history Version Date Description Author 1.0 29.04.2011 Initial revision
More informationPart 2: XML and Data Management Chapter 6: Overview of XML
Part 2: XML and Data Management Chapter 6: Overview of XML Prof. Dr. Stefan Böttcher 6. Overview of the XML standards: XML, DTD, XML Schema 7. Navigation in XML documents: XML axes, DOM, SAX, XPath, Tree
More informationHow to Make Your Data Available through the EN Browser
How to Make Your Data Available through the EN Browser 1 Overview Making your data available through the EN Browser can be completed in 3 steps. This document guides you through these steps. 2 Step 1:
More informationCreating Coverage Zone Files
APPENDIXC The following sections describe the Coverage Zone file elements and provide several Coverage Zone file examples: Coverage Zone File Elements, page C-1 Zero-IP Based Configuration, page C-2 Coverage
More informationA NOVEL MECHANISM FOR MEDIA RESOURCE CONTROL IN SIP MOBILE NETWORKS
A NOVEL MECHANISM FOR MEDIA RESOURCE CONTROL IN SIP MOBILE NETWORKS Noël CRESPI, Youssef CHADLI, Institut National des Telecommunications 9, rue Charles Fourier 91011 EVRY Cedex FRANCE Authors: N.Crespi,
More informationCMS Note Mailing address: CMS CERN, CH-1211 GENEVA 23, Switzerland
CMS NOTE 2003/xx The Compact Muon Solenoid Experiment CMS Note Mailing address: CMS CERN, CH-1211 GENEVA 23, Switzerland 2003-07-03 Migration of the XML Detector Description Data and Schema to a Relational
More informationISLE Metadata Initiative (IMDI) PART 3 A. Vocabulary Taxonomy and Structure
ISLE Metadata Initiative (IMDI) PART 3 A Vocabulary Taxonomy and Structure Draft Proposal Version 1.1 December, 2001 IMDI 1 Technical Report Max-Planck-Institute for Psycholinguistics NL, Nijmegen 1 For
More informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 23. 10. 2015 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will
More informationAggregation in MongoDB. Overview. Pipelining. .. Cal Poly CPE/CSC 369: Distributed Computations Alexander Dekhtyar..
.. Cal Poly CPE/CSC 369: Distributed Computations Alexander Dekhtyar.. Overview Aggregation in MongoDB MongoDB as a powerful aggregation and pipelining framework that allows for multple operations to take
More informationSwinburne Research Bank
Swinburne Research Bank http://researchbank.swinburne.edu.au Liu, C., Vincent, M. W., & Liu, J. (2006). Constraint preserving transformation from relational schema to XML schema. Originally published in
More informationInformation Systems. DTD and XML Schema. Nikolaj Popov
Information Systems DTD and XML Schema Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria popov@risc.uni-linz.ac.at Outline DTDs Document Type Declarations
More informationKnowledge Engineering pt. School of Industrial and Information Engineering. Test 2 24 th July Part II. Family name.
School of Industrial and Information Engineering Knowledge Engineering 2012 13 Test 2 24 th July 2013 Part II Family name Given name(s) ID 3 6 pt. Consider the XML language defined by the following schema:
More informationGroup-B Assignment No. 15
Group-B Assignment No. 15 R N Oral Total Dated Sign (2) (5) (3) (10) Title of Assignment: aggregation and indexing using MongoDB. Problem Definition: Aggregation and indexing with suitable example using
More informationSticky and Proximity XML Schema Files
APPENDIX B Sticky and Proximity XML Schema Files This appendix describes how you can use the two XML schema files, included with the GSS, to describe and validate the sticky XML and proximity XML output
More informationCisco Unified IP Phone Services XML Schema File
APPENDIXB Cisco Unified IP Phone Services XML Schema File These sections provide details about the XML schema supported on Cisco Unified IP Phones: Updated XML Parser and Schema Enforcement CiscoIPPhone.xsd
More informationCisco Unified IP Phone Services XML Schema File
APPENDIXB Cisco Unified IP Phone Services XML Schema File These sections provide details about the XML schema supported on Cisco Unified IP Phones: Updated XML Parser and Schema Enforcement CiscoIPPhone.xsd
More informationOracle B2B 11g Technical Note. Technical Note: 11g_005 Attachments. Table of Contents
Oracle B2B 11g Technical Note Technical Note: 11g_005 Attachments This technical note lists the attachment capabilities available in Oracle B2B Table of Contents Overview... 2 Setup for Fabric... 2 Setup
More informationXML DTDs and Namespaces. CS174 Chris Pollett Oct 3, 2007.
XML DTDs and Namespaces CS174 Chris Pollett Oct 3, 2007. Outline Internal versus External DTDs Namespaces XML Schemas Internal versus External DTDs There are two ways to associate a DTD with an XML document:
More informationDTD MIGRATION TO W3C SCHEMA
Chapter 1 Schema Introduction The XML technical specification identified a standard for writing a schema (i.e., an information model) for XML called a document type definition (DTD). 1 DTDs were a carryover
More informationChapter 3 Brief Overview of XML
Slide 3.1 Web Serv vices: Princ ciples & Te echno ology Chapter 3 Brief Overview of XML Mike P. Papazoglou & mikep@uvt.nl Slide 3.2 Topics XML document structure XML schemas reuse Document navigation and
More information<xsd:element name="name" maxoccurs="1" minoccurs="0" <xsd:element name="parentaccountid" maxoccurs="1" minoccurs="0" <xsd:element name="parentaccounti
More information
A namespace prefix is defined with a xmlns attribute using the syntax xmlns:prefix="uri".
Question 1 XML Syntax and Basics (a) What are 'namespaces' used for in relation to XML and how are they applied to an XML document?(2 marks) Namespaces are used to avoid element name conflicts when using/mixing
More informationCisco IOS XML-PI Command Reference
Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 2017 Cisco Systems, Inc. All rights
More informationXML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr.
COSC 304 Introduction to Database Systems XML Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca XML Extensible Markup Language (XML) is a markup language that allows for
More informationXML Schema Design Rules and Conventions (DRC) Interim Update For the Exchange Network
XML Schema Design Rules and Conventions (DRC) Interim Update For the Exchange Network Version: 1.1 DEPRECATED Revision Date: 04/06/2006 APRIL 6, 2006 PREPARED BY WINDSOR SOLUTIONS, INC ACKNOWLEDGEMENTS
More informationXML (4) Extensible Markup Language
XML (4) Extensible Markup Language Acknowledgements and copyrights: these slides are a result of combination of notes and slides with contributions from: Michael Kiffer, Arthur Bernstein, Philip Lewis,
More informationIntroduction. " Documents have tags giving extra information about sections of the document
Chapter 10: XML Introduction! XML: Extensible Markup Language! Defined by the WWW Consortium (W3C)! Originally intended as a document markup language not a database language " Documents have tags giving
More informationCA Data Protection. Account Import XML Schema Guide. Release 15.0
CA Data Protection Account Import XML Schema Guide Release 15.0 This Documentation, which includes embedded help systems and electronically distributed materials (hereinafter referred to as the Documentation
More informationPPS (Production Planning and Scheduling) Part 3: Profile Specifications, Version 1.0
PPS (Production Planning and Scheduling) Part 3: Profile Specifications, Version 1.0 Committee Specification 01 Revision 01 21 Sep 2009 Specification URIs: http://docs.oasis-open.org/pps/v1.0/pps-profile-specifications-1.0-cs01-r01.doc
More informationAtlas WFS Recordings Service
Version EN160212 1.12 Final Date: 12 February 2016 2 Version history Version Status Date Details of change Author(s) 1.0 Final 15 Oct 2010 Initial version 1.1 Final 1 Nov 2011 Version 1.1 of schema: support
More informationAn alternative approach to store electronic data: the role of XML
An alternative approach to store electronic data: the role of XML Leuven 2003 FOR $l IN document( wwwestvipvpt/biblioteca/bdbiblioxml ) //livro WHERE $l/editora/nome = FCA AND $l/ano > 1995 RETURN $l/autor
More informationImprovements in WSOL Grammar and Premier WSOL Parser. Kruti Patel, Bernard Pagurek, Vladimir Tosic. Research Report SCE October 2003
Improvements in WSOL Grammar and Premier WSOL Parser Kruti Patel, Bernard Pagurek, Vladimir Tosic Research Report SCE-03-25 October 2003 The Department of Systems and Computer Engineering, Carleton University,
More informationA Dynamic Exchange Language layer for RUBE
A Dynamic Exchange Language layer for RUBE Jinho Lee a and Paul Fishwick a a Department of Computer and Information Science Engineering, University of Florida Gainesville, Florida, USA ABSTRACT There exist
More informationEXAMINATIONS 2009 END-YEAR. COMP302 / SWEN304 Database Systems / Database System Engineering. Appendix
EXAMINATIONS 2009 END-YEAR COMP302 / SWEN304 Database Systems / Database System Engineering Appendix Do not hand this Appendix in. Do not write your answers on this Appendix. Contents: Appendix A. COMPANY
More informationThe main problem of DTD s...
The main problem of DTD s... They are not written in XML! Solution: Another XML-based standard: XML Schema For more info see: http://www.w3.org/xml/schema XML Schema (W3C) Thanks to Jussi Pohjolainen TAMK
More informationWHITE PAPER. Query XML Data Directly from SQL Server Abstract. DilMad Enterprises, Inc. Whitepaper Page 1 of 32
WHITE PAPER Query XML Data Directly from SQL Server 2000 By: Travis Vandersypen, President of DilMad Enterprises, Inc. Abstract XML is quickly becoming the preferred method of passing information, not
More informationWeek 2: Lecture Notes. DTDs and XML Schemas
Week 2: Lecture Notes DTDs and XML Schemas In Week 1, we looked at the structure of an XML document and how to write XML. I trust you have all decided on the editor you prefer. If not, I continue to recommend
More informationHigh-level Operations for Changing Temporal Schema, Conventional Schema and Annotations, in the τxschema Framework
High-level Operations for Changing Temporal Schema, Conventional Schema and Annotations, in the τxschema Framework Zouhaier Brahmia, Fabio Grandi, Barbara Oliboni, Rafik Bouaziz January 15, 2014 TR-96
More informationXML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior
XML Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML INTRODUCTION 2 THE XML LANGUAGE XML: Extensible Markup Language Standard for the presentation and transmission of information.
More informationNebulon FDD Interchange (FDDI) Specification 1
NEBULON FDD INTERCHANGE (FDDI) SPECIFICATION January 19 2006 Nebulon FDD Interchange (FDDI) Specification 1 Copyright 1993-2006, Nebulon Pty. Ltd. Nebulon has agreed that no person shall be deemed to have
More informationUnit 1 - Chapter 4,5
Unit 1 - Chapter 4,5 CREATE DATABASE DatabaseName; SHOW DATABASES; USE DatabaseName; DROP DATABASE DatabaseName; CREATE TABLE table_name( column1 datatype, column2 datatype, column3 datatype,... columnn
More informationIntroduction to XML Metadata Interchange (XMI)
Introduction to XML Metadata Interchange (XMI) Department for Cooperative and Trusted Systems Information and Communication Technology, SINTEF, Forskningsveien 1, N-0314 Oslo, Norway http://www.sintef.no!1
More informationCS/INFO 330: Applied Database Systems
CS/INFO 330: Applied Database Systems XML Schema Johannes Gehrke October 31, 2005 Annoucements Design document due on Friday Updated slides are on the website This week: Today: XMLSchema Wednesday: Introduction
More informationGrid Computing. Resource Properties so far. Resource Property Document. Globus Toolkit Programming GT4 Tutorial Chapter 6 Resource Properties
Globus Toolkit Programming GT4 Tutorial Chapter 6 Resource Properties Grid Computing Fall 2006 Globus Toolkit 4: Programming Java Services Borja Sotomayor and Lisa Childers Morgan Kaufmann Publishers /
More informationDBMaker. XML Tool User's Guide
DBMaker XML Tool User's Guide CASEMaker Inc./Corporate Headquarters 1680 Civic Center Drive Santa Clara, CA 95050, U.S.A. www.casemaker.com www.casemaker.com/support Copyright 1995-2003 by CASEMaker Inc.
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 7 Introduction to Structured Query Language (SQL) Objectives In this chapter, students will learn: The basic commands and
More information/home/karl/desktop/case 1/openesb/Case1XSLT/src/Case1.wsdl
Case1.wsdl /home/karl/desktop/case 1/openesb/Case1XSLT/src/Case1.wsdl 43 In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is
More informationAutomating Conceptual Design of Web Warehouses
Automating Conceptual Design of Web Warehouses Boris Vrdoljak, Marko Banek FER University of Zagreb Zagreb, Croatia Stefano Rizzi DEIS - University of Bologna Bologna, Italy Abstract Web warehousing plays
More informationIntroduction. " Documents have tags giving extra information about sections of the document
Chapter 10: XML Introduction! XML: Extensible Markup Language! Defined by the WWW Consortium (W3C)! Originally intended as a document markup language not a database language " Documents have tags giving
More informationXML Query Reformulation for XPath, XSLT and XQuery
XML Query Reformulation for XPath, XSLT and XQuery (Sven.Groppe@deri.org, http://members.deri.at/~sveng/) Tutorial at DBA 2006/Innsbruck 2/17/2006 1:29:13 Copyright 2006 Digital Enterprise Research Institute.
More informationCountryData Technologies for Data Exchange. Introduction to XML
CountryData Technologies for Data Exchange Introduction to XML What is XML? EXtensible Markup Language Format is similar to HTML, but XML deals with data structures, while HTML is about presentation Open
More informationChapter # 7 Introduction to Structured Query Language (SQL) Part II
Chapter # 7 Introduction to Structured Query Language (SQL) Part II Updating Table Rows UPDATE Modify data in a table Basic Syntax: UPDATE tablename SET columnname = expression [, columnname = expression]
More informationXML and Content Management
XML and Content Management Lecture 3: Modelling XML Documents: XML Schema Maciej Ogrodniczuk, Patryk Czarnik MIMUW, Oct 18, 2010 Lecture 3: XML Schema XML and Content Management 1 DTD example (recall)
More informationLecture Notes course Software Development of Web Services
Lecture Notes course 02267 Software Development of Web Services Hubert Baumeister huba@dtu.dk Fall 2014 Contents 1 Complex Data and XML Schema 1 2 Binding to Java 8 3 User defined Faults 9 4 WSDL: Document
More informationRDB2XSD: AUTOMATIC SCHEMA MAPPING FROM RDB INTO XML
RDB2XSD: AUTOMATIC SCHEMA MAPPING FROM RDB INTO XML 1 LARBI ALAOUI, 2 OUSSAMA EL HAJJAMY, 3 MOHAMED BAHAJ 1 International University of Rabat, 11100 Sala Al Jadida, Morocco 2, 3 University Hassan I, FSTS
More information12. MS Access Tables, Relationships, and Queries
12. MS Access Tables, Relationships, and Queries 12.1 Creating Tables and Relationships Suppose we want to build a database to hold the information for computers (also refer to parts in the text) and suppliers
More informationCS561 Spring Mixed Content
Mixed Content DTDs define mixed content by mixing #PCDATA into the content model DTDs always require mixed content to use the form (#PCDATA a b )* the occurrence of elements in mixed content cannot be
More informationTowards a Unified Monitoring and Performance Analysis System for the Grid
Towards a Unified Monitoring and Performance Analysis System for the Grid Hong-Linh Truong, Thomas Fahringer Institute for Software Science, University of Vienna, Austria {truong,tf}@par.univie.ac.at http://www.par.univie.ac.at/project/scalea
More information02267: Software Development of Web Services
02267: Software Development of Web Services Week 4 Hubert Baumeister huba@dtu.dk Department of Applied Mathematics and Computer Science Technical University of Denmark Fall 2016 1 Recap SOAP part II: SOAP
More informationThe Structured Query Language Get Started
The Structured Query Language Get Started Himadri Barman 0. Prerequisites: A database is an organized collection of related data that can easily be retrieved and used. By data, we mean known facts that
More informationIntroduction to SQL Server 2005/2008 and Transact SQL
Introduction to SQL Server 2005/2008 and Transact SQL Week 2 TRANSACT SQL CRUD Create, Read, Update, and Delete Steve Stedman - Instructor Steve@SteveStedman.com Homework Review Review of homework from
More informationSemantic enrichment of XML schema to TRANSFORM ASSOCIATION relationships in ODL schema
Semantic enrichment of XML schema to TRANSFORM ASSOCIATION relationships in ODL schema Doha Malki 1, Mohamed Bahaj 2 1 Department of Mathematics and Computer Science, University Hassan 1st, Settat, Morocco
More informationSQL Aggregate Functions
SQL Functions SQL has many built-in functions for performing calculations on data. SQL Aggregate Functions SQL aggregate functions return a single value, calculated from values in a column. Useful aggregate
More informationSQL functions fit into two broad categories: Data definition language Data manipulation language
Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Beginning Structured Query Language (SQL) MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my
More informationA Case Study: A Distributed Web Application
E L E V E N A Case Study: A Distributed Web Application Internet technology has been changing people s lifestyles and business practice models. Now, the Internet itself is experiencing a paradigm shift.
More informationXML - Schema. Mario Arrigoni Neri
XML - Schema Mario Arrigoni Neri 1 Well formed XML and valid XML Well formation is a purely syntactic property Proper tag nesting, unique root, etc.. Validation is more semantic, because it must take into
More information[MS-ISPAC]: Integration Services Project Deployment File Format Structure Specification
[MS-ISPAC]: Integration Services Project Deployment File Format Structure Specification Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes
More informationXML: Extensible Markup Language
XML: Extensible Markup Language CSC 375, Fall 2015 XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both. Matthew Might Slides slightly modified
More informationUC Web Service Developer Guide of UC Credit Report. version 1.1 V
UC Web Service Developer Guide of UC Credit Report version 1.1 V. 2015.12.14 Developer Guide of UCCreditReport Web Service Page 2 of 45 Terms description of UCCreditReport Web Service Copyright 2009 UC
More informationImport and Browse. Review data. bp_stages is a chart based on a graphic
Import and Browse Review data is a chart based on a graphic hrs_clin is clinical data patient id (anonymized) some interesting things to note here. female is a boolean age is a number depress_dx is a 0/1,
More informationArticulation Transfer Clearinghouse Implementation Guide
Articulation Transfer Clearinghouse for 8/2/2007 Implementation Details TABLE OF CONTENTS INTRODUCTION... 3 Project Identification... 3 DOCUMENT CONTROL... 4 Update History... 4 ENVIRONMENTS... 5 METHODS...
More informationSQL BASICS WITH THE SMALLBANKDB STEFANO GRAZIOLI & MIKE MORRIS
SQL BASICS WITH THE SMALLBANKDB STEFANO GRAZIOLI & MIKE MORRIS This handout covers the most important SQL statements. The examples provided throughout are based on the SmallBank database discussed in class.
More informationBPS 17 - Eclipse Chart Engine Scale/Axis/Grouping Enhancements
BPS 17 - Eclipse Chart Engine Scale/Axis/Grouping Enhancements Draft 10: Dec 4 th, 2006 Abstract This document describes the enhancements for scale/axis/grouping support in the Eclipse Chart Engine. Document
More informationSAP HR Organizational Charting Interface (HR-OCI) Version 1.0. Customer Configuration Guide
SAP HR Organizational Charting Interface (HR-OCI) Version 1.0 Customer Configuration Guide CONFIGURATION GUIDE FOR THE SAP HR ORGANIZATIONAL CHARTING INTERFACE (HR-OCI)...4 PURPOSE...4 INTENDED AUDIENCE...4
More informationXML and Web Services
XML and Web Services Lecture 8 1 XML (Section 17) Outline XML syntax, semistructured data Document Type Definitions (DTDs) XML Schema Introduction to XML based Web Services 2 Additional Readings on XML
More informationBEA WebLogic Server R EJB Enhancements
BEA WebLogic Server R EJB Enhancements Version: 10.3 Tech Preview Document Date: October 2007 Table of Contents Overview of EJB Enhancements... 3 Using the persistence-configuration.xml Descriptor... 3
More informationLab # 4 Hands-On. DDL and DML Advance SQL Statements Institute of Computer Science, University of Tartu, Estonia
Lab # 4 Hands-On DDL and DML Advance SQL Statements Institute of Computer Science, University of Tartu, Estonia Advance Part A: Demo by Instructor in Lab a. AND/OR - Operators are used to filter records
More informationENTSO-E ACKNOWLEDGEMENT DOCUMENT (EAD) IMPLEMENTATION GUIDE
1 ENTSO-E ACKNOWLEDGEMENT DOCUMENT (EAD) 2014-01-16 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 Table of Contents 1 OBJECTIVE... 5 2 THE ACKNOWLEDGEMENT
More informationASSIGNMENT NO Computer System with Open Source Operating System. 2. Mysql
ASSIGNMENT NO. 3 Title: Design at least 10 SQL queries for suitable database application using SQL DML statements: Insert, Select, Update, Delete with operators, functions, and set operator. Requirements:
More informationXML. Semi-structured data (SSD) SSD Graphs. SSD Examples. Schemas for SSD. More flexible data model than the relational model.
Semi-structured data (SSD) XML Semistructured data XML, DTD, (XMLSchema) XPath, XQuery More flexible data model than the relational model. Think of an object structure, but with the type of each object
More informationData Access 3. Managing Apache Hive. Date of Publish:
3 Managing Apache Hive Date of Publish: 2018-07-12 http://docs.hortonworks.com Contents ACID operations... 3 Configure partitions for transactions...3 View transactions...3 View transaction locks... 4
More informationXML Schema Profile Definition
XML Schema Profile Definition Authors: Nicholas Routledge, Andrew Goodchild, Linda Bird, DSTC Email: andrewg@dstc.edu.au, bird@dstc.edu.au This document contains the following topics: Topic Page Introduction
More informationOASIS SECURITY SERVICES DYNAMIC SESSION SPECIFICATION WORKING DRAFT
OASIS SECURITY SERVICES DYNAMIC SESSION SPECIFICATION WORKING DRAFT Last Updated: 05/10/01 SSTC filename: draft-sstc-sessions-dynamic-00.doc [Submitter s version of original submission: 0.51] Editor(s):
More information