Combining RDF and XML Schemas to Enhance Interoperability Between Metadata Application Prof
ebs xml publisher数据模板
ebs xml publisher数据模板
使用EBS XML Publisher数据模板可以按照以下步骤进行:
1. 准备XML数据。
这通常涉及从数据库或其他数据源中提取数据,并按照特定的格式组织数据。
2. 准备Excel模板。
使用BI Publisher安装目录下的空白Excel模板。
这个Excel模板通常包含两个工作表,一个用于元数据
(XDO_METADATA),另一个用于实际的数据展示。
3. 设置Excel模板。
在数据展示的工作表中,设置所需的单元格格式和布局,包括标题、列名、数据格式等。
4. 应用名称至单元格。
在Excel中,为每个数据区域定义名称,以便在XML Publisher中引用。
这些名称将用于映射XML中的组标签。
5. 设置日期格式。
根据需要设置日期单元格的格式,以确保数据在发布时以正确的格式显示。
6. 隐藏元数据工作表。
一旦Excel模板设置完成,可以隐藏元数据工作表,以便在发布时不显示这些信息。
7. 在EBS中定义可执行文件和请求。
使用EBS管理员控制台定义一个可执行文件,该文件指向已准备好的Excel模板。
然后创建一个请求,指定要使用的数据源和要使用的模板。
8. 上传Excel模板并测试请求。
将Excel模板上传到EBS服务器上指定的位置,然后测试请求以确保一切正常工作。
以上是使用EBS XML Publisher数据模板的一般步骤,具体的步骤可能会根据您的具体情况而有所不同。
建议参考EBS的官方文档或与
您的系统管理员联系,以获取更详细的指导。
OWL相关概念--XML,RDF,OWL的关系(重要)
OWL相关概念--XML,RDF,OWL的关系(重要)2008-05-27 17:19请先理解RDF和RDF Schema的知识在看这篇文章。
不理解的话请本站参照RDF 和RDF Schema在线手册的第一篇相关概念的文章。
理解概念很重要,因为对大多数人来说都有编程的基础,可以直接看别的语言的代码。
但语义网相关概念是比较新的概念。
所以建议把概念一定到搞懂。
通过RDF Schema,我们可以自定义词汇了。
但在我们的实际生活当中,我们用的词汇直接,都是有联系的。
最简单的反义词,同义词。
又比如"足球队"这个词,我们每个人脑子都有一个概念,上场比赛需要11个队员。
这都是我们在生活中积累的经验。
我们想让机器也理解数据的话,最起码要和人一样,也可以定义反义词,同义词,或者词和词之间的一些关系。
这些仅仅靠RDF和RDF Schema是不够的。
为了达到这个要求,就有了OWL(Web Ontology Language)的出现,Ontolory本是哲学词汇--存在论的意思。
大多数中文翻译为本论。
其实用原本哲学的意思就很好理解。
我们就是在定义词汇,或者词汇直接的关系,或者类之间的关系等等。
我们定义了它们,它们就存在于我们的网络里了。
我们看看有了它对我们到底有什么好处。
比如说它可以定义类和类之间的关系,等价性,互补排斥性,限制个数,属性的对称性等等。
似乎还比较模糊,那就举一个具体的例子,比如我们描述这样一个资源:从北京到上海的距离400公里。
人们听到了这句话后就知道了,上海到北京也是400公里。
因为我们知道起点北京到终点上海的距离,和起点上海到终点北京的距离是一样的,也就是我们懂距离,起点,终点这3个词的概念而且知道它们之间的关系,所以我们得出上面的结论。
现在我们可以用RDF和RDF Schema来定义这3个词汇,然后我们需要定义的是一个关系,起点-终点的距离等于终点-起点的距离,这里运用到了等价性。
Coordinator
D2.3.3.v1SemVersion–Versioning RDF and Ontologies Max V¨o lkel(University of Karlsruhe)with contributions from:Carlos F.Enguix(National University of Ireland,Galway,Ireland)Sebastian Ryszard Kruk(DERI)Anna V.Zhdanova(DERI)Robert Stevens(U Manchester)York Sure(AIFB)Abstract.EU-IST Network of Excellence(NoE)IST-2004-507482KWEBDeliverable D2.3.3.v1(WP2.3)This papers describes the requirements for a semantic versioning system.The design,implementation and usage of SemVersion are described.KWEB/2004/D2.3.3.a/v1.0Document Identi-fierProject KWEB EU-IST-2004-507482Version v1.0Date June6th,2005StatefinalDistribution internalKnowledge Web ConsortiumThis document is part of a research project funded by the IST Programme of the Commission of the European Communities as project number IST-2004-507482.University of Innsbruck(UIBK)-CoordinatorInstitute of Computer Science Technikerstrasse13A-6020InnsbruckAustriaFax:+43(0)5125079872,Phone:+43(0)5125076485/88Contact person:Dieter FenselE-mail address:dieter.fensel@uibk.ac.at `Ecole Polythechnique F´e d´e rale de Lausanne (EPFL)Computer Science DepartmentSwiss Federal Institute of TechnologyIN(Ecublens),CH-1015LausanneSwitzerlandFax:+41216935225,Phone:+41216932738 Contact person:Boi FaltingsE-mail address:boi.faltings@epfl.chFrance Telecom(FT)4Rue du Clos Courtel35512Cesson S´e vign´eFrance.PO Box91226Fax:+33299124098,Phone:+33299124223 Contact person:Alain LegerE-mail address:alain.leger@ Freie Universit¨a t Berlin(FU Berlin) Takustrasse914195BerlinGermanyFax:+493083875220,Phone:+493083875223 Contact person:Robert TolksdorfE-mail address:tolk@inf.fu-berlin.deFree University of Bozen-Bolzano(FUB) Piazza Domenicani339100BolzanoItalyFax:+390471315649,Phone:+390471315642 Contact person:Enrico FranconiE-mail address:franconi@inf.unibz.it Institut National de Recherche en Informatique et en Automatique(INRIA) ZIRST-655avenue de l’Europe-Montbonnot Saint Martin38334Saint-IsmierFranceFax:+33476615207,Phone:+33476615366 Contact person:J´e rˆo me EuzenatE-mail address:Jerome.Euzenat@inrialpes.frCentre for Research and Technology Hellas/ Informatics and Telematics Institute(ITI-CERTH)1st km Thermi-Panorama road57001Thermi-ThessalonikiGreece.Po Box361Fax:+30-2310-464164,Phone:+30-2310-464160 Contact person:Michael G.StrintzisE-mail address:strintzi@iti.gr Learning Lab Lower Saxony(L3S)Expo Plaza130539HannoverGermanyFax:+49-511-7629779,Phone:+49-511-76219711 Contact person:Wolfgang NejdlE-mail address:nejdl@learninglab.deNational University of Ireland Galway (NUIG)National University of IrelandScience and Technology BuildingUniversity RoadGalwayIrelandFax:+35391526388,Phone:+353876826940 Contact person:Christoph BusslerE-mail address:chris.bussler@deri.ie The Open University(OU)Knowledge Media InstituteThe Open UniversityMilton Keynes,MK76AAUnited KingdomFax:+441908653169,Phone:+441908653506 Contact person:Enrico MottaE-mail address:e.motta@Universidad Polit´e cnica de Madrid(UPM) Campus de Montegancedo sn28660Boadilla del MonteSpainFax:+34-913524819,Phone:+34-913367439 Contact person:Asunci´o n G´o mez P´e rezE-mail address:asun@fi.upm.es University of Karlsruhe(UKARL)Institut f¨u r Angewandte Informatik und Formale Beschreibungsverfahren-AIFBUniversit¨a t KarlsruheD-76128KarlsruheGermanyFax:+497216086580,Phone:+497216083923 Contact person:Rudi StuderE-mail address:studer@aifb.uni-karlsruhe.deUniversity of Liverpool(UniLiv) Chadwick Building,Peach StreetL697ZF LiverpoolUnited KingdomFax:+44(151)7943715,Phone:+44(151)7943667 Contact person:Michael WooldridgeE-mail address:M.J.Wooldridge@ University of Manchester(UoM)Room2.32.Kilburn Building,Department of Computer Science,University of Manchester, Oxford RoadManchester,M139PLUnited KingdomFax:+441612756204,Phone:+441612756248 Contact person:Carole GobleE-mail address:carole@University of Sheffield(USFD)Regent Court,211Portobello streetS14DP SheffieldUnited KingdomFax:+441142221810,Phone:+441142221891 Contact person:Hamish CunninghamE-mail address:hamish@ University of Trento(UniTn)Via Sommarive1438050TrentoItalyFax:+390461882093,Phone:+390461881533 Contact person:Fausto GiunchigliaE-mail address:fausto@dit.unitn.itVrije Universiteit Amsterdam(VUA) De Boelelaan1081a1081HV.AmsterdamThe NetherlandsFax:+31842214294,Phone:+31204447731 Contact person:Frank van HarmelenE-mail address:Frank.van.Harmelen@cs.vu.nl Vrije Universiteit Brussel(VUB) Pleinlaan2,Building G101050BrusselsBelgiumFax:+3226293308,Phone:+3226293308 Contact person:Robert MeersmanE-mail address:robert.meersman@vub.ac.beExecutive SummaryChange management for ontologies becomes a crucial aspect for any kind of on-tology management environment,as engineering of ontologies often takes place in distributed settings where multiple independent users have to interact.There is also a variety of ontology languages used.Although RDF Schema and OWL are gaining more and more popularity,a lot of semantic data still resides in other formats,as it is the case in the biology domain(c.f.Sec.1.2.3).Until now,no standard version-ing system or methodology has arisen,that can provide a common way to handle versioning issues.This deliverable describes the RDF-centric versioning approach and implementa-tion SemVersion.It provides structural(purely triple based)and semantic(ontology language based,like RDFS,OWL and OBOL)versioning.It separates language-neutral features for data management from language-specific features like semantic diffs in design and implementation.This way SemVersion offers a common approach for already widely used RDF models and a wide range of ontology languages.The requirements for our system are derived from a set of practical scenarios, which are documented in detail in this deliverable.The project experienced a shift in requirements,when Robert Stevens from Uni-versity of Manchester joined the group in May2005.WP2.3decided to tackle the problem of versioning the Gene Ontology.In[1]we suggested reification for data storage.As we now face the large volume of the Gene Ontology data(see1.2.3),we need more powerful storage solutions than for the other use cases.Addressing triple sets(models)is another challenge.In[1] we argued to use reification,which would make models four times as large.To avoid this,we now use native quad stores,which provide a context URI for each triple. We use the context URI to address models more efficiently.A sub-project,Rdf2Go,has been created to deal with various model abstrac-tions and serves as a unifying triple(and quad)store entry point.Rdf2Go is described in Chapter2.A second sub-project of SemVersion,RdfReactor,facilitates the usage of RDF Schema based data in Java significantly.It’s latest version is based on Rdf2Go.In fact,RDFReactor has been designed for SemVersion in thefirst place.RDFReactor is described in Sec.1.5.4.Contents1SemVersion–An RDF Versioning System11.1Introduction (1)1.1.1Term Definitions (3)1.2Requirements for an ontology versioning system (3)1.2.1Use Case1:MarcOnt Collaborative Ontology Development..31.2.2Use Case2:The People’s Portal for Community OntologyDevelopment (6)1.2.3Use Case3:Versioning the Gene Ontology (7)1.2.4Use Case4:Versioning in a Semantic Wiki (10)1.2.5Use Case5:Analysis of Wikipedia (10)1.2.6Requirements Summary (11)1.3Data Management Design (12)1.3.1RDF as the structural core of ontology languages (12)1.3.2Version Data Management (13)1.4Versioning Functionality Design (14)1.4.1Structural Diff (14)1.4.2Semantic Diff (15)1.4.3Blank Nodes and the Diff (16)1.4.4Branch and Merge (17)1.4.5Conflict Detection (18)1.4.6Query Language Extension (18)1.5Implementation (18)1.5.1Storage Layer Access (19)1.5.2Handling Commits (20)1.5.3Generating globally unique URIs (20)1.5.4RDFReactor (20)2RDF2Go222.1What is RDF2Go? (22)2.2Working Example:Simple FOAF via RDF2Go (24)2.3Architecture (26)2.4The API (26)2.4.1Model and ContextModel (26)iiD2.3.3.v1SemVersion–Versioning RDF and Ontologies IST Project IST-2004-5074822.4.2Queries (29)2.5How to get started (30)3Using and Extending SemVersion313.1Using SemVersion (31)3.1.1Typical Actions (32)3.1.2Administration (33)3.1.3Usage and Implementation Notes (34)3.1.4SemVersion Usage Examples (34)3.2Extending SemVersion (34)4Conclusions and Outlook36 KWEB/2004/D2.3.3.a/v1.0June6th,2005iiiChapter 1SemVersion –An RDF Versioning System1.1IntroductionAs outlined in the Knowledge Web Deliverable D2.3.1”Specification of a method-ology for syntactic and semantic versioning”[1],there is a clear need for RDF data and ontology versioning.This deliverable is a follow-up of D2.3.1,which explains the underlying concepts in detail.Here we focus on the concrete approach and implementation.Change management for ontologies becomes a crucial aspect for any kind of ontology management environment,as engineering of ontologies often takes place in distributed settings where multiple independent users have to interact.There is also a variety of ontology languages used.Although RDF Schema and OWL are gaining more and more popularity,a lot of semantic data still resides in other formats,as it is the case in the biology domain (c.f.Sec. 1.2.3).Until now,no standard versioning system or methodology has arisen,that can provide a common way to handle versioning issues.This deliverable describes the RDF-centric versioning approach and implementa-tion SemVersion 1.It provides structural (purely triple based)and semantic (ontol-ogy language based,like RDFS,OWL and OBOL)versioning.It separates language-neutral features for data management from language-specific features like semantic diffs in design and implementation.This way SemVersion offers a common approach for already widely used RDF models and a wide range of ontology languages.SemVersion is published as an open-source software project on the site OntoWare.The current version of the project homepage is depicted in Fig.1.1.1The name resembles the upcoming de-facto standard subversion ( )and is also a short form of ”Semantic Versioning”11.SEMVERSION–AN RDF VERSIONING SYSTEMFigure1.1:Homepage of the SemVersion project2June6th,2005KWEB/2004/D2.3.3.a/v1.0D2.3.3.v1SemVersion–Versioning RDF and Ontologies IST Project IST-2004-507482 Our approach is inspired by the classical CVS system for version management of textual documents(e.g.Java code).Core element of our approach is the sepa-ration of language-specific features(the semantic diff)from general features(such as structural diff,branch and merge,management of projects and metadata).A speciality of RDF is the usage of so-called blank nodes.As part of our approach we present a method for blank node enrichment which helps in versioning of such blank nodes.1.1.1Term DefinitionsRDF is a data model with the types URI,blank node,plain literal,language tagged literal and data typed literal.It consists of triples(also called state-ments).A set of triples is called model(or triple set).An ontology is a model, in which semantics have been assigned to certain URIs and/or triple constructs, according to an ontology language.We use the term concept to denote things ontologies talk about:classes,properties and instances.In an RDF context,every-thing that is addressable by URI or by blank node is considered a concept.SemVersion versions models.A model under version control is named a ver-sioned model.A versioned model has a root model,which is a version.A version is a model plus versioning metadata.Versions in SemVersion never change. Instead,every operation that changes the state of a versioned model(commit,merge, ...)results in the creation of a new version.More details about SemVersion’s con-ceptual data model can be found in Sec.1.3.2.1.2Requirements for an ontology versioning sys-temWe gathered different requirements from Knowledge Web partners in order to create a more general design.We tried to gather as concrete usage requirements as possible to obtain a usable(and hence testable)design and implementation.In this section we present the different usage requirements.For each use case we name the stakeholder and provide a use case description, characteristics of the data set,and derived versioning requirements.1.2.1Use Case1:MarcOnt Collaborative Ontology Devel-opmentStakeholder:Sebastian Ryszard Kruk(DERI),sebastian.kruk@KWEB/2004/D2.3.3.a/v1.0June6th,200531.SEMVERSION–AN RDF VERSIONING SYSTEMThe MarcOnt2scenario served as thefirst source of inspiration for SemVersion. MarcOnt is a project to create an ontology for library data exchange.One of the most commonly used bibliographic description format is MARC21. Though it is capable of describing most of the features of the library resources, its semantic content is low.It means that while searching for a resource,one has to look for particular keywords in the resource’s descriptionfields,but one cannot carry out a search be meaning or concept.This can often result in large sets of results.Also the data communication between library systems is very hard to extend. On of the earliest shared vocabularies is the Dublin Core Metadata standard for library resource description.Besides the fact that most of the information covered by MARC21is lost,the full potential of the Semantic Web is not being used.The project aims at creating the MarcOnt ontology,based on a social agreement that will combine descriptions from MARC21together with DublinCore and makes use of the full potential of the Semantic Web technologies.This will include transla-tions to/from other ontologies,more efficient searching for resources(ers may have impact on the searching process).The MarcOnt initiative is strongly connected to the Jerome Digital Library project(e-library with semantics,formerly ElvisDL)-which implements a simple library ontology and can be used as a starting point for further work.MarcOnt also assumed that JeromeDL will be a testing platform for an experimental results from the MarcOnt initiative.Data Set Currently there exists only one version of the MarcOnt ontology,which can be downloaded at /index.php?option=com_content&task=view&id=13&Itemid=27.Versioning Requirements The MarcOnt project has a clear view on the process of ontology evolution.It starts with a current main version.Now people can suggest (multiple,independent)changes.Then the community discusses about the proposed changes and selects some.The changes are applied and a new main version is created. The process is illustrated in Fig.1.2.The ontology builder of the MarcOnt portal requires not only a GUI for building the ontology through submitting changes.It also needs the ability to:•Manage a main trunk of the ontology(R1.1)3•Manage versions of suggestions(R1.2)•Generate snapshots of the main ontology with some suggestions applied(R1.3) 2/3Requirements are numbered by”use case number”/”.”/running number4June6th,2005KWEB/2004/D2.3.3.a/v1.0Figure1.2:Versions and suggestions in the MarcOnt use caseKWEB/2004/D2.3.3.a/v1.0June6th,20055•Detect and resolve conflicts(R1.4)•Add suggestions to the main trunk(R1.5)•Attach mapping/translation rules(R1.6)•Be able to check out arbitrary versions by HTTP GET with a specific URL (R1.7)1.2.2Use Case2:The People’s Portal for Community On-tology DevelopmentStakeholder:Anna V.Zhdanova(DERI),anna.zhdanova@deri.at People’s portal[2]is an implementation of a human-Semantic Web interactive environment.The environment is named The People’s Portal and it is implemented employing Java,Jena and Tomcat.The basic idea of the People’s portal is to marry a community Semantic Web portal technology with collaborative ontology manage-ment functionalities in order to bring the Semantic Web to masses and overcome limitations of the existing community web portals.Use cases:The People’s portal environment is applied to DERI and used to produce part of the DERI web site.DERI members can login here to enter the environment.DERI web site managers can login here to manage the data in a centralized fashion.Versioning Requirements The system uses a subset of RDF ers of the portal can introduce new classes and properties on thefly.Consensus is partly reached by usage.Properties that are often used and classes that have many instances are considered useful for the community.Hence it is necessary to ask the versioning system:•How many instance does this class have now?Last week?Generalised:How many instances does a concept(rdfs:Class or rdfs:Property)has at a specific point in time?(R2.1)•When has this classfirst been instantiated?(R2.2)•How many properties are attached to this class?Since when?(R2.3)number of instances of class,properties NOW(specific point in time also)•Who added this ontology item?(R2.4)•Store new versions and return diffs between arbitrary points in time.(R2.5)•Return predecessor of an ontology item(class,property)in time(R2.6)6June6th,2005KWEB/2004/D2.3.3.a/v1.0•Support the evolution primitives:”add”,”remove”and ”replace”on concept definitions.(R2.7)•Return number of changed instance items (also properties,classes)and show which items changed.(R2.8)•Which concepts appeared within a given time interval?(R2.9)•Queries across change log/activity log:For each attribute,when was it instan-tiated and when have instances been created?(R2.10)•What are hot attributes?Those instantiated or changed often recently.Which are these?(R2.11)1.2.3Use Case 3:Versioning the Gene OntologyStakeholder:Robert Stevens (U Manchester),robert.stevens@ Background An important step was the phone conference on 12.07.2005,in which common goals were identified 4.Robert Stevens from Manchester University has be-come an active member of the work package.Robert is a biologist who is also a doctor in Computer Science.Robert is a Bioinformatics Lecturer in the BioHealth Informatics Group at the University of Manchester.He has around 80publications in international conferences,workshops,journals and so on.He was involved in the TAMBIS project for transparent access and integration of biological databases.Now one of his main interests is in the definition of formal biological ontologies.He is involved in the transformation of the Gene Ontology controlled vocabulary into a description-logics OWL based ontology.He is interested in contributing to the devel-opment of an ontology-based versioning system to the Gene Ontology which is part of the Open Biological Ontologies.Also he want’s to study how conceptualisations change over time,hence the need for data analysis.Use case description The gene ontology 5community is where collaborative on-tology construction is practiced a long time comparing to other communities.The GO community showed that involvement of multiple parties is a must for a compre-hensive ontology as a result.The GO community is far ahead of other communities constructing ontologies [3].Hence they are the ideal subject to study real-world change operations.”The goal of the Gene Ontology (GO)consortium is to produce a controlled vocabulary that can be applied to all organisms even as knowledge of gene and 4/wiki/KnowledgeWeb/WP23/MeetingAgenda12July20055KWEB/2004/D2.3.3.a/v1.0June 6th,20057protein roles in cells is accumulating and changing.GO provides three structured networks of defined terms to describe gene product attributes.”6Current Gene Ontology versions are maintained by CVS repositories which han-dle only syntactic differences among ontologies.In other words CVS is not able to differentiate class versions for instance,being able only to differentiate text/file differences.Versioning Requirements Essentially,here SemVersion is used for data analysis.In order to study ontology change operations,SemVersion must cope with multiple versions of the Gene Ontology (GO).The GO is authored in Open Biology Language 7(OBOL),for which usable OWL exports exist.The GO has about 19.000concepts.Assuming about 10statements per concept we estimate a size of roughly 100.000statements –per version.The researchers who study the ontology change patterns (Robert Stevens and his team)would like to use a monthly snapshot for a period of 6years.This amounts to 6years ×12month =72versions.Thus the underlying triple store must be able to handle up to 7million triples and search (maybe even reason)over them.The requirements in short form are thus•Store up to 7million triples (R3.1)•Allow meta-data queries over the 72versions (R3.2)•Allow data queries over all versions (7million triples)(R3.3)•OBOL semantic diff(R3.4)•OBOL to RDF converter (R3.5)•A Java interface (R3.6)Data Set The Gene Ontology ”per se”is not an Ontology in the formal sense,it is rather a cross-species controlled biological vocabulary as previously indicated above.The Gene Ontology is divided in three disjoint sub-ontologies,currently stored in big flat files or also stored in persistent repositories such as a relational database (MySQL database).The three sub-ontologies are divided into vocabularies that describe gene products in terms of:Molecular functions,associated biological processes and cellular components.The GO ontology permits to associate biological relationships among molecular functions,the involvement of molecular functions in biological processes and the 6Extracted from the OBO site /7/8June 6th,2005KWEB/2004/D2.3.3.a/v1.0occurrence of biological processes at a given time and space in cells [4].Whereas the molecular function defines what a gene product does at the biochemical level,the bi-ological process normally indicates a transformation process triggered or contributed by a gene product involving multiple molecular functions.Finally the cellular com-ponent indicates the cell structure a gene product is part of.The Gene Ontology contains around 20.000concepts which are convertible to OWL.The latest statistics about the GO could be found at the GO site 8:Current term counts (as of June 20,2005at 6:00Pacific time):•17946terms,94.2%with definitions.•6984(38.9%)Molecular functions•9410(52.4%)Biological processes•1552(8.6%)Cellular components•There are 998obsolete terms not included in the above statistics(Total Terms=18944)Further complexity assessments can be found at /~cjm/obol/doc/go-complexity.html .According to [5]the GO is a handcrafted ontology accepting only ”is-a”and ”part-of”relationships.The hierarchical organization is represented via a directed-acyclic-graph (DAG)structure similar to the representation of Web pages or hypertext systems.Members of the Consortium group contribute to updates and revisions of the GO.The Go is maintained by editors and scientific curators who notify GO users of ontology changes via email,or at the GO site by monthly reports 9.Please note that ontology creation and annotation of GO terms in databases (association of GO terms with gene products)are two different operations.Each annotation should include its data provenance or source(a cross database reference,a literature reference,etc).Technically,there are two different data sets,available via public CVS stores.Set I ranges from 1999to 2001and has a snapshot of the GO for each month in GO syntax.The second set runs from 2001up to now and contains for each month a Go snapshot in OBO syntax.As OBO is the newer syntax,we assume the existence of a converter from GO syntax to OBO syntax available from the GO community.In order to use the data sets,one has to decide for a format.There are three options:(a)RDF,(b)OWL generated from DAG-Edit 10or (c)nice OWL generated by Prot´e g´e -Plugin.Whatever choice is made,the exported data should contain the provenance8/GO.downloads.shtml#ont9/MonthlyReports/10/dev/java/dagedit/docs/index.html KWEB/2004/D2.3.3.a/v1.0June 6th,20059information of the source file and the conversion process used.SemVersion offers ways to store such provenance information.1.2.4Use Case 4:Versioning in a Semantic WikiStakeholder:Max V ¨o lkel (U Karl),mvo@aifb.uni-karlsruhe.deA wiki is a browser-based environment to author networked,structured notes,often in a collaborative way.The project SemWiki 11aims at creating a semantic wiki for personal note management.SemWiki extends the wiki syntax with means to enter statements about resources,much like in RDF.In a traditional wiki,users are accustomed to see and compare different versions of a page.In the semantic wiki ”SemWiki”12pages are just a special kind of resource and some attached properties.Hence,a semantic diffhas to be calculated ”by hand”.Data Set A typical personal wiki has up to 3000pages with approximately 10versions per page.Each page consists roughly of 50statements.This leads to approximately 1.5million triples for a snapshot-based versioning system.Versioning Requirements SemWiki users need ways to request a semantic diffbetween two page-versions.As pages partly consist of ”background statements”,which do not belong to a particular page,SemWiki needs a model-based versioning approach (R4.1).Sometimes users want to roll-back page changes,thus we need the ability to revert to old states (R4.2).Additionally,users want to track each statement:Who authored it,when has it been introduced,etc.(R4.3).1.2.5Use Case 5:Analysis of WikipediaStakeholder:Denny Vrandecic,Markus Kr ¨o tzsch,Max V ¨o lkel (U Karl){dvr,mkr,mvo}@aifb.uni-karlsruhe.deAn emerging research topic at AIFB is the analysis of changes in the Wikipedia 13.This use case is mostly similar to ”Versioning the Gene Ontology”.Data Set The Wikipedia contains roughly 1.500.000articles across all language versions.11 121310June 6th,2005KWEB/2004/D2.3.3.a/v1.0Versioning Requirements There are no obvious requirements beyond those al-ready mentioned in use case 3.1.2.6Requirements SummaryWe can distinguish rather data management related requirements and rather ontol-ogy language specific features.Data Management Requirements•Store and retrieve versions;store up to 7million triples•Retrieve versions via HTTP or Java function calls;address versions unambigu-ously via URIs and user-friendly via labels•Rich meta data per model /statement:provenance,author,valid time,transaction time•Model based versioning and additionally concept-oriented queries•Queries across versions concerning meta data•Each version can have a number of attached ”suggestions”;ability turn sug-gestions into official versionsOntology Language Requirements•Queries across versions concerning the content•return diffs between arbitrary versions•OBOL semantic diff•OBOL to RDF converter•RDFS semantic diff•OWL semantic diff•Semantic Wiki semantic diff•Conflict detection in OWLKWEB/2004/D2.3.3.a/v1.0June 6th,2005111.3Data Management DesignA versioning system has generally two main parts.One deals with general data management issues,the other part with versioning specific functionality such as cal-culating the difference between two versions.Wefirst present the data management parts and then the ontology specific versioning functions.The data management parts can be used no matter which ontology language is used–as long as the data model is encoded as RDF.RDF encoding of data is crucial in order to have a significant re-use of software across ontology languages.We now present some arguments for this claim.A more detailed discussion can be found in the Knowledge Web Deliverable D2.3.1[1].1.3.1RDF as the structural core of ontology languagesThe most elementary modelling primitive that is needed to model a shared con-ceptualisation of some domain is a way to denote entities and to unambiguously reference them.For this purpose RDF uses URIs,identifiers for resources,that are supposed to be globally unique.Every ontology language needs to provide means to denote entities.For global systems the identifier should be globally unique.Hav-ing entities,that can be referenced,the next step is to describe relations between them.As relations are semantic core elements,they should also be unambiguously addressable.Properties in RDF can be seen as binary relations.This is the very basic type of relations between two entities.More complex types of relations can be modelled by defining a special vocabulary for this purpose on top of RDF,like it has been done in OWL.The two core elements for semantic modelling,mechanisms to identify entities and to identify and state relationships between them,are provided by RDF.Ontol-ogy languages that build upon RDF use these mechanisms and define the semantics of certain relationships,entities,and combinations of relationships and entities.So RDF provides the structure in which the semantic primitives of the ontology lan-guages are embedded.That means we can distinguish three layers here:syntactic layer(e.g.XML),structural layer(RDF),semantic layer(ontology languages).The various ontology languages differ in their vocabulary,their logical founda-tions,and epistemological elements,but they have in common that they describe structures of entities and their relations.Therefore RDF is the largest common de-nominator of all ontology languages.RDF is not only a way to encode the ontology languages or just an arbitrary data model,but it is a structured data model that matches exactly the structure of ontology languages.12June6th,2005KWEB/2004/D2.3.3.a/v1.0。
xml中schema的作用
xml中schema的作⽤⼀什么是schema (模式)1 XML Schema 的作⽤是定义 XML ⽂档的合法构建模块,类似 DTD。
XML Schema 是基于 XML 的 DTD 替代者。
XML Schema 描述 XML ⽂档的结构。
XML Schema 语⾔也称作 XML Schema 定义(XML Schema Definition,XSD)。
2 XML Schema:定义可出现在⽂档中的元素定义可出现在⽂档中的属性,定义哪个元素是⼦元素,定义⼦元素的次序,定义⼦元素的数⽬定义元素是否为空,或者是否可包含⽂本,定义元素和属性的数据类型,定义元素和属性的默认值以及固定值3 xml schema的优势XML Schema 可针对未来的需求进⾏扩展,XML Schema 更完善,功能更强⼤,XML Schema 基于 XML 编写,,XML Schema ⽀持数据类型,XML Schema ⽀持命名空间4 XML Schema 是 W3C 标准。
⼆,DTD 与 XML Schema 引⽤的异同 DTD<?xml version="1.0"?><!DOCTYPE note SYSTEM "/dtd/note.dtd"><note><to>George</to><from>John</from><heading>Reminder</heading><body>Don't forget the meeting!</body></note>XML Schema<?xml version="1.0"?><xs:schema xmlns:xs="/2001/XMLSchema"targetNamespace=""xmlns=""elementFormDefault="qualified">......</xs:schema>xmlns:xs="/2001/XMLSchema"的含义显⽰ schema 中⽤到的元素和数据类型来⾃命名空间 "/2001/XMLSchema"。
Oracle Financials Accounting Hub(FAH)用户手册说明书
Oracle Financials Accounting HubOracle Financials Accounting Hub (FAH) efficiently creates detailed, auditable, reconcilable accounting for external or legacy source systems. FAH includes an accounting transformation engine with extensive validations plus accounting and rules repositories. The transformation engine consistently enforces accounting policies; the repositories provide centralized control, detailed audit trails, and facilitate simultaneously meeting diverse corporate, management, and reporting requirements.K E Y B U S I N E S S B E N E F I T SOracle Financials Accounting Hub is an accounting transformation solution, which enables you to:•Meet compliance requirements with a single source of accounting truth for all external and legacy systems •Store analytic information with accounting for reconciliation and reporting•Maximize efficiency with an enterprise accounting rules engine •Comply with multi-GAAP accounting requirements•Audit GL balances with journal details •Accountant and business user interface•Control and monitor end-to-end processing of transactions through integration with Oracle BPEL Process Manager Fragmented Accounting Approaches Create Many ProblemsMost organizations deploy multiple legacy systems to manage their day to day operations. For many of the system users this results in several problems:∙Difficulty enforcing corporate wide standards.∙Duplicate accounting treatments for each source system.∙Difficulty reconciling accounting with source systems.∙Accounting rule implementation hidden in disparate and opaque program code. Oracle Financials Accounting Hub resolves these problems by centralizing the definition and maintenance of accounting rules in a business user orientated repository. Accounting journals are created with a rules transformation engine, validated, and stored in an auditable format in a single location. Your organization can enhance legal and management reporting, efficiently account for any subsystem, strengthen internal controls and, simultaneously meet diverse and mutually exclusive accounting requirements through multiple representations.Create a Single Source of Accounting TruthOracle Financials Accounting Hub maintains user orientated configurable accounting rules in its rules repository. The repository is also home to the accounting rules for Oracle E-Business Suite applications.Business events can be accounted one or more times in parallel using different accounting rules, currencies, calendars, and charts of accounts. When multiple accounting representations are created for a single business event they are linked and reconcilable.Configurable contextual transaction information is stored with journals for reconciliation, and integrated program hooks allow the ability to add drilldowns to transactions from legacy source systems.K E Y F E A T U R E S•Integrated accounting rules repository •Create accounting rules for everyGAAP•Accounting rules engine•Multiple accounting representations •Sophisticated error handling •Supporting references•Export and import accounting rulesfrom test to production•Subledger accounting inquiries •Reporting on accounting ruledefinitions•Manual adjustments•Predefined validations •Predefined BI Publisher templates •Raw transaction and pass-throughaccounting. Store Analytic Information with Accounting for Reconciliations and Reporting Transaction and supporting reference information can be stored in the accounting repository and used for reporting or to feed analytic systems. In the example below, the industry type is tracked as a supporting reference for analysis of this key business dimension.Figure 1. Supporting References Balance Inquiry in Oracle Financials Accounting HubYou can register any business attribute associated with the external or legacy system as a “source”. Sources can be used to drive accounting rules, included in journal descriptions or stored as supporting references for subsequent reporting and analysis.Optionally, Oracle Financials Accounting Hub can, calculate and store balances for supporting references. Supporting reference balances are a powerful analytic feature since, in effect, they extend the accounting flexfield for certain types of transactions without cluttering General Ledger with subledger detail. For example, geographies, channel, industry, investment type, fund manager or product category can be tracked as supporting references without including these key business dimensions in the accounting flexfield.Efficiently Create Accounting for Multiple Heterogeneous Source Systems Oracle Financials Accounting Hub provides a flexible rules builder for business users to create accounting rules once and deploy them many times across different external and legacy systems.Legacy systems that do pre-accounting can pass journals through the hub to validate and store the accounting in the accounting repository for a single, reliable, enterprise wide view.The example below shows the Journal Line Definition user interface in Oracle Financials Accounting Hub to illustrate that you can define elaborate journal line descriptions, advanced account derivation rules and supporting references for your accounting journal lines.R E L A T E D P R O D U C T SSome of the products that share the centralized accounting repository with Oracle Financials Accounting Hub are:•Oracle Assets•Oracle Cash Management •Oracle Inventory Management •Oracle Order Management •Oracle Payables•Oracle Purchasing•Oracle Projects•Oracle ReceivablesR E L A T E D S E R V I C E SThe following services support Oracle Main Product:•Product Support Services •Professional Services Figure 2. User Defined Journal Lines Definitions in Oracle Financials Accounting HubExternal and legacy systems that do not produce accounting can use the rules builder to map and transform raw transactions. This data can be used to control the journal lines created, build journal descriptions, summarize lines, and define journal line accounts.The rules engine anticipates and uses transaction lifecycles. You can account using a transaction flow-based approach, recognizing that the same information can be used to account for related transactions. This facilitates reconciliation, simplifies rules, and reduces the burden on source systems.The accounting engine offers flexible scheduling, processing, and event options.∙Create accounting for a specific business event, or all events for an application.∙Account for manual adjustments using a web-based user interface (refer to figure 2 below).∙Use integration with Fusion Middleware via Business Events to extend validation and / or send notifications to the appropriate users.Figure 3. Manual Adjustment User Interface in Oracle Financials Accounting HubQuickly Update Accounting Rules to Meet New RequirementsChanges in accounting regulations or corporate structure are quickly accommodated with effective dating of rules. The dates of inbound events are used to determine which accounting rules to apply to incoming transactions. Users can implement the rules in a test system and import them into production. An automatic comparison feature allows users to preview the differences between old and new versions of the rules before completing the import.User Interface for Accountants and Business AnalystsOracle Financials Accounting Hub provides an intuitive, business oriented user interface. Users can create and update rules without IT intervention. For example, the user interface allows analysts to determine whether a line should be a debit or credit, its description, and how it should be summarized as shown in the Journal Line Types example below.Figure 4. User Defined Journal Line Types in Oracle Financials Accounting Hub Rapidly Integrate New SystemsMany organizations need to efficiently integrate new industry-specific systems or recently acquired companies into their existing environment.Oracle Financials Accounting Hub implementations can be done gradually, reducing the implementation risk. In a single Oracle Financials Accounting Hub environment, both journal pass-through solutions as well raw transaction-based accounting solutions can be implemented. Customers can move from a pass-through solution to raw transaction-based accounting as they require. New systems can be added and new products can be launched whilst the system is in use.Sharing and Reusing Accounting RulesThe rules repository allows users to separately define and reuse setups for each component of a journal entry such as the journal lines, descriptions, and summarization criteria. These setups can be reused to rapidly integrate new source systems into Oracle Financials Accounting Hub. Users can quickly create rules, copy and reuse them to meet similar, yet distinct requirements. For example, if several systems areexpected to book fee income, cash receipts, or disbursements to the same general ledger account, a single rule can be created and used to account for each of these systems.Accelerate the Monthly CloseThe period close process is one of the most closely watched financial processes. From staying on top of new financial reporting regulations to increasing the efficiency of the current close process, there is always a focus on this key financial process.Sophisticated Error and Exception HandlingA rapid daily and monthly close requires prompt resolution of accounting errors. Oracle Financials Accounting Hub stores not only the error messages but also the entire journal when it encounters errors. Users can quickly isolate, research, and resolve exceptions with business oriented exception management and on-line inquiries.Error status journals are automatically reprocessed each time the accounting engine executes until they are successfully accounted. Routing and resolution of exceptions can be accelerated using predefined error limits for accounting engine processing.Integrate Source Systems with Oracle BPEL Process ManagerThe Oracle Financials Accounting Hub is based upon a service-oriented architecture and takes advantage of Oracle’s SOA platform and Fusion Middleware. The integration can be used to control and monitor the end-to-end processing of accounting transactions (e.g., retrieval of transactions, pre-processing, error-handling, post-processing and write-back to feeder systems).Enhance Internal Controls and AuditabilityThe centralized architecture of Oracle Financials Accounting Hub provides a number of enhancements to your internal control structure to ensure successful audit and compliance reviews. Some of the best practices features that are available include the following:∙The name and version of the applied rules is stored with each journal entry in the accounting repository.∙Active rules can be locked to prevent changes.∙Rules cannot be used until validated.∙On-line inquiries allow users to view journals based upon the version and name of the rules used to generate the accounting and the ability to view the associated names of the journal line definitions and the journal line types.∙Reporting on accounting rule definitions to enable easy review of all the accounting rules defined.∙Separate security for viewing accounting by role and user.∙Transaction security policies hooks can limit drilldown to source system information. ∙Manual adjustments can be restricted by role and userAuditors and compliance officers can use the rules and accounting repositories as a basis for their engagements.The Oracle Financials Accounting Hub takes full advantage of Oracle Application Object Library and database security features.Transparent, Extensible Validations for Sarbanes-Oxley ComplianceEnforcing consistent accounting validations is difficult in a heterogeneous systemsenvironment. The common accounting rules engine includes a robust collection ofvalidations and balance and control routines. These validations are fully documentedfor complete transparency, a key requirement for Section 404 Sarbanes-Oxleycompliance.Minimize Manual Corrections with Draft AccountingThe draft accounting feature of Oracle Financials Accounting hub minimizes errorcorrections by allowing users to preview their accounting both on-line and in reportsreducing the need for adjusting journals. The rules and transaction information can becorrected before accounting is finalized.Audit Trail from General Ledger Balances to Business EventsUsers can drill from Oracle General Ledger balances to the specific journal lines in theaccounting repository that comprise that balance. Embedded bi-directional flows allowusers to drill from journal lines either to the supporting business events and theaccounting details.SummaryThe core strengths of Oracle Financials Accounting Hub include its ability to create asingle source of accounting truth for multiple external and legacy systems usingbusiness user-defined accounting rules. This enables you and your organization tocomplete a finance transformation of the back-office operations to make them efficientand compliant.C O N T A CFor more information about Oracle Financials Accounting Hub, visit or call +1.800.ORACLE1to speak to an Oracle representative.C O N N E C T W I T H U S/oracle /oracle /oracle Copyright © 2016, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the contents hereofwarranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This documentmeans, electronic or mechanical, for any purpose, without our prior written permission.Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and。
基于RDF本体的XML数据集成框架
基于R DF本体的X M L数据集成框架l■张嫒1龚伟2‘1.山东财政学院计算机信息工程学院山东济南250014;2.中国网通集团公司济南分公司山东济南250041)裂蹴Y V A L L E.■信息科学[摘要]提出一个基T oR D F本体[1]的X M I.语义集成框架.在所有参与集/茂的X M L数据源之问建立起语义互联,并为用户提供一个统一数据查询视图。
文中以框架的体系结构和功能实现为主线,介绍了本体及映射构建过程和集成环境中不同查询模式的处理过程。
[关键词】语义集成本体R D F查询霞写中图分类号:TP311文献标识码;^文章编号;1671--7597(2008)1120041--01一、目I曹本文在中介器模式[2]基础E引入了本体和双霞映射[4]机制,提出了一个基于R D F的瑚。
[3]数据集成框架.克服了G aY[2】和LaV[2]数据集成模式的不足。
二、方寮曩述本集成框架分为数据包装层、集成中介层和戍用层,利用中介器模式保证数据源自治性,同时在中介层建立本体库,利用本体技术改善查询效率加强语义管理。
数据包装层通过对底层数据源进行封装.提供给中介层一个统一的接口,实现不同的数据源与接口之间的映射。
集成中介层主要有查询处理器和本体库,集成备数据源的局部模式,向用户提供统一的逻辑视图。
其中,查询处理器负责接收执行并反馈用户查询:查询转换模块将查询转换为R D Q L[4]格式,并进行查询方案选择,绑定相关变量发送给查询分解器。
查询分解模块接受查询后,根据推理机规则将全局模式杏询转换为基于X qu er y[5]的了查询,并由杏询合成模块将结果组装返网给用户。
1.本体库在本体管理器的控制F完成对.ow l本体文件和映射表文件的存储、更新与维护。
2.推理机根据本体库中的推理规则返回查询概念语义相似或相关对象。
兰、基于本体的用户视图构童通过在数据集成中引入本体定义公共本体使结构独立查询成为可能,另外本体进化理论和推珲规则的运用也使查询质量得到提高。
XML Schema相关的应用技术
(3)是否支持名域(命名空间)
XML Schema利用名域将文档中特殊的节点与Schema说明相
联系,一个XML文件可以对应有多个不同的Schema(各个 Schema通过命名空间进行相互区分)命名空间。 而如果是使用DTD,一个XML文件只能有一个与之相对应的 DTD文件。
在命名空间声明中,等号右边的命名空间名虽说要求 是一个URI,但其目的并不是要直接获取一个Schema或DTD 文件,而在于标识特定的命名空间。
#PCDATA为字符串
如何解决这个问题? (4)DTD的主要问题 DTD 的语法相当复杂同时在数据类型的支持方面比较 差,不支持多种多样的数据类型; 并且它不符合 XML 文件的标准,自成一个体系。也就 是说 DTD 文档本身并不是一个良好形式的 XML 文档,用 了非XML的语法规则; DTD 无法简化子元素基数性的规范(可以简洁地指定 “一个或多个”子元素,但不能指定“二到五个之 间”,扩展性较差。 在 DTD 中,符号: ? 、 * 和 + 分别指定“零或 一”、“零或多个”、“一个或多个”,其中一个量化了 基数性;即,除了问号有能力说:“有或没有”以外, DTD语法中似乎没有可以限制给定模式出现次数的东西
您应该知道这个要求吧!
(1)XML文档有“格式良好”和“有效性”两种约束 其中的格式良好适合于所有的XML文档,即满足XML标准中 对于格式的规定 ; 而当XML文档满足一定的语义约束则称该XML文档为有效的 XML文档 (2)为什么要对XML文档 加以约束 因为在特定的应用 中,数据本身有“语义限 制”。也就是有下面的要 求: 含义上 数据类型上 数据关联上的限制
5、XML Schema的用法应用示例 (1)XML文档(emp如下(employees.dtd)
芯片失效分析系统Avalon软件系统说明书
DATASHEET Overview Avalon software system is the next-generation CAD navigation standard for failure analysis, design debug and low-yield analysis. Avalon is a power packed product with tools, features, options and networking capability that provides a complete system for fast, efficient and accurate investigation of inspection, test and analysis jobs. Avalon optimizes the equipment and personnel resources of design and semiconductor failure analysis (FA) labs by providing an easy-to-use software interface and navigation capabilities for almost every type of test and analytical failure analysis equipment.Avalon enables closer collaboration of product and design groups with FA labs, dramatically improving time to yield and market. Avalon can import CAD design data from all key design tools and several user-proprietary formats while providing visual representations of circuits that can be annotated, exploded, searched and linked with ease.Benefits • Improves failure analysis productivity through a common software platform for various FA equipment • Significantly decreases time to market with reduced FA cycle time • Faster problem solving by cross-mapping between device nodes to view all three design domains (layout, netlist and schematic) simultaneously • Increases accuracy of FA root cause analysis using advanced debug tools • Single application that overlays images from various FA equipment on to design layout • Secure access to all FA information using KDB™ database • Design independent system that supports all major layout versus schematic (LVS)• Complete access to all debug tools critical to failure trace, circuit debug and killer defect source analysis • Simple deployment setup with support for Linux and Windows • Seamless integration with legacy Camelot™ and Merlin™ databases • Ease of conversion for layout, netlist and schematic data and establishes cross-mapping links between each data entityCAD Navigation andDebug Solutions forFailure AnalysisAvalonFigure 1: Avalon CAD-navigation system integrating layout, signal tracing and 3D viewSupporting all CAD Design DataSynopsys is committed to being the leading provider of software solutions that links all CAD design data. Avalon is a comprehensive package that reads all EDA tools and design data from verification systems and several user-proprietary formats. The KDB™database is designed to interface with all key design formats.Today, there are more EDA developers and more verification package choices; Synopsys is the only company thatsupports all of them.• LVS Conversions: Cadence (Assura, DIVA), Mentor Graphics (CheckMate, Calibre), Synopsys (Hercules, ICV)• Netlist Conversion: SPICE, EDIF, OpenAccess• Layout Conversion: GDSII, OASIS®The highest priorities for Avalon users are faster data accessibility, support diverse failure analysis equipment and availability of debug tools. Avalon provides the optimal solution for both small and continually-expanding FA labs and design debug teams. The Avalon database is design independent and offers a superior level of data consistency and security. The unique design of the internal database schema guarantees compatibility with decades-old databases. This is an indispensable feature for all failure analysis, QAand manufacturing organizations especially in the automotive industry.Figure 2: Avalon SchemView and NetView provide an easy way to navigate inside circuit schematicsProviding Critical Analysis FunctionsIn addition to its CAD navigation and database capabilities, Avalon’s analysis features have become indispensable to the FA lab. Different viewing options are critical in tracking potential failures and determining the source and origin of killer defects. Avalon includes special schematic capabilities and layout features that are invaluable to FA engineers as they debug chips manufactured using new processes.Avalon View Only Client consists of maskview, netview, schemview, i-schemview, K-EDIT, defect wafermap and 3D-SAA. The list below details some of the most commonly used applications.Defect Wafer Map integrates defect inspection data with the device CAD design using the defect coordinates to navigate an equipment stage and pinpoint the defect for closer inspection and characterization. Avalon sorts defects by size, location or class, as well as layout location and allows the user to define custom wafer maps. Additionally, users can classify defects, attach images and write updated information to the defect files.Figure 3: Defect Wafer Map pinpoints defects for closer inspectionSchemView provides tracking of potential failures through visualization of the chip logic. Cross-mapping of nets and instances to the device layout and netlist, SchemView helps determine the source and origin of chip failures. SchemView helps determine the source and origin of chip failures. The entire design is displayed in cell hierarchy format, allowing push-down to a transistor level.Figure 4: K-Edit allows collaboration between design, fab and labI-Schem (Interactive Schematic) creates a schematic from a netlist in a net-oriented format allowing forward and backward tracking to locate a fault. Features like Add Driver or Add Input Cone allow for quick analysis and verification of diagnostic resultsin scan chains.Figure 5: I-Schem creates a schematic from a netlistK-Bitmap allows equipment CAD navigation when analyzing memory chips by identifying the physical location of failingmemory cells. It eliminates tedious screen counting by converting the logical addresses, or row and column coordinates, to thephysical location.Figure 6: K-Bitmap identifies the physical location of bit addresses in memory devices3D Small-Area Analysis provides a three-dimensional cross- section capability to FA engineers, enabling faster localization of circuit failures to accelerate IC manufacturing yield improvement.Figure 7: 3D Small-Area Analysis enables faster localization of circuit failuresHot-Spot Analyzer allows user to draw regions on the layout that correspond to hot-spot regions (emission spots) to detect the crucial nets. It finds the nets in each hot-spot region and plots a pareto graph of nets crossing one or more hotspots which helps to easily locate the killer net.Figure 8: Hot-Spot Analyzer displays number of nets in a hot spotUser-Defined Online Search (UDOS) allows users to search a small area of a die for unique polygon features, repeated features or lack of features. Applications include, but are not limited to, FIB-able regions, repeaters, pattern fidelity and lithographic applications.Figure 9: User-Defined Online Search (UDOS) finds easy-to-access tracesPassive Voltage Contrast Checker (PVC) quickly and accurately validates the integrity of a circuit’s conductivity and provides detailed information for identifying suspect faults at via or metal tracesFigure 10: Passive Voltage Contrast (PVC) Checker identifies suspect vias or metal tracesElectronic Virtual Layer marks objects to represent net connectivity during a FIB deposit or cut using KEdit. The online trace will simulate the new connectivity to the virtual layer. PVC checker could be used on this virtual layer to simulate the crack or short.Check Adjacent Nets allows logical analysis of nets. This command line tool finds the adjacent nets which are within user-specified threshold distance to find shorts.Export Partial Layout enables the customer to share partial layout data with service labs without compromising the IP of the product.Image Mapper automates the image alignment process in Avalon Maskview and saves a lot of time and effort spent inmanual alignment.Advanced 3D Viewer displays real time 3D view of the selected layout area. It shows each process step in the 3D view for which it uses the process data along with design data. It zooms into smaller details and helps to minimize unintended consequences during FIB cuts due to underneath high density structure.Avalon SolutionAvalon brings all the advantages of enterprise-wide computing for FA of the chip. Avalon is an open architecture system that connects users over local and wide area networks for seamless integration and database sharing. Instrument integration throughout the fab and other locations throughout the enterprise enables viewing, modifying, characterizing and testing the same wafer location with different instruments, or the same location on wafers at different facilities using the same chip design.Figure 11: Avalon’s open architecture integrates with Synopsys’ Yield ExplorerIC DesignToolsFigure 12: Avalon server solutionComprehensive Library of FA Tool DriversAvalon provides navigation with almost every equipment used in the FA lab. With a continued commitment to support drivers for all types of test and analysis equipment, Synopsys will continue to develop driver interfaces for new tools as they are introduced to the market, as well as the next generation of existing tools.Equipment Supported by Avalon• Analytical Probe Stations• Atomic Force Microscopes• E-Beam Probers• IR Imaging• Mechanical Stage Controllers• Emission Microscopes• Microanalysis Systems• FIB Workstation• Laser Voltage Probe• LSM• EDA LVS• Microchemical Lasers• OBIC Instruments• Optical Review• SEM Tools• Photon Emission Microscopes• Laser Scan Microscopes©2018 Synopsys, Inc. All rights reserved. Synopsys is a trademark of Synopsys, Inc. in the United States and other countries. A list of Synopsys trademarks isavailable at /copyright.html . All other names mentioned herein are trademarks or registered trademarks of their respective owners.。
XML Schema与数据库的映射
素时 , 四种情 况 : 、 明 中 miO ces maO — 分 一 声 n cur和 xc Cr都 为 默认值 1 即该 元 素 在 其 父 元 素 中 出 现 的 U s , 次数 有且 仅 有 一 次 ; 、 n cus , aO cr : 二 miO cr =0 m x cus 1 即该元 素 出 现 0或 1次 ; 、 iO cr , 三 mn cus=0 m x , a- O cr>1 即该 元素 出现 0或 多次 ; miO cr> cus , 四、 n cus
2 1 牟g 2 00 1期
中 图 分 类 号 :P 1 .3 T 3 11 文献标识码 : A 文 章 编 号 : 0 2 5 (0 0 1 0 0 0 1 9— 52 2 1 )2- 15- 3 0
X c e MLS hma与 数 据 库 的 映 射
刘 学,周巧雨 ,周 成
( 重庆通信学院一系计算机教研室 ,重庆 4 0 3 ) 0 0 5
互映射 上难 以逾 越 的屏 障 。 于是 X LShm 出 M ce a
情 况 , 接将 元素 映射 成为类 中的字段 , 直 以元素 名为
字 段名 。对 于后两 种情 况 , 建立 新类 , 要 再把元 素 映
现了, 它具有丰富的数据类型和约束关系, 并且提供
了 X L文档 结构 和元 素 的所 有信 息 。再 加 上 X M ML 文档 在 本 质 上 是 面 向 对 象 的 , 以将 X ce a 可 MLShm 映射成 类视 图 J进 而 生 成 数 据 库 表 单 , 现 X , 实 ML 文档 与数据库 的相互 映 射 。
A src :Sn eX ou n bet r ne se c ,t spp rso saw yo a pn ML b t t ic MLdc met s jc— i t i esn e h a e w a f p igX a io oe d n i h m
xmlschema实例
xmlschema实例XML Schema 实例XML Schema 是一种用于定义 XML 文档结构、数据类型和约束的语言。
通过使用 XML Schema,可以确保 XML 文档的有效性和一致性,从而提高数据交换的可靠性和可靠性。
本文将介绍 XML Schema 实例的基本概念、语法和应用。
一、XML Schema 实例的概念XML Schema 实例是一个 XML 文档,它遵循特定的 XML Schema 定义。
它描述了 XML 文档的结构、元素和属性的数据类型以及它们之间的关系。
通过使用 XML Schema 实例,可以对 XML 文档进行验证,以确保其符合特定的规则和要求。
二、XML Schema 实例的语法XML Schema 实例遵循 XML 的语法规则,并使用特定的命名空间和元素来定义 XML 文档的结构和约束。
以下是 XML Schema 实例的基本语法要素:1. 命名空间:XML Schema 实例使用命名空间来区分不同的 XML Schema 定义。
命名空间通过 XML 文档的属性 xmlns:xsi 和 xmlns 来声明。
2. 元素:XML Schema 实例使用元素来定义 XML 文档的结构。
元素可以包含其他元素、属性和数据类型约束。
元素使用 xs:element元素来声明,并使用 name 属性指定元素的名称。
3. 属性:XML Schema 实例使用属性来定义元素的特性和约束。
属性使用 xs:attribute 元素来声明,并使用 name 属性指定属性的名称和类型。
4. 数据类型:XML Schema 实例使用数据类型来定义元素和属性的值的类型和约束。
数据类型可以是基本类型(如字符串、整数、日期等)或自定义类型。
数据类型使用 xs:simpleType 元素来声明。
5. 约束:XML Schema 实例使用约束来限制元素和属性的值的范围和格式。
约束使用 xs:restriction 元素来声明,并使用 base 属性指定所约束的数据类型。
federation metadata xml
federation metadata xmlFederation Metadata XML 是一种用于描述联合身份验证服务(如Active Directory Federation Services,ADFS)的元数据的XML格式。
这种元数据通常包含有关联合身份验证服务的各种信息,如服务的URL、用于身份验证的证书、支持的声明类型以及与其他联合身份验证服务的关系等。
Federation Metadata XML 文件通常由联合身份验证服务的提供者发布,并可以被其他服务或应用程序使用,以便它们能够与提供者进行交互和验证用户身份。
例如,一个Web 应用程序可以使用Federation Metadata XML文件来了解如何与一个联合身份验证服务进行交互,以便在用户尝试访问该应用程序时进行身份验证。
Federation Metadata XML 文件的结构和内容可以根据具体的联合身份验证服务和需求而有所不同。
但是,它们通常都包含一些共同的元素和属性,如EntityDescriptor、SPSSODescriptor、IDPSSODescriptor等,这些元素用于描述服务的不同方面和特性。
在开发和使用联合身份验证服务时,Federation Metadata XML 文件是非常重要的。
它们不仅提供了与其他服务进行交互所需的信息,还可以帮助开发人员理解和调试联合身份验证过程中的问题。
因此,对于需要使用联合身份验证服务的应用程序和服务来说,正确地生成、发布和使用Federation Metadata XML 文件是至关重要的。
总的来说,Federation Metadata XML 是一种用于描述联合身份验证服务的元数据的XML格式,它包含了服务提供者发布的各种信息,以便其他服务或应用程序能够与提供者进行交互和验证用户身份。
对于需要使用联合身份验证服务的应用程序和服务来说,正确地处理这些XML文件是非常重要的。
XML Schema视图的研究与实现
o ML d c me t.Viw i a f c n a o a h e e f e gan d a c s o t 1 n AC i a f xb e frX o u n s e n ef i t y t c iv n . r ie c e sc nr .A d RB s e i l s i e w i o l
Ab ta t T e pe ae tu eo sr c : h rv ln s fXML g lg t hih ihs山en e o e il i e g an d a c s—o t l c a im e d fra f xb e.f — r ie c e sc nr l n o me h n s
a c s o to a e n XML c e iw sp p s d to. c e sc n rlb s d o S h m ve i r o e o a o
K yw r s ML c e ;R A R l B sdA cs C nr ) M hm i ;f ega e od :x ;S hm a B C( 0 .ae ces ot 1;X L S e av w i —rn e o c e n i
信息 敏感性 程度 就 比其 他 信 息要 高 , 户 对 这 些 信 用 息 的访 问权 限是 不 同 的 , 因此 必须 实 现 细粒 度 的访 问控制 。实 现访 问控 制 有很 多机 制 , 如 传 统 的访 例
此X ML更具有 可 扩展 性 , 网络 中受 到广 泛 应 用 , 在 已经 成为 网上数据 和文档传输 的标 准 。安全是 互联 网业 务发展 的前提 , 于是 X ML文档 的 安全成 为 研究
Re e r h a d i p e e t to f XM L c e a v e s a c n m lm n a i n o Sig I J IJ —u a
XML Schema派生和重用机制
方式 :1利用关 系数据库管 理系统实现 ;2利 用面向对象数 据库管 理系统实 现 ;3 原生 的 X L数据 库系 统 . () () () M 采用关 系
数据库管理系统来处理 X L文档 的优势体现 在 : M 重用数据库 的查询 优化器和 事务处理 机制 , 保证 了 X ML数据 的一致 性和 完整性 , 但是 由于数据模 型上 的差异 , 利用关 系数 据库 来管理 X L数据 也给数据 库技术带来 了许 多新 的挑 战 . M 当前 的研究 主要集 中在把 X LD D转换成关 系模 式 . M T J文献 E ] 出直接 把 x L Shm 转换成关 系模 式 , 都对 X L Shm 复杂 的 4提 M ce a 但 M e c a
< / s ee  ̄ > x d:lme < x d:lme tn me= ” 2” tp s ee n a a y e= ”x d: tig /> s srn " </s sq ec x d: e u n e> < / s c mpe T p x d:o lx y e> < x d: o lx p a s e mpe Ty e n me= ’ Ty e > ’ B p”
结构( 如扩展 、 限制 、 重用 ) 及约束信息没有提供有 效的保证
笔者讨论 的主要 内容是通过对 X hm 的分 析给 出一 种在 X LShm 和关 系模式 之 间的映射方 式 , 映射 过程 MLS e c a M e c a 在 中, 保持 了 X LShm 的语 义信息 , 派生和重用机制进行 了重点探讨 , M e c a 对 提供结构 字典存贮 相关信息 , 以方便 重构文档 .
20 07年 l 月 1
文 章编 号 :0 7 95 20 )6—04 10 —2 8 ( 17 0 3 0 5—0 5
IBM Cognos Transformer V11.0 用户指南说明书
将数据库业务作为服务的XML数据流正负关联规则挖掘
2 正负关联规则挖掘系统
本文 所提 出的系统 有 以下假设 前提 :
掘 。正 关 联 规 则 描 述 的是 :如 果 A事 件 在 一个 事
务 中发 生 ,那 么 B也有 可 能在 这 同一事 务 中发 生 。 然而 ,随 着数 据挖 掘技 术 的应用 增长 ,研 究者 们正 在 寻 找一种 替 代模 式 ,比如 负关联 规 则 ,它可 以用
杨永峰 ,王东煜 ,胡莹瑾 Y G o gf n , AN Y n — g WAN D n - u H igj e G o gy , U Yn -n i
( 河北旅游职业学 院 ,承德 0 7 0 ) 6 0 0 摘 要 : 关联规则挖掘被广泛用在数据库中寻找来正关联规则 ,但更有用的是 数据流挖掘和负关联规则
挖掘 。此 外 ,企业们希望专注于他们自己的数据库业务 ,而将其余的数据库业务外包 ,这种方
法被 称作 “ 数据库处理业务作为一种服务”。本文提出了一种将 数据库处理业务当作一种服务
的规 则挖掘系 统 ,它能为X 数据流 的正负关 联规则挖掘提供高效、安全 的解决方案 ,并且我 ML
们 已经用合成数据集对此系统进行了多次实验来证明它的性 能和效率。 关键词 : 规则挖掘 ;数据流 ;数据库
0 引言
由于 数 据 库 技 术 的近 年 发 展 ,数 据 挖 掘 在 商 业 领 域 中 的 的 重 要 性 日益 凸显 ,如 市 场 营 销 ,金 融 和 电信 。关 联 规 则 挖 掘 是 在 大数 据 集 中 寻 找 频 繁 模 式 的 一 种 数 据 挖 掘 方 法 , 它 首 次 由 A rw l ga a 在 19 9 3年 提 出 ,用 来 挖 掘大 型 事 务 数 据库 的 关 联
RDF与XML的区别是什么
RDF与XML的区别是什么
1.RDF模式和XML模式是不同的
XML数据模式是一个文本可扩展语言,相比之下,RDF有一个非常简单的模式,即二元关系模式。
当然,任何的RDF声明形式都可以用XML来表示,但XML是被设定为固定的、树状的文本,在描述数据元上缺乏一定的灵活性。
RDF模式却是有足够的灵活来描述这种主观的、分布式的、用不同形式来表达的元数据。
2.RDF和XML所使用的资源不同
XML中所谈到的节点,是XML文档中的节点,尤其是在文档结构中特定之处。
在RDF中,节点不在是节点本身了,而是任何其他可用URIS标识的资源,因此RDF是一种元数据语言。
3.XML Schema和RDF的语意不同
XML Schema最初的语意解释是限制在XML文档中的,它是隐含的。
RDF原本就是语意解释,用于对那些不能够用树形结构来很好建模的知识进行建模。
总之,XML/XML Schema是数据建模语言,RDF是元数据建模语言,当元数据需要编码成数据时,XML语法就非常的有用,如果纯用XML语言来进行元数据建模那么在灵活性就会受到阻碍。
dynamicexport注解
dynamicexport注解
动态导出注解(DynamicExport Annotation)是一种在编程中用于标记动态导出功能的注解。
在软件开发中,动态导出通常指的是根据特定条件或者运行时的状态来动态地导出某些功能或数据。
动态导出注解可以用于标记需要在运行时动态导出的方法、类或者其他资源。
使用动态导出注解的好处在于可以让开发人员更灵活地控制程序的行为,根据需要在运行时动态地暴露或隐藏特定的功能。
这种灵活性可以使程序更加适应不同的运行环境或者需求变化。
动态导出注解的具体实现方式可以因语言和框架而异,但通常会涉及到反射、动态代理或者其他类似的技术。
在Java中,可以使用Java的注解机制来定义动态导出注解,并结合反射来实现动态导出的功能。
除了Java之外,其他编程语言和框架也可能提供类似的机制来实现动态导出,开发人员可以根据具体的需求和技术栈选择合适的实现方式。
总之,动态导出注解是一种在软件开发中用于标记动态导出功能的注解,可以帮助开发人员实现更加灵活和动态的程序行为。
通过合理地运用动态导出注解,可以提高程序的适应性和可维护性,从而更好地满足不同的需求和场景。
rowdatadeserializationschema的用法 -回复
rowdatadeserializationschema的用法-回复rowdatadeserializationschema是一种用于数据序列化和反序列化的模式,它允许将数据从一种格式转换为另一种格式。
在本文中,我们将详细介绍rowdatadeserializationschema的用途、功能和使用方法。
首先,让我们来了解一下数据序列化和反序列化的概念。
数据序列化是将数据转换为字节流,以便在网络上传输或存储到文件中。
反序列化是将字节流转换回原始数据格式的过程。
这两个过程是在不同系统之间交换数据时非常常见的操作。
在大数据领域,数据序列化和反序列化具有重要的意义。
当我们处理超过内存限制的数据时,将数据存储到磁盘上的文件中变得非常重要。
然后,我们可以将数据读取到内存中进行处理。
在这个过程中,数据序列化和反序列化起着关键作用。
rowdatadeserializationschema是一种用于处理结构化数据的模式。
它提供了一种将数据从一种格式转换为另一种格式的方式。
rowdatadeserializationschema支持各种格式,包括Avro、Parquet和JSON等。
在使用rowdatadeserializationschema之前,我们需要先定义一个schema。
Schema定义了数据的结构,包括字段名称、类型和约束。
通过将数据与schema相关联,我们可以确保数据以相同的结构进行序列化和反序列化。
这是因为数据的结构在不同系统之间是一致的。
一旦我们定义了schema,我们就可以使用rowdatadeserializationschema来进行数据的序列化和反序列化。
在序列化过程中,rowdatadeserializationschema将数据转换为字节流,并将schema信息包含在其中。
这样,任何接收方都可以通过读取schema 信息来理解数据的结构。
在反序列化过程中,rowdatadeserializationschema将字节流转换回原始数据格式,并将schema信息应用于数据。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Combining RDF and XML Schemas to Enhance Interoperability Between Metadata Application ProfilesJane HunterDSTC Pty Ltd University of Qld, Australia jane@.auCarl LagozeDigital Library Research Group Cornell University, NY lagoze@scenarios in which interoperability between metadata descriptions is essential: • To apply a single query syntax over descriptions expressed in multiple descriptive formats; • To express the relationship between multiple descriptions in terms of a “core” or “canonical” description; • To project community or individual specific descriptions out of a single canonical description. The metadata interoperability problem has been exacerbated by the need for more complex metadata descriptions. It has become increasingly evident that simple standards such as Dublin Core (DC) [13] cannot satisfy the requirements of communities such as TV-Anytime [2], MPEG-21 [3], BIBLINK [14] and OAI [4] who need to combine metadata standards for simple resource discovery (DC), rights management (INDECS [15]), multimedia (MPEG-7 [16]), geospatial (FGDC [17]), educational (GEM [18], IEEE LOM [19]) and museum (CIDOC CRM [20]) content, to satisfy their application-specific requirements. In this paper we propose mechanisms for metadata interoperability based on both RDF Schema and XML Schema. Using examples and implementations, we demonstrate how these two schema languages can be made to work together to enable flexible, dynamic mapping between complex, metadata descriptions which mix elements from multiple domains, i.e., application profiles. Our objective is to demonstrate how these two W3C Candidate Recommendations can be used in a complementary manner, exploiting the benefits of both. In Section 2 we describe our overall web metadata architecture proposal and how the various components described in this paper fit together. In Section 3 we describe alternative mechanisms by which the two schema languages can be made to work together. The first part of section 3 defines clear boundaries between the responsibilities of RDF Schema and XML Schema to prevent functional overlap which could lead to contradictory constraints or incompatibilities. The second part of section 3 examines alternative mechanisms for linking complementary RDF and XML Schemas which are being used together to define a single metadata element set. In Section 4 we describe MetaNet, a “superontology” derived by merging a number of different domainspecific RDF Schemas. In Section 5 we describe how the semantic knowledge within MetaNet can be linked to XSLT to enable interoperability between application-profiles. Section 6 concludes with an overview of the advantages and disadvantages of this approach and the areas which require further work.AbstractThe term “application profile” has recently become highly topical. Heery and Patel [1] define application profiles as metadata schemas which consist of metadata elements drawn from one or more namespaces, combined together by implementers and optimised for a particular local application. They state that the principal characteristics of an application profile are that: it may draw on one or more existing namespaces; does not introduce new metadata elements; it can specify permitted schemes and values; and it can refine standard metadata elements. Significant new initiatives such as TV-Anytime [2], MPEG-21 [3] and the Open Archives Initiative (OAI) [4] are demanding application profiles which combine elements from a number of different existing standardized metadata schemas whilst maintaining interoperability and satisfying their own specific requirements through refinements, extensions and additions. So far approaches to application profiles have been based on either RDF Schemas [5] or XML Schemas [6,7,8]. The SCHEMAS project [9] has adopted a purely RDF Schema approach. Justification for a pure XML Schema approach to application profiles is given in [10]. Despite high level assurances of unification from the W3C [11, 12], a purist and competitive attitude has prevailed amongst implementers. This has been because the demarcation of roles and the interface between these two disparate W3C Candidate Recommendations has been fuzzy; no low level details or implementations describing interface mechanisms have been provided; and implementers have been afraid of compromising interoperability. In this paper we describe a hybrid collaborative approach which combines the semantic knowledge of RDF Schemas with the explicit structural, cardinality and datatyping constraints provided by XML Schemas in a complementary manner. First we describe our view of how XML Schema and RDF Schema fit into the overall web metadata architecture. We then describe possible schema interface mechanisms. Finally using examples and mapping implementations based on XSLT and a metadata ontology, we demonstrate how interoperability between application profiles can be enhanced by using a dual schema approach. Keywords: Metadata, Interoperability, XML, RDF, Schema, XSLT1. IntroductionMetadata interoperability is a fundamental requirement for access to information on the Internet. In particular there are threeCopyright is held by the author/owner(s). WWW10, May 1-5, 2001, Hong Kong. ACM 1-58113-348-0/01/0005.2. Semantic Web Metadata ArchitectureIn this section we propose a Web metadata architecture which will enable interoperability between domain-specific metadata schemas and application profiles consisting of metadata elements drawn from those schemas.457We propose that both metadata diversity and interoperability can more easily be accommodated across the WWW if each metadata domain defines both an RDF Schema and an XML Schema for their domain in their registered namespace. The RDF Schema file will define the domain-specific semantic knowledge by specifying type hierarchies and definitions - based on the ISO/IEC 11179 standard for the description of data elements. The XML Schema file will specify recommended encodings of metadata elements and descriptions by defining types and elements, and their content models, structures, occurrence constraints and datatypes. In addition, the XML Schema will contain links to the corresponding semantic definitions in the RDF Schema file in the same namespace. By expressing the semantic knowledge of each domain in a machine-understandable RDF Schema, it then becomes possible to merge these separate domain ontologies or vocabularies into a single encompassing ontology or vocabulary, also expressed as an RDF Schema, known as the MetaNet ontology. XSLT provides the language for transforming between XMLencoded metadata descriptions. Combined with the semantic knowledge provided by MetaNet, XSLT is capable of performing both the semantic mapping and the structural and syntactic mapping required between metadata descriptions based on mixeddomain application profiles. Hence the key components of this architecture, as illustrated in Figure 1, are: • Domain-specific namespaces which express each domain's metadata model and vocabulary using both an RDF Schema and an XML Schema. Each XML Schema contains links to the corresponding RDF Schema; • MetaNet - a single metadata ontology, expressed as an RDF Schema and based on a common underlying, extensible vocabulary. This has been generated by merging the domainspecific ontologies (RDF Schemas) from each namespace;•XSLT - a language for transforming between XML-encoded metadata descriptions. When combined with the semantic knowledge of MetaNet, XSLT is capable of flexible dynamic mappings between application profile instantiations; • Application Profiles - XML Schema definitions which combine, restrict, extend and redefine elements from multiple existing namespaces. In addition, using mechanisms such as those described in the next section, application profiles can also embed RDF Schema definitions of new Classes or Properties which are subClasses or subProperties of classes and properties defined in the domain-specific RDF Schemas. In the next section we describe various interface mechanisms by which RDF Schema and XML Schema can be made to work together concurrently.3. Combining RDF and XML SchemasThere are two possible alternative schema languages for defining application profiles (application-specific metadata element sets) : RDF Schema [5] and XML Schema [6,7,8]. (XML DTDs cannot seriously be considered as a solution since they do not explicitly support namespaces [21].) Of the two possible approaches, each offers its own advantages and disadvantages: • RDF Schemas provide support for rich semantic descriptions but provide limited support for the specification of local usage constraints (i.e., structural, cardinality and datatyping constraints); • XML Schemas provide support for explicit structural, cardinality and datatyping constraints but provide little support for the semantic knowledge necessary to enable flexible dynamic mapping between metadata domains.Figure 1 - Example of the Proposed Web Metadata Architecture 458Hence the most logical approach is to use both RDF Schemas and XML Schemas so as to exploit their complementary features. The difficulties associated with using both schema languages in conjunction are that: • there is a degree of functional overlap between RDF Schema and XML Schema which can be resolved by: o Either developing a hybrid RDF+XML schema parser which is capable of checking for consistency between RDF Schema and XML Schema constraints; o Or clearly demarcating the responsibilities of each schema language to prevent duplication or inconsistency between constraints; • there are currently no clearly defined mechanisms for smoothly and cleanly meshing RDF Schema and XML Schema definitions. In the long-term we believe that this calls for a re-examination of the two schema languages and the formulation of a design that integrates their complementary functionality. However, there is an immediate need for a more near-term solution to serve the critical need for metadata interoperability. In the remainder of this section we propose various immediatelyavailable solutions (and their advantages and disadvantages) to the problems outlined above which will enable RDF Schema and XML Schema to work in synergy to satisfy the requirements for metadata interoperability.</rdfs:Class> <rdf:Property rdf:ID=“title” > <rdfs:label>Title</rdfs:label> <rdfs:comment>The name given to the resource</rdfs:label> <rdfs:domain rdf:resource=“#Book"/> <rdfs:range rdf:resource=“/2000/01/rdf-schema#Literal"/> </rdf:Property> <rdfs:Property ID=“author” > <rdfs:label>Author</rdfs:label> <rdfs:comment>A person responsible for creating a written document</rdfs:comment> <rdfs:subPropertyOf rdf:resource=“/dc/elements/1.1/dcmes.rdf#Creator"/> <rdfs:domain rdf:resource=“#Book"/> <rdfs:range rdf:resource=“/2000/01/rdf-schema#Literal"/> </rdfs:Property> <rdf:Property ID=“organisation” > <rdfs:label>Organisation</rdfs:label> <rdfs:comment=“The author's affiliation."/> <rdfs:domain rdf:resource=“#Author"/> <rdfs:range rdf:resource=“#OrgNames"/> </rdf:Property> <rdfs:Property rdf:ID=“OrgNames"/> <OrgNames rdf:ID=“OCLC"/> <OrgNames rdf:ID=“Cornell University"/> <OrgNames rdf:ID=“DSTC"/> </rdf:RDF>3.1 A Comparison of RDF Schema and XML Schema RepresentationsIn this section we express a simple example in both XML Schema and RDF Schema to highlight the advantages and disadvantages of each schema language and to demonstrate the overlap in functionality. Consider the following simple example: In our domain, we have a new class Book which is a subClassof Resource. The Book class has 2 properties, title and author. Each book may have one and only one title but may have up to four authors. Author is a subtype of the DCMES element dc.creator and also has an additional property of its own, organisation. The values of the organisation property are constrained to a set of three allowable instances ("OCLC,” “Cornell University” and “DSTC"). Below is an RDF Schema representation for this example. The RDF Schema Class and Property declarations and label and comment elements, provide semantic definitions for the metadata elements and their attributes. The type hierarchy is defined using the subClassOf and subPropertyOf elements. The domain constraint specifies the attachment of properties to classes and the range constraint can be used to indicate the classes that the values of a property must be members of.<?xml version='1.0'?> <rdf:RDF xmlns:rdf=“/1999/02/22-rdf-syntax-ns#" xmlns:rdfs=“/2000/01/rdf-schema#" xmlns:dc=“/dc/elements/1.1/"/> <rdfs:Class rdf:ID=“Book” > <rdfs:label>Book</rdfs:label> <rdfs:comment>The class of books</rdfs:comment> <rdfs:subClassOf rdf:resource=“/2000/01/rdfschema#Resource"/>Below is the corresponding XML Schema representation for the example above.<schema xmnls=“/1999/XMLSchema" targetNamespace=“.au/" xmnls:dstc=“.au/" xmnls:dc=“/dc/elements/1.1/"/> <import namespace=“/dc/elements/1.1/"/> <element name=“Book” > <annotation> <documentation>The class of books</documentation> </annotation> <sequence> <element ref=“dc:title” minOccurs=“1” maxOccurs=“1"/> <element name=“author” type=“author” maxOccurs=“4"/> </sequence> <attribute name=“id” type=“uriReference"/> </element> <complexType name=“author” > <extension base=“dc:creator” > <element name=“organisation” type=“OrgNames"/>459</extension> </complexType> <simpleType name=“OrgNames” > <restriction base=“string” > <enumeration value=“OCLC"/> <enumeration value=“Cornell University"/> <enumeration value=“DSTC"/> </restriction> </simpleType> </schema>A comparison of the two schema language representations above, show that: • RDF Schema provides support for richer semantic definitions through its ability to define type hierarchies, class/property relationships and human-readable descriptions (using the label and comment tags). But it provides limited support for the specification of local usage constraints (i.e., structural, cardinality and datatyping constraints); • XML Schema provides support for explicit structural, cardinality and datatyping constraints but provides little semantic information. • Overlap in functionality occurs in the following areas: o Between the RDF Schema range constraint and XML Schema type constraints; o Between the RDF Schema domain constraint and the content model definitions of XML Schema types and elements;In the definition of the enumerated list or controlled vocabulary values for organisations; o Between RDF Schema comments and XML Schema annotations. Both provide human-readable descriptions of metadata elements or types. Since hybrid RDF+XML Schema validators, which are capable of validating both schemas and also checking for consistency between the two, don't yet exist, we need to clearly delineate the roles of the two schema languages to prevent duplication or inconsistencies between constraints. For this reason we adopt the approach that the RDF Schema representation for a metadata element set should only contain semantic definitions. Because constraints on the attachment of properties to classes (domain) and property values (range) can also be expressed using XML Schema, we suggest that these particular RDF Schema constraints should not be used in this context and that such class/property relationship constraints and property value constraints should be expressed in the associated XML Schema file. Similarly the XML Schema encroaches onto the semantic responsibilities which have been delegated to RDF Schema. When using both RDF Schema and XML Schema in conjunction, the XML Schema should contain only local usage constraints and no semantic definitions such as the semantic descriptions inside the annotation and documentation tags associated with each type.o3.2 Mechanisms for Interfacing RDF Schemas and XML SchemasIn section 3.1 we clarified the demarcation of responsibilities between RDF Schema and XML Schema when they are used in conjunction. In this section, we will now investigate how to link orFigure 2 - Linking from Multiple XML Schema Definitions to a Common Base RDF Schema460combine the two schema languages. In section 3.1 we also demonstrated that RDF Schema is ideal for expressing the base semantic concepts for a particular domain's metadata model and XML Schema is ideal for expressing the local usage constraints (such as closed vocabularies, occurrence or formatting constraints). Because the underlying semantics will remain relatively stable compared to the syntax which will be application-dependent, we have chosen to make the RDF Schema the base schema and to point to the base RDF Schema from the application-specific XML Schemas. Figure 2 demonstrates the logic behind this approach. In sections 3.2.1 and 3.2.2 we describe two methods for combining RDF Schema semantics with XML Schema local constraints: 1. Embedding the RDF Schema Class/subClassOf, Property/subPropertyOf definitions inside type annotations in the XML Schema file; 2. Adding links from the XML Schema to an external RDF Schema file.<simpleType name=“creator” > <annotation> <appinfo> <rdf:Property ID=“creator” > <rdfs:label=“Creator” > <rdfs:comment=“An entity primarily responsible for making the content of the resource” > </rdf:Property </appinfo> </annotation> <restriction base=“string"/> </simpleType> ... </schema>Using this approach it is also possible to embed RDF Schema definitions of new classes or properties which are subClasses or subProperties of existing classes and properties defined in domain-specific RDF Schemas. For example:<simpleType name=“author” > <annotation> <appinfo> <rdf:Property ID=“author” > <rdfs:subPropertyOf rdf:resource= “/dc/elements/1.1/#Creator"/> </rdf:Property </appinfo> </annotation> <restriction base=“string"/> </simpleType>3.2.1 Embedding Local RDF Schema Semantics in XML Schema AnnotationsThe first method involves incorporating local RDF Schema Class, subClassOf, Property and subPropertyOf definitions inside the XML Schema file. The only method for adding such extensions to XML Schema without loss of conformance is via the annotation and appinfo elements. appinfo appears as a subelement of annotation which may appear at the beginning of most schema constructions. To illustrate, the following example shows how RDF semantics associated with the “title” and “creator” elements can be embedded in their corresponding type annotations in the XML Schema file. As suggested in Section 3.1, to prevent duplication or contradiction of constraints between the XML and RDF Schema definitions, the RDF Schema domain and range constraints have not been used.<schema xmnls=“/1999/XMLSchema" targetNamespace=“/dc/elements/1.1/" xmlns:dc=“/dc/elements/1.1/" xmlns:rdf=“/1999/02/22-rdf-syntax-ns#” > xmlns:rdfs=“/2000/01/rdf-schema#” > <annotation> <documentation> Draft XML Schema for the Dublin Core Element Set, V 1.1 </documentation> </annotation> <simpleType name=“title” > <annotation> <appinfo> <rdf:Property ID=“title” > <rdfs:label=“Title” > <rdfs:comment=“The name given to the resource.” > </rdf:Property </appinfo> </annotation> <restriction base=“string"/> </simpleType>This approach has the advantage of combining both the semantic definitions and structural and syntactic constraints in a single file, whilst maintaining XML Schema conformance. However, it is less flexible than the approach (shown in the next section) of separating the semantics of metadata elements from the usage constraints. This method also requires: • either an RDF/XML Schema parser to be developed by adding extensions to an existing XML Schema parser (such as XSV [23]) to parse the embedded RDF-specific definitions; • or an XSLT [24] program to extract the RDF Schema definitions into a separate RDF Schema file which can be parsed using an existing RDF Schema parser such as SiRPAC [25]. However, the major limitation of this approach is that those RDF classes and properties defined explicitly within XML Schema annotations are local definitions only and cannot be reused or pointed to by other schemas because they are not globallyaccessible named elements. This conflicts with our reason for using RDF Schema which is to enable the dissemination and reuse of the semantic concepts across the Web to promote semantic interoperability, independent of the local usage constraints.3.2.2 Linking External RDF Schema Definitions to an XML SchemaThe second method involves using XLink [33] and the XLink Markup Name Control namespace proposed in a recent W3C Note[34], to link remote RDF Schema definitions in a separate file or namespace, to XML Schema type definitions. In this Note, the authors suggest that an attribute of type xl:arcrole, defined in an XML Schema in the XLink namespace,461be added to each simple or complex type and that it be given a value that corresponds to an RDF property. This approach is illustrated in the example schema below. The problem with this approach is that the RDF semantics are only specified at time of instantiation not at the time of schema design, which is our requirement.<schema xmnls=“/1999/XMLSchema" targetNamespace=“/dc/elements/1.1/" xmlns:dc=“/dc/elements/1.1/" xmlns:xl=“/2000/10/xlink-ns” > <annotation> <documentation> Draft XML Schema for the Dublin Core Element Set, V 1.1 </documentation> </annotation> <complexType name=“title” > <simpleContent> <extension base=“string” > <attribute name=“arcrole” type=“xl:arcrole"/> <extension> </simpleContent> </complexType> <complexType name=“creator” > <simpleContent> <extension base=“string” > <attribute name=“arcrole” type=“xl:arcrole"/> <extension> </simpleContent> </complexType> ... </schema>restrictions, extensions, redefinitions and elements are all built on top of XML Schema types, so the most logical and flexible approach is to attach the semantics to the type rather than the element.<schema xmnls=“/1999/XMLSchema" targetNamespace=“/dc/elements/1.1/" xmlns:dc=“/dc/elements/1.1/" xmlns:xx=“/XMLRDFSchemaBridge” > <annotation> <documentation> Draft XML Schema for the Dublin Core Element Set, V 1.1 </documentation> </annotation> <simpleType name=“title” xx:semantics= "/dc/elements/1.1/dcmes.rdf#title"> <restriction base=“string"/> </simpleType> <simpleType name=“creator” xx:semantics= "/dc/elements/1.1/dcmes.rdf#creator"> <restriction base=“string"/> </simpleType>...</schema>4. MetaNet - A Common Ontology for Semantic InteroperabilitySemantic knowledge in the form of an ontology or thesaurus is required to enable flexible, dynamic mapping between XMLencoded instantiations of application profiles. Since this semantic information is already available in the separate RDF Schemas provided by each domain, the task remains to merge these RDF Schemas into a single RDF Schema representation of the merged ontologies and to link this to XSLT programs to perform dynamic mappings between metadata descriptions. In this section we describe a metadata thesaurus, MetaNet, which has been generated by merging a number of domain-specific vocabularies manually. Ideally, this would be machine-generated using inferencing, such as has been proposed in the Ontology Inference Layer (OIL) [26]. MetaNet [27] is a thesaurus which contains preferred terms, equivalent/overlapping terms (ET), narrower terms (NT) and broader terms (BT) which encompass most of the significant metadata models/vocabularies/standards. The top-level preferred terms are based on the core ABC vocabulary developed by the Harmony project [28, 29]. The objective of the MetaNet thesaurus is to provide the semantic knowledge required to enable machine understanding of equivalence and hierarchical (subtyping) relationships between metadata terms from different domains. The scope of this thesaurus is limited to the most significant metadata models/vocabularies/standards used for describing attributes and events associated with resources and their life cycles. This encompasses metadata vocabularies from the bibliographic, museum, archival, record keeping and rights management communities. It has been developed by performing WordNet [30]The corresponding instantiation would look something like:<Description about=“urn:isbn:0-65743-123-1” > <title arcrole=“/dc/elements/1.1/dcmes.rdf#title”> Where The Wild Things Are </title> <creator arcrole= “/dc/elements/1.1/dcmes.rdf#creator”> Maurice Sendak </creator> ..... </Description>A better approach is to specify a link to the type's corresponding semantics (RDF Property or Class definition) from within the XML Schema file. This is possible using the openness of XML Schema attributes. Since nearly all types are extended from the openAttrs type in the Schema for Schemas in [7], it is possible to extend XML Schema type definitions with a “semantics” attribute defined in another namespace. Using this approach, the value of the semantics attribute is the RDF Property or Class which defines the semantics of each simple or complex type. We have chosen to link the semantics to XML Schema type definitions, rather than element declarations. This is because462searches using the core terms from the ABC vocabulary and extracting those synonyms and hyponyms which could conceivably be used in a metadata scheme to represent the original core term. In addition the majority of metadata terms from the vocabularies of the DC, INDECS, IFLA and CIDOC CRM have been manually incorporated into the thesaurus. For example, consider “Agent” which is a core entity of the ABC model and a core term of the ABC vocabulary [29]. Semantically equivalent terms for “Agent” which are used within other metadata vocabularies include: actor, contributor, player, doer, worker, performer Possible narrower terms or hyponyms for “Agent” include: creator, author, composer, artist, musician, etc.. An RDF Schema representation of this thesaurus has been developed. The RDF and RDF Schema elements, Class, subClassOf, Property, subPropertyOf are used to define the type hierarchy and entity/attribute relationships between metadata elements. The RDFS label element is used to specify terms which are considered to be semantically equivalent. Below is an excerpt from the RDF Schema which illustrates the representation for the “Agent” metadata term as well as its equivalent terms and a partial hierarchy of its narrower terms.<?xml version=“1.0"?> <rdf:RDF xml:lang=“en" xmlns:rdf=“/1999/02/22-rdf-syntax-ns#" xmlns:rdfs=“/2000/01/rdf-schema#” > <rdfs:Class rdf:ID=“Agent” > <rdfs:comment xml:lang=“en” >The resources which contribute to or act in an event. Typically agents are people, groups of people, organisations or instruments.</rdfs:comment> <rdfs:label xml:lang=“en” >Actor</rdfs:label> <rdfs:label xml:lang=“en” >Contributor</rdfs:label> <rdfs:label xml:lang=“en” >Player</rdfs:label> <rdfs:label xml:lang=“en” >Doer</rdfs:label> <rdfs:label xml:lang=“en” >Worker</rdfs:label> <rdfs:label xml:lang=“en” >Performer</rdfs:label> <rdfs:subClassOf rdf:resource= “/2000/01/rdf-schema#Resource"/> </rdfs:Class> <rdfs:Class rdf:ID=“Author” > <rdfs:label xml:lang=“en” >Writer</rdfs:label> <rdfs:label xml:lang=“en” >Wordsmith</rdfs:label> <rdfs:subClassOf rdf:resource=“#Agent"/> </rdfs:Class> <rdfs:Class rdf:ID=“Journalist” > <rdfs:label xml:lang=“en” >Columnist</rdfs:label> <rdfs:label xml:lang=“en” >Reporter</rdfs:label> <rdfs:subClassOf rdf:resource=“#Author"/> </rdfs:Class> </rdf:RDF>and retrieve a list of equivalent terms, broader terms and narrower terms. Figure 3 shows the results of a search on the term “author.”Figure 3 - Results of MetaNet Search In the next section, we describe mechanisms by which XSLT can access the semantic knowledge held in the MetaNet RDF Schema to perform the semantic mapping component of metadata description transformations.5. Adding Semantic Knowledge to XSLTThe Extensible Style Transformation Language's (XSLT) [24] ability to transform data from one XML representation to another appears to makes it ideal for metadata interchange applications. In order to evaluate XSLT's capabilities for mapping between application profile instantiations, we generated two hybrid schemas (which use both XML Schema and RDF Schema) and then attempted to map between instantiations of these schemas using XSLT. Table 1 below shows the two application profile examples. Using XSLT and the Xalan [32] XSLT processor we developed XSL programs for transforming from myDescription1 to myDescription2.Application Profile Examples <schema xmnls=“/1999/XMLSchema" targetNamespace=“.au" xmnls:dstc=“.au" xmlns:dc=“/dc/elements/1.1/" xmlns:mpeg7=“/MPEG7/2000/" xmlns:ims=“/doc/wg12/"/> <import namespace=“/dc/elements/1.1/"/> <import namespace=“/MPEG7/2000/"/> <import namespace=“"/doc/wg12/"/> <element name=“myDescription1” > <complexType> <sequence> <element ref=“dc:title” minOccurs=“1” maxOccurs=“2” > <element ref=“dc:creator” minOccurs=“1” maxOccurs=“3” > <element ref=“mpeg7:UsageMetaInformation” minOccurs=“0” maxOccurs=“unbounded"/> <element ref=“ims:LearningContext"/> </sequence> </complexType> <attribute name=“about” type=“uriReference"/>A web search and browse interface to MetaNet has also been developed [27]. Users can search on any common metadata term463。