Giter VIP home page Giter VIP logo

xsd2owl's Introduction

xsd2owl

A tool for generating OWL from XSD and XML.

Introduction

This tool is used in Mudrod to generate an OWL manifestation of the Directory Interchange Format (DIF) Standard, a specific set of attributes for describing Earth science data. From its conception in the late 1980โ€™s as a way to document and exchange information on scientific data to its implementation in the Global Change Master Directory (GCMD), the DIF has evolved to serve the user community in the discovery, access and use of Earth science and related data.

Requirements

  • Java8

Installation

You must first install Ontmalizer as it is not yet available in Maven Central.

$ git clone https://github.com/srdc/ontmalizer.git && cd ontmalizer
$ mvn clean install

You can then install xsd2owl as follows

$ git clone https://github.com/mudrod/xsd2owl.git && cd xsd2owl
$ mvn clean install

Usage

The tool does not need to be invoked with any input parameters. By default it will look on the classpath for the dif_v10.2.xsd file which is the XSD manifestation of the DIF as mentioned above.

If however you wish to use a different file, you should invoke the tool with the parameter as below

$ java -jar target/xsd2owl-0.0.1-SNAPSHOT-jar-with-dependencies.jar -h
usage: Mapper
    --inputFile <file>   A path to a local XSD file.

License

xsd2owl is licensed permissively under the Apache License v2.0 a copy of which is shipped with this source code.

xsd2owl's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tjroamer

xsd2owl's Issues

C# implementation?

Are you open to the idea of creating a version of this software in C#?

Initial test

Having followed the instructions on the readme page, I got the error message below,

Yongyaos-MBP:target yjiang$ java -jar xsd2owl-0.0.1-SNAPSHOT-jar-with-dependencies.jar /Users/yjiang/Documents/workspace/xsd2owl/src/main/resources/dif_v10.2.xsd 
Exception in thread "main" java.lang.NullPointerException
	at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:342)
	at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.includeSchema(NGCCRuntimeEx.java:249)
	at com.sun.xml.xsom.impl.parser.state.includeDecl.action0(includeDecl.java:82)
	at com.sun.xml.xsom.impl.parser.state.includeDecl.leaveElement(includeDecl.java:149)
	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:314)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.