Things I have tried
I study multiple languages, and I’m trying to use Dataview to create different dictionary-type views of my vocabulary words.
I’m familiar with Javascript, but I’m new to Obsidian and Dataview. I have successfully created Dataview queries that show:
- all the words in my vocabulary folders with columns showing data about them
- all the words in a specific language
- all the words in a specific language with a certain part of speech (ie, all French nouns)
I have some general database learning, but it’s more about building the connections than doing the querying part.
What I’m trying to do
I would like to create “studied language” to “studied language” dictionaries that allow me to display entries like this:
French → Italian
chat: gatto /ˈɡat.to/ (m)
I have folders set up like this:
Vocabulary
-English
–Individual notes for each word, such as “cat,” “hello,” “goodbye”
-French Vocab
–Individual notes for each word, as in English above, that have the key “English” that is a link to the English note, ie “chat English:: [[Vocabulary/English Vocab/cat]]”
-Italian Vocab
–Individual notes set up as in French above
-Russian Vocab
–Individual notes set up as in French above
…And so on for each language studied
My keys include: Word (vocab term), English (English translation), Language, and a couple others that are more relevant to individual terms rather than comparing across languages (pronunciation, part of speech, etc.).
Is there a way for me to query my folders so that I can have an entry word (“chat” in the display example above) that displays information for its equivalent in another language (gatto /ˈɡat.to/ (m) in above)?
Essentially, I have things set up so that:
x = y
z = y
and I want to display:
x = z
I’m using a small test database right now, so I’m fine with rearranging folders, notes, adding/subtracting keys, etc. to accomplish my task.
(Note: I’m not studying English. I included the English folder to link my foreign vocab words to the same English translation because I thought that would help me query the database.)
Thank you for any help or recommendations for tutorials that might help! I searched this forum and beyond and tried the various suggestions I found, but none have gotten me further than where I am yet.