# DB2

Through the IBM DB2 (opens new window) connector, Ontop is able to construct VKGs on DB2 databases.

# Limitations & Exceptions

  • SPARQL UUID and hash functions are not supported for DB2.
  • Nested data types and the flatten lens are not supported for DB2

# Database Connection

The following shows the content of a sample .properties file that can be used to connect Ontop to DB2:

jdbc.url = jdbc:db2://localhost:50000/defaultdatabase
jdbc.user = user
jdbc.password = password
jdbc.driver = com.ibm.db2.jcc.DB2Driver

# Nested Type Support

Nested data types and the flatten lens are not supported for DB2.