Synonym nodes
Closed this issue · 9 comments
In order to reduce redundancy in the database, it would be helpful if you could create "synonym" nodes, i.e.
H2SO4 - Atomic Mass - 98.074 g/mol
Sulfuric Acid - Atomic Mass - 98.074 g/mol
would become
H2S04---------\
\
*- Atomic Mass - 98.074 g/mol
/
Sulfuric Acid-/
It's coming. Probably sometime this month. It's probably going to work this way:
# you have two statements like this
Sulfuric Acid -> synonym -> H2S04
H2S04 -> Atomic mass -> 98.074 g/mol
# then when you search for:
{exactly: "Sulfuric Acid"} - Atomic mass
# it will work out the valid statements (score > 0) declaring synonyms and will return the statement H2S04 -> Atomic mass -> 98.074 g/mol
Does that make sense to you?
Yup, sounds good.
Error of copy/paste; I wrote:
# it will work out the valid statements (score > 0) declaring synonyms
# and will return the statement Sulfuric Acid -> synonym -> H2S04
What I meant to write was:
# it will work out the valid statements (score > 0) declaring synonyms
# and will return the statement H2S04 -> Atomic mass -> 98.074 g/mol
aka it will transparently return the matching statements for all synonyms, not the statement declaring the synonym.
Ah, ok. That makes more sense. Side note, got any datasets you would like me to import?
I've got no priorities of data importing for the moment but when I'll have them, if they're really too big for me to process them myself, I'll let you know!
Reopened to be closed when actually implemented.
Perfect.
Closing Github issues, as we got a brand new website (with discussions) to play with: http://thebigdb.com/ !
(Also, it is actually implemented now, see http://thebigdb.com/community/threads/3d6594c8-handling-of-synonyms )