19
1 Augmenting MatML with Augmenting MatML with Heat Treating Semantics Heat Treating Semantics Aparna Varde, Elke Rundensteiner, Murali Aparna Varde, Elke Rundensteiner, Murali Mani Mani Mohammed Maniruzzaman and Richard D. Mohammed Maniruzzaman and Richard D. Sisson Jr. Sisson Jr. Worcester Polytechnic Institute, Worcester, MA, Worcester Polytechnic Institute, Worcester, MA, USA USA -This work is supported by the Center for Heat Treating Excellence (CHTE) and its member companies and by the Department of Energy – Office of Industrial Technology (DOE-OIT) Award Number DE-FC-07-011D14197 Conference: ASM Materials Solutions, Oct 2004, Columbus, OH, USA Symposium: Developments in Web-Based Material Property Databases

1 Augmenting MatML with Heat Treating Semantics Aparna Varde, Elke Rundensteiner, Murali Mani Mohammed Maniruzzaman and Richard D. Sisson Jr. Worcester

  • View
    218

  • Download
    0

Embed Size (px)

Citation preview

11

Augmenting MatML with Heat Augmenting MatML with Heat Treating SemanticsTreating Semantics

Aparna Varde, Elke Rundensteiner, Murali ManiAparna Varde, Elke Rundensteiner, Murali ManiMohammed Maniruzzaman and Richard D. Sisson Jr.Mohammed Maniruzzaman and Richard D. Sisson Jr.

Worcester Polytechnic Institute, Worcester, MA, USAWorcester Polytechnic Institute, Worcester, MA, USA

-This work is supported by the Center for Heat Treating Excellence (CHTE) and its member companies and by the Department of Energy – Office of

Industrial Technology (DOE-OIT) Award Number DE-FC-07-011D14197

Conference: ASM Materials Solutions, Oct 2004, Columbus, OH, USASymposium: Developments in Web-Based Material Property Databases

22

IntroductionIntroduction• Domain Specific Markup Language:

– Medium of communication for domain users.– Follows XML syntax.– Encompasses domain semantics.

• MatML:– Materials Science Markup Language. – XML for Materials Property Data.– Developed by NIST (National Institute of Stds. & Technology).

• Need for Extension:– MatML tags generic to Materials Science.– Desirable to incorporate the semantics of Heat Treating. – Extension proposed to MatML.

33

Heat TreatingHeat Treating

• Involves controlled heating & cooling of materials to achieve desired mechanical & thermal properties.

• Quenching or rapid cooling: important step in heat treating.

• Quenchant: cooling medium.

• Part: material being cooled.

• Conditions: Temperature, Agitation etc.

Pneum atic cylinder

Furnace

O il beaker

Pneum atic on/offsw itch

K-type therm ocouple

Probe tip

C onnecting rod

C om puter w ith D ataAcquisition C ard

Therm ocouple for O il tem p.

Quenching Setup at CHTE, WPI

44

MatML: MatML: Materials Science Markup LanguageMaterials Science Markup Language

• One common exchange format for Materials data.• Standard developed by NIST. • Follows XML syntax.• Enhances interpretability of data.• Allows extensibility.

55

MatML StructureMatML Structure

• Root of schema “MatML_Doc”.

• Has one or more instances of “Material” element.

• Each has the foll. elementswith sub-elements & attributes.

1. Bulk Details2. Component Details3. Metadata4. Graphs5. Glossary

<MatML_doc>

<Material>

<BulkDetails>

……………

</BulkDetails>

<ComponentDetails>

……………...

</ComponentDetails>

………………….

………………….

………………….

………………….

</Material>

</MatML_doc>

66

Data Storage using MatMLData Storage using MatML

• Tags describe entities in Materials Science.

• Nesting describes relationships between entities.

• Semantics of data represented.

• Generic to Materials Science domain.

77

Motivation for ExtensionMotivation for Extension

• Entities in Quenching Process.– Quenchant, Part Surface, Quenching Conditions.

• These have attributes or properties.– e.g. Viscosity is an attribute of Quenchant.

• MatML schema not sufficient to store data on these.

• Hence the need to capture the semantics of Heat Treating / Quenching through extension.

88

Issues in Extending Domain Specific Issues in Extending Domain Specific Markup LanguagesMarkup Languages

• Representing domain semantics: Data models.• Identifying needs of potential users: Domain expert

interviews.• Ontological considerations: E.g., synonyms.• Designing the schema: XML constraints etc.• Revising the schema: Based on critical reviews.

99

Modeling based on SemanticsModeling based on Semantics

1010

Interviews: Needs identifiedInterviews: Needs identified

• Some data in quenching has to be stored in conjunction with basic materials information.

• Example: Consider a part undergoing quenching.– Material properties of part, e.g., Component Details.– Quenching process parameters, e.g., Part Surface.

• Hence the proposal for a “Quenching” element to be part of a MatML document, at the same level as the “Material” element.

• Note: Storage efficiency is the reason for extending MatML rather than developing a new “QuenchML”.

1111

Ontology determined after InterviewsOntology determined after Interviews

• Components of the ontology:– Quenching: the process of rapid cooling. – Quenchant: cooling medium (oil, water, gas etc.)– PartSurface: material undergoing rapid cooling.– Manufacturing: details such as stamping and welding.– QuenchConditions: agitation, temperature etc.– Results: e.g., cooling rate, distortion, heat transfer coefficient.– Graphs: cooling curves, cooling rate curves, heat transfer curves.

• Synonyms: – Several terms mean the same, e.g., Part, Probe, Work-piece all refer to

one entity. Design ontology accordingly.

1212

Schema: High Level Tag SetSchema: High Level Tag Set

1313

Schema: Placement of ElementSchema: Placement of Element

• Within “MatML_Doc”in MatML schema.

• Same level as the “Materials” element.

• This enables cross-referencing between “Quenching” and “Material” elements.

1414

Schema: Interpretability of Data Schema: Interpretability of Data

• Understanding meaning of stored data: – With reference to context,– Without other documentation.

• Domain experts’ input crucial: – To decide how they want users to interpret data.

• Examples: – Cooling Rate: stored specifically at different locations.– Cooling Uniformity: general inference about the experiment. – Quenchant, part and conditions details should be stored before

the results and graphs.

1515

Detailed Schema: Partial SnapshotDetailed Schema: Partial Snapshot

1616

XML Schema ConstraintsXML Schema Constraints• Sequence constraint: to declare a list of elements in order, e.g.,

<xsd:element name=“Quenching”><xsd:complexType>

<xsd:sequence> ………………. <xsd:element name=“QuenchConditions”> ….. </xsd:element>

<xsd:element name=“Results”/> ….. </xsd:element>………………

</xsd:sequence></xsd:complexType>

</xsd:element>

• Disjunction constraint: to declare mutually exclusive elements, e.g.,

<xsd:element name=“Manufacturing”><xsd:complexType>

<xsd:choice> <xsd:element ref=“Casting”/>

<xsd:element ref=“PowderMetallurgy”/> :</xsd:choice> …………………….

</xsd:complexType></xsd:element>

1717

XML Schema Constraints (Contd.)• Key constraint: to declare a primary key on an element or attribute, i.e., it must

have unique values & cannot have null values, e.g.,

<xsd:element name=“Quenchant”><xsd:complexType>

<xsd:attribute name = “id” type =“xsd:ID” use =“required”/> ……………………………….

</xsd:complexType></xsd:element>

• Occurrence constraint: to declare the minimum and maximum occurrences of an element. , e.g.,

• <xsd:element name=“Cooling Rate” minOccurs=“8” maxOccurs=“unbounded”>……………..

</xsd:element>

• <xsd:element name=“Graphs” minOccurs=“0” maxOccurs=“3”>……………..

</xsd:element>

1818

XQuery for Retrieval of Data XQuery for Retrieval of Data • Schema designed to facilitate retrieval using XQuery.

• Issues:– XQuery is case-sensitive. Encourage users to store data in a case-

sensitive manner to ensure correct retrieval.– Introduce additional tags if needed to assist querying and provide good

readability, by anticipating typical user queries.

<Quenchant><NameDetails>

<Manufacturer> </Manufacturer>

<Type>

<Subtype> </Subtype>

</Type>

</NameDetails>

<PropertyDetails> …….. </PropertyDetails>

</Quenchant>

1919

ConclusionsConclusions

• “Quenching Element” proposed at CHTE as an extension to MatML, the Materials Science Markup Language (developed by NIST).

• Ontology and schema developed. Schema revision ongoing based on discussions with domain experts and standards bodies (NIST).

• Issues in extending domain-specific markup languages considered. More issues may emerge.

• Propose to incorporate this as a standard within the original MatML, to include Heat Treating semantics.

• Useful application of XML in the Heat Treating domain.