converters
Class SQLConverter

java.lang.Object
  extended by converters.SQLConverter

public class SQLConverter
extends java.lang.Object

This class is part of the YAGO converters (http://mpii.de/yago). It is licensed under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0) the YAGO team (http://mpii.de/yago). This class inserts all text tables to an SQL Database.

Author:
Fabian M. Suchanek

Field Summary
static int MAXENTITYLENGTH
          Maximal entity length
 
Constructor Summary
SQLConverter()
           
 
Method Summary
static void fromIniFile(java.io.File initFile)
          reads the yago.ini file
static void loadEntities(java.io.File file)
          Adds entities from one file
static void loadFacts(java.io.File file, basics.datagraph.Relation r)
          Adds facts from one file
static void main(java.lang.String[] args)
           
static void requestInformation()
          request information instead of using yago.ini file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAXENTITYLENGTH

public static final int MAXENTITYLENGTH
Maximal entity length

See Also:
Constant Field Values
Constructor Detail

SQLConverter

public SQLConverter()
Method Detail

loadFacts

public static void loadFacts(java.io.File file,
                             basics.datagraph.Relation r)
                      throws java.lang.Exception
Adds facts from one file

Throws:
java.lang.Exception

loadEntities

public static void loadEntities(java.io.File file)
                         throws java.lang.Exception
Adds entities from one file

Throws:
java.lang.Exception

requestInformation

public static void requestInformation()
                               throws java.lang.Exception
request information instead of using yago.ini file

Throws:
java.lang.Exception

fromIniFile

public static void fromIniFile(java.io.File initFile)
                        throws java.lang.Exception
reads the yago.ini file

Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception