Skip to content

SkepticMystic/obsidian-linked-data-vocabularies

 
 

Repository files navigation

Obsidian Linked Data Vocabularies Plugin

This plugin adds YAML keys for the selected heading, url (optional), and broader, narrower and related headings.

Currently, the LCSH Suggest2 API is implemented.

Usage

In the editor, open the command palette and execute the LCSH command. Alternatively, you can set a hotkey for it.

If there is no YAML block present, a new one will be created. If there is already YAML present, the new YAML will be appended to the current YAML.

Configuration

You can set the limit of queries to be display. 10 is the default setting.

You can set the key names for heading, broader, narrower and related in the settings.

Furthermore, you can set the search type.

Left anchored searches are ordered alphabetically, case and diacritic insensitive.

Keyword searches are in descending relevance order, using the same search ranking as the main search page.

Source

The default search type is keyword.

From my experience, keywords gives better results, but only gives good results when you type out the word fully. So archeolo wouldn't show Archeology, for that you need to type the full word.

Modal

The Modal shows the heading in bold, under it, it shows the aLabel and if existing, the vLabel.

aLabel will only return a resource whose authoritative label exactly matches the searched term. For example, aLabel:"International librarianship".

vLabel will only return a resource which has a variant label exactly matching the searched term. For example, vLabel:"Librarianship, International".

Source

Recommendation

Use this plugin with Breadcrumbs. You can set the hierachies in its settings and will have a breadcrumbs view for navigating the heading hierarchy you create in your notes.

About

Add linked data to the YAML of your Obsidian notes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.6%
  • JavaScript 8.4%