As nouns,
lexical database is a hyponym of
on-line database; that is, lexical database is a
word with a more specific, narrower meaning than
on-line database:
on-line database: (computer science) a database that can be accessed by computers
lexical database: a database of information about words