vim: Research on OWL-Based Vocabulary Ontology Construction Method for Units of Measurement
<p>Unit ontology construction flow chart.</p> "> Figure 2
<p>Core concept relationship diagram of vim.</p> "> Figure 3
<p>Unit-centric object property design diagram.</p> "> Figure 4
<p>Unit class example—visual description chart: (<b>a</b>) Visualization of the International System of Units in meters; (<b>b</b>) Visualization of the Chinese Municipal System in “zhang”.</p> "> Figure 5
<p>Evaluation results of vim’s OOPS!.</p> "> Figure 6
<p>Machine-readable validation result diagram of vim: (<b>a</b>) Results for query unit class description properties; (<b>b</b>) Statistical results of the number of different descriptive properties of the unit classes.</p> "> Figure 7
<p>Reasoning results from knowledge of the unit “metre”.</p> "> Figure 8
<p>vim ontology semantic search display.</p> "> Figure 9
<p>Dataset unit conversion result graph: (<b>a</b>) Dataset in inches and pounds (original dataset); (<b>b</b>) Dataset in meters and kilograms (unit-converted dataset).</p> "> Figure 10
<p>Example application of the Chinese unit of length “zhang”: (<b>a</b>) Search for the conversion factor from the unit “zhang” to “metre”; (<b>b</b>) 2 “zhang” to “metre” conversion results.</p> "> Figure 11
<p>The annotated results of temperature data using the Vim ontology: (<b>a</b>) Semantic annotation results of temperature data using the vim ontology and the creation of ontology individuals to represent this data.; (<b>b</b>) Query results for temperature data of the country Algeria.</p> ">
Abstract
:1. Introduction
- (1)
- Addressing the issues of standardization and contextual differences in the ontology descriptions of measurement unit vocabulary, this paper constructs an ontology suitable for the field of measurement unit vocabulary, named “vim”, based on Chinese national standards, metrology technical specifications, and international standards such as the International System of Units and its applications [18], the SI manual published by the International Bureau of Weights and Measures (BIPM) [19], etc.
- (2)
- By adopting the provisions concerning quantity and units found in the International vocabulary of metrology—Basic and general concepts (VIM) [20] and the provisions of the chapter on quantities and units in JJF 1001-2011 [21], this paper provides a unified unit standard and reference framework for the digitization system to facilitate the digital expression and sharing of units, and to provide a basis and reference for the digitization application of units.
2. Materials and Methods
2.1. Ontology Construction Method and Tool
- (1)
- vim ontology construction: Formal representation of knowledge in the domain of units using tools and ontology languages, which includes first extracting the core information required for ontology construction, and then defining classes, hierarchies, and attributes using a combination of top-down and bottom-up approaches. Moreover, in order to improve efficiency and ensure the reliability and wide applicability of ontology construction, this paper applies the rich knowledge of QUDT (v2.1.24) to vim to reduce blind exploration in the construction process and to improve the quality and applicability of vim. The brief description of each step is as follows:
- (1)
- Determining Knowledge of Measurement Unit: First, the domain and scope of the unit ontology needs to be defined. vim ontology primarily focuses on the vocabulary of measurement units, and we plan to apply this ontology in fields such as metrology, science, and engineering practice. Secondly, it is essential to enumerate what the important terms in the ontology are, such as which system of units the unit comes from, what quantities a unit can be used to describe, etc. Terms related to quantities also encompass specifying the source system of quantities of a quantity and identifying the applicable units for that quantity. These details are critical to the accurate definition of the ontology.
- (2)
- Defining Hierarchy Relationships between Classes: Based on the terms listed in the first step and the collected standards, we organize the information to determine which concepts should be defined as classes. Additionally, it is also necessary to establish the hierarchical structure among these classes. This process begins with the most fundamental concepts in the domain of units and progressively refines them, for instance, starting from the concept of “unit”, refinement of SI units and non-SI units, which in turn can be further subdivided.
- (3)
- Defining Object Properties of Classes: After completing the definition of classes and the division of hierarchical structure, it is essential to further define the relationship between classes, including the affiliation between units and system of units, among others. At the same time, based on the sorting out of the relationship between classes, it is vital to restrict the attributes of classes, including the type of attributes, the domain, and the range. To illustrate, an object property “hasQuantity” is used to represent the relationship between units and quantities. The domain constraints specify that the property can only be associated with the class “Unit” and the value domain constraints determine that it can only be linked to instances of the class “Quantity”, e.g., kilogram (kg) → hasQuantity → Mass. These steps are instrumental in ensuring that the definitions of classes and properties in the unit ontology possess clear semantics and that their proper usage is guaranteed. This further enhances the accuracy and consistency of the ontology.
- (4)
- Defining Data Properties of Classes: When defining the data properties of a class, as with object properties, specific restrictions need to be placed on the attributes. Namely, for the data property “unitSymbol”, it is used to represent the unit symbol. The definition domain of this property should be restricted to the unit class in the ontology and the value domain should be xsd:string, e.g., meter (m) → unitSymbol → “m”.
- (5)
- Creating Instances: The specifics can be instantiated after confirming the ontology. To define an instance of a class, the following three steps need to be performed: firstly, the class to be instantiated is selected; next, a single individual of the class is created; and finally, choose the relevant object properties and data properties to describe that individual. During the creation process, the description of the content of the instance is subject to the definitions of the standard reference document.
- (2)
- vim ontology verification: Constructing an ontology is not a task that can be accomplished quickly. During the construction process, a certain degree of error and redundancy may occur due to the limitations of the constructor’s own perceptions. Therefore, assessment and revision of the ontology is necessary. Machine readability, knowledge reasoning ability, and semantic retrieval verification of ontologies to ensure the syntactic correctness and logical consistency of ontologies are necessary, so that they can be correctly understood and processed by machines, and effectively improve the trustworthiness and applicability of ontologies. The vim ontology is built to be continuously extended and iteratively updated as vocabularies or official national documents change to ensure that it meets the needs of the metrology domain, keeps pace with the times, and achieves high performance and availability.
2.2. Ontology Construction
2.2.1. Determination of Knowledge of Unit of Measurement
2.2.2. Construction of Classes
2.2.3. Definition of Object Properties
2.2.4. Definition of Data Properties
3. Results
3.1. Individuals
3.2. vim Consistency Verification
3.3. vim Machine-Readable Verification
3.4. vim Knowledge Reasoning Ability Validation
3.5. vim Semantic Search Validation
4. Applications of the vim Ontology
4.1. Use Case1: Unit Conversion
4.2. Use Case2: Annotate Data
5. Comparing vim with OM and QUDT
5.1. Choice of Ontology Construction Model
5.2. Application Areas
5.3. Language Support
6. Conclusions and Future Work
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Appendix A
File Source | File Name |
---|---|
China | GB/T 3102.9-1993 Quantities and units of atomic and nuclear |
China | GB/T 3102.8-1993 Quantities and units of physical chemistry and molecular physics |
China | GB/T 3102.7-1993 Quantities and units of acoustics |
China | GB/T 3102.6-1993 Quantities and units of light and related electromagnetic radiations |
China | GB/T 3102.5-1993 Quantities and units of electricity and magnetism |
China | GB/T 3102.4-1993 Quantities and units of heat |
China | GB/T 3102.3-1993 Quantities and units of mechanics |
China | GB/T 3101-1993 General principles concerning quantities, units and symbols |
China | GB 3100-1993 SI units and recommendations for the use of their multiples and of certain other units |
China | GB/T 14559-1993 Symbols and units of variant quantities |
China | GB/T 17295-2008 Codes for units of measure used in international trade |
China | GB/T 3102.2-1993 Quantities and units of periodic and related phenomena |
China | GB/T 3102.1-1993 Quantities and units of space and time |
China | JJF 1001-2011 General Terms in Metrology and Their Definitions |
China | JJF 1001-1998 General Terms in Metrology and Their Definitions |
International | International vocabulary of metrology—basic and general concepts (VIM) Version 3 |
International | ISO/IEC 80000:2006 Quantities and units |
International | SI Brochure: The International System of Units (SI) 9th edition (2019) |
International | ISO 31-0:1992 Quantities and units—Part 0: General principles |
International | ISO 31-1:1992—Quantities and units—Part 1: Space and time |
International | ISO 31-2:1992—Quantities and units—Part 2: Periodic and related phenomena |
International | ISO 31-3:1992—Quantities and units—Part 3: Mechanics |
International | ISO 31-4:1992—Quantities and units—Part 4: Heat |
International | ISO 31-5:1992 Quantities and units—Part 5: Electricity and magnetism |
International | ISO 31-6:1992 Quantities and units—Part 6: Light and related electromagnetic radiations |
International | ISO 31-7:1992 Quantities and units—Part 7: Acoustics |
International | ISO 31-8:1992 Quantities and units—Part 8: Physical chemistry and molecular physics |
International | ISO 31-9:1992 Quantities and units—Part 9: Atomic and nuclear physics |
International | ISO 31-10:1992 Quantities and units—Part 10: Nuclear reactions and ionizing radiations |
International | ISO 1000:1992 SI units and recommendations for the use of their multiples and of certain other units |
Appendix B
References
- BIPM. Report on the Actions Taken by the CIPM towards a “CIPM Strategy 2030+”. Available online: https://www.bipm.org/documents/20126/17315032/CIPM-Strategy-2030.pdf (accessed on 10 May 2023).
- BIPM. Resolution 2 of the 27th CGPM (2022). Available online: https://www.bipm.org/en/cgpm-2022/resolution-2 (accessed on 10 May 2023).
- Barbosa, C.R.H.; Sousa, M.C.; Almeida, M.F.L.; Calili, R.F. Smart Manufacturing and Digitalization of Metrology: A Systematic Literature Review and a Research Agenda. Sensors 2022, 22, 6114. [Google Scholar] [CrossRef]
- Foster, M.P. Quantities, units and computing. Comput. Stand. Interfaces 2013, 35, 529–535. [Google Scholar] [CrossRef]
- Hanisch, R.; Chalk, S.; Coulon, R.; Cox, S.; Emmerson, S.; Flamenco Sandoval, F.J.; Forbes, A.; Frey, J.; Hall, B.; Hartshorn, R.; et al. Stop squandering data: Make units of measurement machine-readable. Nature 2022, 605, 222–224. [Google Scholar] [CrossRef] [PubMed]
- CODATA Task Group on Digital Representation of Units of Measure; Hanisch, R.; Chalk, S.; Frey, J.; Hodson, S.; Boulton, G.; Cox, S.; Hartshorn, R.; Mons, B.; Pergl, H.; et al. Units of Measure for Humans and Machines: Making Units Clear for Machine Learning and Beyond. Available online: https://zenodo.org/record/4081656 (accessed on 10 May 2023).
- BIPM. CIPM Task Group on the Digital SI (CIPM-TG-DSI). Available online: https://www.bipm.org/en/committees/ci/cipm/wg/cipm-tg-dsi (accessed on 10 May 2023).
- Dybkaer, R. An ontology on property for physical, chemical, and biological systems. APMIS Suppl. 2004, 117, 1–210. [Google Scholar]
- McGuinness, D.L. Ontologies Come of Age. In Spinning the Semantic Web: Bringing the World Wide Web to Its Full Potential; MIT Press: Cambridge, MA, USA, 2002; pp. 171–194. [Google Scholar]
- Rijgersberg, H.; Top, J.; Wigham, M. Ontology of Units of Measure. Available online: http://ontolog-archives.cim3.net/file/work/UoM/Reference/available-UoM-references/Ontology-of-units-of-measure--HajoRijgersberg-JanTop-MariWigham_20090716a.pdf (accessed on 2 September 2023).
- Raskin, R.G.; Pan, M.J. Knowledge representation in the semantic web for Earth and environmental terminology (SWEET). Comput. Geosci. 2005, 31, 1119–1125. [Google Scholar] [CrossRef]
- Gkoutos, G.V.; Schofield, P.N.; Robert, H. The Units Ontology: A tool for integrating units of measurement in science. Database 2012, 2012, bas033. [Google Scholar] [CrossRef] [PubMed]
- Vrandecic, D.; Krtoetzsch, M. Wikidata: A free collaborative knowledgebase. Commun. ACM 2014, 57, 78–85. [Google Scholar] [CrossRef]
- QUDT.org. QUDT. Available online: https://www.qudt.org/ (accessed on 10 May 2023).
- OMG SysML Portal. Quantities, Units, Dimensions, Values (QUDV). Available online: https://www.omgwiki.org/OMGSysML/doku.php?id=sysml-qudv:quantities_units_dimensions_values_qudv (accessed on 10 May 2023).
- Rijgersberg, H.; Assem, M.V.; Top, J. Ontology of units of measure and related concepts. Semant. Web. 2013, 4, 3–13. [Google Scholar] [CrossRef]
- Keil, J.M.; Schindler, S. Comparison and evaluation of ontologies for units of measurement. Semant. Web. 2019, 10, 33–51. [Google Scholar] [CrossRef]
- SI Units and Recommendations for the Use of Their Multiples and of Certain Other Units. Available online: https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=ADAA308A0BE559EC29E773B71591F463 (accessed on 10 May 2023).
- BIPM.SI Brochure: The International System of Units (SI). Available online: https://www.bipm.org/en/publications/si-brochure (accessed on 10 May 2023).
- BIPM. International Vocabulary of Metrology—Basic and General Concepts and Associated Terms (VIM) 3rd Edition. Available online: https://www.bipm.org/documents/20126/2071204/JCGM_200_2012.pdf/f0e1ad45-d337-bbeb-53a6-15fe649d0ff1 (accessed on 10 May 2023).
- JJF 1001-2011; General Terms in Metrology and Their Definitions. General Administration of Quality Supervision, Inspection and Quarantine of the People’s Republic of China: Beijing, China. Available online: http://www.cesi.cn/jlbz/201712/3430.html (accessed on 10 May 2023).
- Poveda-Villalón, M.; Gómez-Pérez, A.; Suárez-Figueroa, M.C. OOPS! (Ontology Pitfall Scanner!): An on-line tool for ontology evaluation. Int. J. Semant. Web Inf. Syst. 2014, 10, 7–34. [Google Scholar] [CrossRef]
- W3C. SWRL: A Semantic Web Rule Language Combining OWL and RuleML. Available online: https://www.w3.org/Submission/SWRL/ (accessed on 2 September 2023).
- Musen, M.A. The Protégé project: A look back and a look forward. AI Matters. Assoc. Comput. Mach. Specif. Interest Group Artif. Intell. 2015, 1, 4–12. [Google Scholar]
- W3C. SPARQL 1.1 Query Language. Available online: https://www.w3.org/TR/sparql11-query/ (accessed on 2 September 2023).
- Tham, K.D.; Mark, S.F.; Michael, G. A Cost Ontology for Enterprise Modelling. In Proceedings of the 3rd IEEE Workshop on Enabling Technologies: Infrastructure for Collaborative Enterprises, Morgantown, WV, USA, 17–19 April 1994; pp. 197–210. [Google Scholar]
- Menzel, C.P.; Mayer, R.J.; Painter, M.K. IDEF5 ontology description capture method: Concepts and formal foundations. In Armstrong Laboratory, Air Force Materiel Command; Wright-Patterson Air Force Base: Dayton, OH, USA, 1992. [Google Scholar]
- Uschold, M.; Gruninger, M. Ontologies: PMrinciples, methods and applications. Knowl. Eng. Rev. 1996, 11, 93–136. [Google Scholar] [CrossRef]
- Fernández-López, M.; Gómez-Pérez, A.; Juristo, N. Methontology: From Ontological Art towards Ontological Engineering; AAAI Technical Report SS-97-06; AAAI: Washington, DC, USA, 1997; pp. 33–40. [Google Scholar]
- Noy, N.F.; Mcguinness, D.L. Ontology Development 101: A Guide to Creating Your First Ontology; Knowledge Systems Laboratory: Stanford, CA, USA, 2001; Volume 32. [Google Scholar]
- WebOnto. Available online: https://projects.kmi.open.ac.uk/webonto/ (accessed on 2 September 2023).
- Sirin, E.; Parsia, B.; Grau, B.C.; Kalyanpur, A.; Katz, Y. Pellet: A practical owl-dl reasoner. J. Web Semant. 2007, 5, 51–53. [Google Scholar] [CrossRef]
- Klyne, G.; Carroll, J.J.; McBride, B. (Eds.) Resource Description Framework (RDF): Concepts and Abstract Syntax; W3C Recommendation; W3C: Cambridge, MA, USA, 2004. [Google Scholar]
- Mcbride, B. The Resource Description Framework (RDF) and Its Vocabulary Description Language RDFS; Springer: Berlin/Heidelberg, Germany, 2004; pp. 51–65. [Google Scholar]
- McGuinness, D.L.; Van Harmelen, F. OWL web ontology language overview. W3C Recomm. 2004, 10, 2004. [Google Scholar]
- W3C OWL Working Group. OWL 2 Web Ontology Language: Document Overview (Second Edition). Available online: https://www.w3.org/TR/owl2-overview/ (accessed on 10 May 2023).
- W3C OWL Working Group. SKOS Simple Knowledge Organization System Namespace Document—HTML Variant. Available online: https://www.w3.org/2009/08/skos-reference/skos.html (accessed on 10 May 2023).
- Unified Code for Units of Measure. The Unified Code for Units of Measure. Available online: https://ucum.org/ucum (accessed on 4 September 2023).
- GB/T 17295-2008; Codes for Units of Measure Used in International Trade. General Administration of Quality Supervision, Inspection and Quarantine of the People’s Republic of China: Beijing, China. Available online: https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=745340EB09071F0956823677A66725C0 (accessed on 4 September 2023).
- International Electrotechnical Commission. IEC 61360-4—IEC/SC 3D—Common Data Dictionary (CDD—V2.0017.0001). Available online: https://cdd.iec.ch/ (accessed on 4 September 2023).
- ISO 80000-1:2022; Quantities and units—Part 1: General. International Organization for Standardization: Geneva, Switzerland. Available online: https://www.iso.org/standard/76921.html (accessed on 4 September 2023).
- OntOlogy Pitfall Scanner. Pitfall Catalogue. Available online: https://oops.linkeddata.es/catalogue.jsp (accessed on 2 September 2023).
- DataCastle. Height and Weight Dataset. Available online: https://www.datacastle.cn/dataset_description.html?type=dataset&id=1375 (accessed on 2 September 2023).
- DataCastle. Daily Temperature Dataset. Available online: https://www.datacastle.cn/dataset_description.html?type=dataset&id=1570 (accessed on 2 September 2023).
- Cota, G. Best practices for implementing fair vocabularies and ontologies on the web. Appl. Pract. Ontol. Des. Extr. Reason. 2020, 49, 39. [Google Scholar]
- Wilkinson, M.D.; Dumontier, M.; Aalbersberg, I.J.; Appleton, G.; Axton, M.; Baak, A.; Blomberg, N.; Boiten, J.W.; da Silva Santos, L.B.; Bourne, P.E.; et al. The FAIR Guiding Principles for scientific data management and stewardship. Sci. Data 2016, 3, 160018. [Google Scholar] [CrossRef]
Method Name | Advantage | Disadvantage |
---|---|---|
TOVE method | Emphasis on ontology evaluation. Used to construct virtual enterprise ontology projects to facilitate information sharing and collaboration across organizations. | Requires manual construction. No documented process and specific step-by-step instructions may result in missing or incorrect information. |
IDEF5 method | Provides a methodological framework and documented steps and specifics for ontology construction, using graphical language to formalize concepts into ontology, applicable to the construction of enterprise ontology. | Requires manual construction. Graphical languages are challenging to support large-scale automatic or semi-automatic construction, and there is no intention of cyclically developing ontology. |
skeleton method | Suitable for the construction of enterprise ontology. | Requires manual construction. Lacks specific construction methods and techniques, providing only construction process guidelines, with limited maturity and practicality. |
METHONTOLOGY method | Suitable for the development of large ontology that emphasize reuse of ontology, with detailed descriptions of relevant technical tools, knowledge sources, and knowledge acquisition methods. | Requires manual construction. China does not possess the corresponding technical tools. |
Seven Steps to Ontology Development method | Semi-automated construction. Used for the construction of domain ontology. It is also currently the most mature and widely applicable method. | Lacks an evaluation phase. |
OWL Vocabulary | Example |
---|---|
rdfs:subClassOf | SI unit ⊑ unit |
rdfs:subPropertyOf | has base quantity ⊑ has quantity |
owl:equivalentClass | unit ≡ 1 unit of measurement |
owl:equivalentProperty | was derived from ≡ belongs to |
Class | First Level Subclass | Second Level Subclass |
---|---|---|
unit | SI unit | SI base unit |
SI derived unit | ||
non-SI unit | non-SI unit accepted for use with the SI unit | |
non-SI unit not accepted for use with the SI unit | ||
quantity | dimensionless quantity | |
ordinal quantity | ||
quantity expressed by a measurement unit | base quantity | |
derived quantity | ||
dimension | — | — |
kind of quantity | — | — |
prefix | binary prefix | — |
SI prefix | — | |
quantity value | conventional quantity value | — |
true quantity value | — | |
system of units | — | — |
system of quantities | — | — |
measurement scale | interval scale | — |
nominal scale | — | |
ordinal scale | — | |
ratio scale | — |
Subject | Predicate | Object |
---|---|---|
metre | isBaseUnitOf SystemOfUnits | SI |
metre | definedUnitOfSystemOfUnits | SI |
SI | hasBaseUnit | metre |
SI | hasDefinedUnit | metre |
Data Property | Range |
---|---|
common code | xsd:string |
IEC 61360 code [40] | xsd:string |
UCUM code | vim: case-insensitive UCUM code/vim: case-sensitive UCUM code |
UN/ECE common code | xsd:string |
conversion factor between units | xsd:decimal/xsd:double/xsd:float/xsd:integer |
conversion multiplier | xsd:decimal/xsd:double/xsd:float/xsd:integer |
country or institution that accept this non-SI units for use with SI units | xsd:string |
dbpedia match | xsd:anyURI |
defined by GB or GB/T | rdfs:Resource |
defined by ISO/IEC80000 [41] | rdfs:Resource |
defined by QUDT | xsd:anyURI |
level | xsd:string |
normative reference | rdfs:Resource |
reference level | xsd:string |
status identification | xsd:string |
unit symbol | xsd:string |
unit equation | xsd:string |
Rule Name | Rule content |
---|---|
unit equivalence relation | Unit(?x) ^ Unit(?y) ^ isEquivalentTo(?x, ?y) -> isEquivalentTo(?y, ?x) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Luo, Y.; Xiong, X.; Jin, S.; Liu, Z. vim: Research on OWL-Based Vocabulary Ontology Construction Method for Units of Measurement. Electronics 2023, 12, 3783. https://doi.org/10.3390/electronics12183783
Luo Y, Xiong X, Jin S, Liu Z. vim: Research on OWL-Based Vocabulary Ontology Construction Method for Units of Measurement. Electronics. 2023; 12(18):3783. https://doi.org/10.3390/electronics12183783
Chicago/Turabian StyleLuo, Yuqi, Xingchuang Xiong, Shangzhong Jin, and Zilong Liu. 2023. "vim: Research on OWL-Based Vocabulary Ontology Construction Method for Units of Measurement" Electronics 12, no. 18: 3783. https://doi.org/10.3390/electronics12183783
APA StyleLuo, Y., Xiong, X., Jin, S., & Liu, Z. (2023). vim: Research on OWL-Based Vocabulary Ontology Construction Method for Units of Measurement. Electronics, 12(18), 3783. https://doi.org/10.3390/electronics12183783