Loader Tutorial. Set Up Mapping Coding Scheme Values to LexGrid Model Creating a Loader – Step by Step Loader Review.

Slides:



Advertisements
Similar presentations
Dr. Leo Obrst MITRE Information Semantics Information Discovery & Understanding Command & Control Center February 6, 2014February 6, 2014February 6, 2014.
Advertisements

1 eXtended Metadata Registry (XMDR) Two Slides for Ontology Summit Presentation Bruce Bargmeyer Lawrence Berkeley National Laboratory and University of.
SolidWorks Enterprise PDM Data Loading Strategies
CTS2 DEVELOPMENT FRAMEWORK CTS2 Overview. Schedule What is it? Why a framework? What does this do for me? Plugins Implementations available now CTS2 Compliance.
Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
OO Programming in Java Objectives for today: Overriding the toString() method Polymorphism & Dynamic Binding Interfaces Packages and Class Path.
Native XML Database or RDBMS. Data or Document orientation If you are primarily storing documents, then a Native XML Database may be the best option.
CG0119 Web Database Systems Parsing XML using SimpleXML.
.NET Database Technologies: Open-Source Frameworks.
Week 8 Recap CSE 115 Spring Composite Revisited Once we create a composite object, it can itself refer to composites. Once we create a composite.
OOP in Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
1 Substitution Groups in XML Schemas Tomer Shiran Winter 2003/4 Semester.
Fonts and colors Times New Roman “quotes” Trebuchet "quotes" yellow blue pink green violet.
4/16/2007Declare a Schema File I1. 4/16/2007Declare a Schema File I2 Declare a Schema File A collection of semantic validation rules designed to constrain.
29-Jun-15 JAXB Java Architecture for XML Binding.
8.1 Classes & Inheritance Inheritance Objects are created to model ‘things’ Sometimes, ‘things’ may be different, but still have many attributes.
Copyright © 2008, Zend Technologies Inc. Zend_Tool: Rapid Application Development In Zend Framework Ralph Schindler Software Engineer, Zend Technologies.
A GUIDE TO SHAREPOINT 2007 CUSTOMIZATION OPTIONS Heather Solomon, WSS MVP.
Value Domain and Pick List Support in LexEVS 5.1 Sridhar Dwarkanath Mayo Clinic CaBIG Architecture/VCD Joint Workspace F2F.
Java Frameworks Indy Java Users Group January 29, 2003.
Classes and objects Practice 2. Basic terms  Classifier is an element of the model, which specifies some general features for a set of objects. Features.
1 Lecture 22 George Koutsogiannakis Summer 2011 CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
LexEVS 6.0 Overview Scott Bauer Mayo Clinic Rochester, Minnesota February 2011.
LexEVS 101 Craig Stancl Rick Kiefer February, 2010.
Tip Calculator App Building an Android App with Java © by Pearson Education, Inc. All Rights Reserved.
1 LexEVS 5.0 Advanced Topics Configuration Options LexEVS Boot Camp November, 2009.
XML in Development of Distributed Systems Tooling Programming Runtime.
Supporting High- Performance Data Processing on Flat-Files Xuan Zhang Gagan Agrawal Ohio State University.
Programming Pillars Introduction to Object- Oriented Programming.
OVERVIEW ON HOW ENTITY FRAMEWORK CODE FIRST CAN EASE THE DEVELOPMENT PROCESS Entity Framework Code First 11/19/2013 Joe Walling Copyright Walling Info.
LexBIG Release Overview Aug 21, LexBIG Context Project Goals for Sept –Incremental point release of LexBIG infrastructure to support EVS activities.
LexBIG/LexGrid Services for LexBIG 2.3 Model and API for the Grid.
Reporting – Sort Orders, Selections, and Related Data TEC02 Brian Ciccolo.
Context Workshop. Diepenbeek 22 january 2004 Agenda Introduction Work methodology Context description Description frameworks Conclusion Questions.
JSP Tag Libraries Lec Last Lecture Example We incorporated JavaBeans in “Course Outline” Example But still have to write java code inside java.jsp.
JavaDoc and Contracts Spring Documenting Contracts with JavaDoc Contract model for methods Preconditions Postconditions JavaDoc Industry standard.
LexGrid Philosophy, Model and Interfaces Harold R Solbrig Division of Biomedical Statistics and Informatics Mayo Clinic.
Overview of LexEVS 5.0 LexGrid 2009 Model November, 2009.
Inheritance. Inheritance - Introduction Idea behind is to create new classes that are built on existing classes – you reuse the methods and fields and.
LexEVS Value Domains. LexGrid Definitions Value Domain Definition – the description of the contents Value Domain Resolution – the actual contents –The.
Class Builder Tutorial Presented By- Amit Singh & Sylendra Prasad.
Introduction to the SAP IMG Interface. Slide 2 Accessing the IMG Use transaction code SPRO or.
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
N. HARIKA Lecturer(csc). 3 General Structure Of A Java Program.
1 Brian Remmington Alfresco Product Architect. 2 A demonstration The Web Quick Start model Overview of the features in the repository tier Overview of.
LexEVS 5.0 EVS to LexEVS: A Migration Guide November, 2009.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
Reference Types CSE301 University of Sunderland Harry R Erwin, PhD.
Ontology Technology applied to Catalogues Paul Kopp.
1 Example Uses of Java Reflection Explained Simply.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Records Management 2.0 Tips and Tricks Kevin Dorr Sr. Solutions Engineer Americas Channel.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
METADATA IN.NET Presented By Sukumar Manduva. INTRODUCTION  What is Metadata ? Metadata is a binary information which contains the complete description.
Week-9 (Lecture-1) XML DTD (Data Type Document): An XML document with correct syntax is called "Well Formed". An XML document validated against a DTD is.
Extended Metadata Registries and Semantics (Part 2: Implementation) Karlo Berket Ecoterm IV Environmental Terminology Workshop April 18, 2007 Diplomatic.
Struts 2 Development. Topics  Roles in Struts Development  Control Flow  Actions  Struts 2 Views and Target  Struts 2 Custom Tags  Validation 
ONTOLOGY LIBRARIES: A STUDY FROM ONTOFIER AND ONTOLOGIST PERSPECTIVES Debashis Naskar 1 and Biswanath Dutta 2 DSIC, Universitat Politècnica de València.
Shibboleth Identity Provider Version 3
Web Routing Designing an Interface
Jim Fawcett CSE687 – Object Oriented Design Spring 2016
Web Services-JAX-RPC JAX-RPC enables a Web Service endpoint to be developed using either a Java Servlet or Enterprise JavaBeans (EJB) component model.
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
Instructor 彭智勇 武汉大学软件工程国家重点实验室 电话:
Metadata The metadata contains
Metadata use in the Statistical Value Chain
Supporting High-Performance Data Processing on Flat-Files
Jim Fawcett CSE775 – Distributed Objects Spring 2006
Jim Fawcett CSE687 – Object Oriented Design Spring 2015
Presentation transcript:

Loader Tutorial

Set Up Mapping Coding Scheme Values to LexGrid Model Creating a Loader – Step by Step Loader Review

Map Source to LexGrid See Excel File

Write Your Own Loader Navigate to the lbInterfaces project folder Extend the Loader Interface with your own custom interface called FrenimiesLoader. Add public final static attributes name and description Add load and validate methods This will be what LexEVS calls to load your terminology

Create an Implementation of the FrenimiesLoader Navigate to the lbImpl project folder Implement your Loader by extending the BaseLoader and implementing the interface you just wrote

Override Methods There are a lot of options for overriding methods We’ll keep it simple Create a default constructor that calls the default super().

Override Methods Override the validate method but leave it a no-op. Override the declareAllowedOptionsMethod and declare desired options or retrieve current. Override the load method, providing appropriate methods and calling super this.load(URI source);

Goal Provide a model of your ontology in a Coding Scheme object and turn it over to the LexEVS loading system. One way to do this is to create a brute force mapping to a coding scheme object

Map Your Source To LexGrid Access source Through API Use a file reader and parse source Parse or Marshall XML to coding scheme objects

Map Your Source To LexGrid Useful Paradigm: Load Basic Coding Scheme Metadata Load Entities and Property elements Load Associations While loading entities and associations compile other coding scheme assertions

Coding Scheme Assertions SupportedCodingSchemes SupportedNameSpaces SupportedAssociations SupportedProperties Qualifiers SupportedContainerNames (relation containers)

Coding Scheme Assertions Also: Hierarchy, source, EntityType, Language and DataType. Creating a supported hierarchy allows transitive table to be built.

Questions?

Other Loader Entry Points Priority? RRF Loaders OWL Loaders XML

RRF Loader The mysteries of the application context. Entry point is “metadata.xml” file in resources. This defines flow of execution, dependency injection and which classes are executed to populate various coding scheme data objects.

Parsing Spring XML Requires moving back and forth between class files and XML definitions to find what type of objects are populating the bean created from the context file. We can use this to help determine what is read, processed and created This can be a painful process

Reading a “Group Discriminator” We’ll find the kick off point for loading entities – and eventually look for the place where a CUI is read from a MrSat bean. Winding up at: MrsatMetaEntityGroupDiscriminator

“Easier” Entry Points Fortunately most other loaders mapping is more compactly built into the “ 2LGMain” So that you know that HL72LGMain will be the place to find mapping code.

OWLch OWLApi2LG: The structure is dictated by the OWL model and processing the sets of elements in OWL2. Getting to: buildDataTypeEntity(OWLObject, String) From: processOWLDataProperties()

LexGrid XML Moving content to model elements is simple Processing the variety of Top Level LexGrid objects from XML is hard. See LgRevisionListener.fieldAdded() and LexGridElementProcessor. processCodingSchemeEntityRevisio n() classes.