jQUDT

Java library for the QUDT ontology

Лицензия

Лицензия

Группа

Группа

com.github.egonw
Идентификатор

Идентификатор

jqudt
Последняя версия

Последняя версия

1.4.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

jQUDT
Java library for the QUDT ontology
Ссылка на сайт

Ссылка на сайт

https://github.com/egonw/jqudt
Система контроля версий

Система контроля версий

http://github.com/egonw/jqudt

Скачать jqudt

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.egonw/jqudt/ -->
<dependency>
    <groupId>com.github.egonw</groupId>
    <artifactId>jqudt</artifactId>
    <version>1.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.egonw/jqudt/
implementation 'com.github.egonw:jqudt:1.4.0'
// https://jarcasting.com/artifacts/com.github.egonw/jqudt/
implementation ("com.github.egonw:jqudt:1.4.0")
'com.github.egonw:jqudt:jar:1.4.0'
<dependency org="com.github.egonw" name="jqudt" rev="1.4.0">
  <artifact name="jqudt" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.egonw', module='jqudt', version='1.4.0')
)
libraryDependencies += "com.github.egonw" % "jqudt" % "1.4.0"
[com.github.egonw/jqudt "1.4.0"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.openrdf.sesame : sesame-model jar 2.9.0
org.openrdf.sesame : sesame-rio-api jar 2.9.0
org.openrdf.sesame : sesame-rio-rdfxml jar 2.9.0
org.openrdf.sesame : sesame-rio-turtle jar 2.9.0

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.13

Модули Проекта

Данный проект не имеет модулей.

DOI Build Status Maven Central

Introduction

Java Library to deal with QUDT units and conversions between them.

QUDT is "Quantities, Units, Dimensions and Data Types in OWL and XML"

http://www.qudt.org/

QUDT is a CC-SA-BY project by NASA Ames Research Center and TopQuadrant, Inc.

License of this Java library: new BSD

Installation

Maven:

<dependency>
  <groupId>com.github.egonw</groupId>
  <artifactId>jqudt</artifactId>
  <version>1.4.0</version>
</dependency>

Groovy:

@Grab(group='com.github.egonw', module='jqudt', version='1.4.0')

Quick demo

Keep in mind, that the below conversions are purely derived from the information defined in the QUDT ontology, taking advantage from the fact that the have the same unit type, qudt:MolarConcentrationUnit and qudt:TemperatureUnit respectively.

Source:

Quantity obs = new Quantity(0.1, ConcentrationUnit.MICROMOLAR);
System.out.println(obs + " = " +  obs.convertTo(ConcentrationUnit.NANOMOLAR));

Quantity temp = new Quantity(20, TemperatureUnit.CELSIUS);
System.out.println(temp + " = " +  temp.convertTo(TemperatureUnit.KELVIN));

Output

0.1 μM = 100.00000000000001 nM
20.0 C = 293.0 K

Версии библиотеки

Версия
1.4.0