eu.larkc.core.pluginregistry
Class OwlToCycMapping

java.lang.Object
  extended by eu.larkc.core.pluginregistry.OwlToCycMapping

public class OwlToCycMapping
extends java.lang.Object

This class have hash table which maps the Cyc constants and predicates to OWL, RDF predicates and constants

Author:
Luka Bradesko, Blaz Fortuna

Constructor Summary
OwlToCycMapping()
          Constructs the class and fills mappings
 
Method Summary
 java.lang.String getCycEquivalent(java.lang.String rdfTerm)
          Returns the cyc equivalent term
 boolean isCycEquivalent(java.lang.String rdfTerm)
          Checking if Cyc equivalent for the term exists
 java.lang.String toCycConst(java.lang.String rdfTerm)
          change the string representation of term to the valid cyc constant
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwlToCycMapping

public OwlToCycMapping()
Constructs the class and fills mappings

Method Detail

isCycEquivalent

public boolean isCycEquivalent(java.lang.String rdfTerm)
Checking if Cyc equivalent for the term exists

Parameters:
rdfTerm -
Returns:
true/false about the existance

getCycEquivalent

public java.lang.String getCycEquivalent(java.lang.String rdfTerm)
Returns the cyc equivalent term

Parameters:
rdfTerm -
Returns:
cyc equivalent

toCycConst

public java.lang.String toCycConst(java.lang.String rdfTerm)
change the string representation of term to the valid cyc constant

Parameters:
rdfTerm -
Returns:
cyc constant