converters
Class DBpediaExport.ConvertRelation

java.lang.Object
  extended by converters.DBpediaExport.ConvertRelation
Enclosing class:
DBpediaExport

public static class DBpediaExport.ConvertRelation
extends java.lang.Object

Represents a relation that is to be converted


Constructor Summary
DBpediaExport.ConvertRelation(basics.datagraph.Relation yagoRelation, boolean inverted, java.lang.String name, java.lang.String... files)
          Constructor
 
Method Summary
 java.io.File file(java.lang.String fileName)
          Returns the File object with path for a yago data file name
 java.util.Collection<java.lang.String> fileNames()
          Returns the yago data file names that shall be converted
 boolean isInverted()
          Tells whether the arguments in N3 and YAGO are swapped
 java.lang.String n3Name()
          Returns the name of this relation in N3
 boolean secondIsString()
          TRUE if the second argument of the N3 triple must be a string
 java.lang.String toString()
           
 basics.datagraph.Relation yagoRelation()
          Returns the YAGO relation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBpediaExport.ConvertRelation

public DBpediaExport.ConvertRelation(basics.datagraph.Relation yagoRelation,
                                     boolean inverted,
                                     java.lang.String name,
                                     java.lang.String... files)
Constructor

Method Detail

secondIsString

public boolean secondIsString()
TRUE if the second argument of the N3 triple must be a string


fileNames

public java.util.Collection<java.lang.String> fileNames()
Returns the yago data file names that shall be converted


file

public java.io.File file(java.lang.String fileName)
Returns the File object with path for a yago data file name


isInverted

public boolean isInverted()
Tells whether the arguments in N3 and YAGO are swapped


n3Name

public java.lang.String n3Name()
Returns the name of this relation in N3


yagoRelation

public basics.datagraph.Relation yagoRelation()
Returns the YAGO relation


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object