E-Business + Web Science Research Group

Exchange Rate Ontology Language Reference

Exchange Rate Ontology Metadata (rdf:type owl:Ontology)

V2.0, Release 09-04-2013

Latest version: http://purl.org/xro/ns

Author: Alex Stolz

URI http://purl.org/xro/ns
rdfs:label Exchange Rate Ontology

rdfs:comment

Exchange rate ontology for Linked Data currency conversion.

The following conceptual diagram in UML outlines the model described by the ontology at hand:

UML diagram

dcterms:contributor Martin Hepp and Bene Rodriguez-Castro

[back to top]

Table of Contents

  1. Classes
  2. Datatype Properties
  3. Object Properties
  4. Contact Information
  5. License
  6. Acknowledgments

[back to top]

1. Classes

[back to top]

xro:ExchangeRateInfo (rdf:type owl:Class)

URI http://purl.org/xro/ns#ExchangeRateInfo
rdfs:label Exchange Rate Info

rdfs:comment

Describes the currency exchange rates between a currency pair, consisting of a base currency (e.g. USD) and a counter currency (e.g. EUR). The class further specifies attributes for the time of conversion, the currency rate, the inverse of the currency rate, and human-readable meta descriptions encoded in rdfs:label and rdfs:comment.

If applicable, it is recommended to use dcterms:source to link from the xro:ExchangeRateInfo object to the URI of the currency conversion API that was responsible for the generation of the respective exchange rate.

Properties (rdfs:domain) : xro:base xro:counter xro:inverseRate xro:publisher xro:rate xro:timeOfConversion

[back to top]

2. Datatype Properties

[back to top]

xro:inverseRate (rdf:type owl:DatatypeProperty)

URI http://purl.org/xro/ns#inverseRate
rdfs:label inverse rate

rdfs:comment

The xro:inverseRate property describes the exchange rate of a given currency pair, meaning that 1 unit of the counter currency is exchanged for X units of the base currency. The xro:inverseRate property denotes the inverse of the xro:rate property.

Compatible with (rdfs:domain): xro:ExchangeRateInfo
Allowed values (rdfs:range): http://www.w3.org/2001/XMLSchema#decimal

[back to top]

xro:rate (rdf:type owl:DatatypeProperty)

URI http://purl.org/xro/ns#rate
rdfs:label rate

rdfs:comment

The xro:rate property describes the exchange rate of a given currency pair, meaning that 1 unit of the base currency is exchanged for X units of the counter currency.

Compatible with (rdfs:domain): xro:ExchangeRateInfo
Allowed values (rdfs:range): http://www.w3.org/2001/XMLSchema#decimal

[back to top]

xro:timeOfConversion (rdf:type owl:DatatypeProperty)

URI http://purl.org/xro/ns#timeOfConversion
rdfs:label time of conversion

rdfs:comment

The xro:timeOfConversion attribute of an xro:ExchangeRateInfo class is determined by a timestamp of the last currency conversion.

Compatible with (rdfs:domain): xro:ExchangeRateInfo
Allowed values (rdfs:range): http://www.w3.org/2001/XMLSchema#dateTime

[back to top]

3. Object Properties

[back to top]

xro:base (rdf:type owl:ObjectProperty)

URI http://purl.org/xro/ns#base
rdfs:label base

rdfs:comment

This property adds a base currency to the xro:ExchangeRateInfo class. The expected range value for this property is a DBPedia currency class.

You can obtain a list of all currency instances in the DBPedia dataset by clicking on the following link: click me.

Compatible with (rdfs:domain): xro:ExchangeRateInfo
Allowed values (rdfs:range): http://dbpedia.org/ontology/Currency

[back to top]

xro:counter (rdf:type owl:ObjectProperty)

URI http://purl.org/xro/ns#counter
rdfs:label counter

rdfs:comment

This property adds a counter currency to the xro:ExchangeRateInfo class. The expected range value for this property is a DBPedia currency class.

You can obtain a list of all currency instances in the DBPedia dataset by clicking on the following link: click me.

Compatible with (rdfs:domain): xro:ExchangeRateInfo
Allowed values (rdfs:range): http://dbpedia.org/ontology/Currency

[back to top]

xro:publisher (rdf:type owl:ObjectProperty)

URI http://purl.org/xro/ns#publisher
rdfs:label publisher

rdfs:comment

This property describes the publisher of the given exchange rate.

Compatible with (rdfs:domain): xro:ExchangeRateInfo
Allowed values (rdfs:range): http://schema.org/Organization

[back to top]

4. Contact Information

Alex Stolz

E-Business and Web Science Research Group
Chair of General Management and E-Business
Universität der Bundeswehr München
Werner-Heisenberg-Weg 39
D-85577 Neubiberg, Germany

Phone: +49 89 6004-4277
eMail: alex.stolz(at)ebusiness-unibw.org (preferred mode of communication)
Web: http://www.stalsoft.com/
Web: http://www.unibw.de/ebusiness/

[back to top]

5. License

The Exchange Rate Ontology is available under the Creative Commons Attribution 3.0 license. You are free to copy, distribute and transmit the work; to remix/adapt the work (e.g. to import the ontology and create specializations of its elements), as long as you attribute the work and link back to http://purl.org/xro/ns.

[back to top]

6. Acknowledgements

This documentation has been generated automatically from the most recent ontology specification in OWL using a Python script written by Alex Stolz and Martin Hepp. Our script uses the RDFlib library for parsing and handling RDF and the Jinja template engine for generating the HTML document.