Klasse Ontology

java.lang.Object
net.simplace.sim.util.ontology.Ontology

public class Ontology extends Object
Ontology : An ontology formally represents knowledge as a set of concepts within a domain, and the relationships between those concepts. It can be used to reason about the entities within that domain and may be used to describe the domain. An Ontology at present used in SMILE model is to resolve the ambiguity related to the units in the model.Ontology used in the model is the OM ontology of Unit of Measure. An Ontology of units of Measure and related concepts (OM) models concepts and relations important to scientific research. It has a strong focus on units and quantities, measurements, and dimensions. The home page of the OM ontology is: http://www.wurvoc.org/vocabularies/om-1.8/
Autor:
Andreas Enders, Crop Science Group, Katzenburgweg 5, 53115 Bonn, Germany IMPETUS Project, www.impetus.uni-koeln.de Contact Information: info@andreas-enders.de
  • Methodendetails

    • getInstance

      public static Ontology getInstance()
      Helper method called to access the Ontology
      Gibt zurück:
      model
    • main

      public static void main(String[] args)
      Testing Method
      Parameter:
      args -
    • getProperty

      public String getProperty(String aURI, org.apache.jena.rdf.model.Property aProperty, boolean aCheckForLang)
      Helper method to access the properties of the model
      Parameter:
      aURI - : URI passed by the used for which property needs to be accessed.
      aProperty - : Name of the Property to be accessed
      aCheckForLang -
      Gibt zurück:
      the Property string
    • getStandardName

      public String getStandardName(String aURI)
      Helper method to get the name of the unit out of the URI
      Parameter:
      aURI -
      Gibt zurück:
      the name associated to the URI
    • getSymbol

      public String getSymbol(String aURI)
      Helper method to get the name of the unit out of the URI
      Parameter:
      aURI -
      Gibt zurück:
      the name associated to the URI
    • getDescription

      public String getDescription(String aURI)
      Helper method to read the description and the long comments associated with units
      Parameter:
      aURI - : the URI
      Gibt zurück:
      long comment and the definition of the unit
    • allInstances

      public List<org.apache.jena.rdf.model.Statement> allInstances(String aURI)
      Helper method to get list of all the properties associated with mentioned URI
      Parameter:
      aURI - : URI
      Gibt zurück:
      tReturnList : List of all the properties