org.dllearner.kb.manipulator
Class StringToResource

java.lang.Object
  extended by org.dllearner.kb.manipulator.Rule
      extended by org.dllearner.kb.manipulator.StringToResource

public class StringToResource
extends Rule


Nested Class Summary
 
Nested classes/interfaces inherited from class org.dllearner.kb.manipulator.Rule
Rule.Months
 
Field Summary
 
Fields inherited from class org.dllearner.kb.manipulator.Rule
MONTHS
 
Constructor Summary
StringToResource(Rule.Months month, String resourceNamespace, int limit)
           
 
Method Summary
 SortedSet<RDFNodeTuple> applyRule(Node subject, SortedSet<RDFNodeTuple> tuples)
           
 void logJamon()
           
 
Methods inherited from class org.dllearner.kb.manipulator.Rule
main
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringToResource

public StringToResource(Rule.Months month,
                        String resourceNamespace,
                        int limit)
Parameters:
month -
resourceNamespace - ns for the created uris
limit - does not convert strings that are longer than a specific value, zero means convert all
Method Detail

applyRule

public SortedSet<RDFNodeTuple> applyRule(Node subject,
                                         SortedSet<RDFNodeTuple> tuples)
Specified by:
applyRule in class Rule

logJamon

public void logJamon()
Specified by:
logJamon in class Rule


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann