kometenstaub / linked-data-vocabularies Goto Github PK
View Code? Open in Web Editor NEWAdd linked data to the YAML of your Obsidian notes.
License: MIT License
Add linked data to the YAML of your Obsidian notes.
License: MIT License
Awesome plugin!
I followed the instructions and got everything hooked up.
However, the suggestions that all come up are musical instruments, rather than subject headings.
Following the instructions, I downloaded the subjects.madsrdf.jsonld.gz
file instructions from https://id.loc.gov/download/ and converted it. Everything seems to work fine, except the data is unexpected. Did I download the wrong file?
Add quotes around each item so that commas and brackets (as some results include them) don't break links/the frontmatter in general.
ex.
narrower: ["History--[period subdivision]--Philosophy","Foreign relations--Philosophy","Civilization--Philosophy","Politics and government--[period subdivision]--Philosophy","History--Philosophy","Politics and government--Philosophy"]
instead of
narrower: [History--[period subdivision]--Philosophy,Foreign relations--Philosophy,Civilization--Philosophy,Politics and government--[period subdivision]--Philosophy,History--Philosophy,Politics and government--Philosophy]
Make it more general so that it accepts any number of key-value pairs apart from the headings.
buildYaml()
Problem to address: accessing settings to decide whether or not to write the value. This check could be done in the suggester so that it only passes elements that are supposed to be added.
I am on the latest obsidian build 0.13.19 and getting this error on Mac when I run the command Query LCSH. I can see the 3 json files in my folder so not sure what is wrong.
I have installed both the Linked Data Vocabularies and the Linked Data Helper.
I cannot get the Linked Data helper to generate the necessary data for Linked Data vocabularies from the extracted zip file lcsh.both.ndjson
The plugin accepts anything I put on the “linked data helper settings”.
Then, when I press start conversion, it gives a message saying that it will take a while and then nothing happens.
My folder for the three JSON files to be generated is default, and the directory exists.
I have tried different location for the extracted zip file lcsh.both.ndjson but same result.
There is no error message. Just nothing happens, other than the message saying that it will take a while.
Environment
Operating system: Windows 11
Obsidian version: V0.12.19 (up to date)
getting either could not be parsed error on startup or
Uncaught (in promise) SyntaxError: Unexpected token 'v', "version ht"... is not valid JSON
at JSON.parse (<anonymous>)
at eval (plugin:linked-data-vocabularies:58:3651)
error in trying to load json files from folder.
my path looks like 00-09 Admin/05 Resources/linked-data-vocabularies because when I change it to 00-09 Admin\05 Resources\linked-data-vocabularies , Obsidian automatically switches it back to the first one.
Unable to get this working in the current version of Obsidian (v0.12.16).
I am certainly no expert on manually installing plugins, so perhaps I am doing something wrong. Extracted the zipped folder to vault/.obsidian/plugins
It appears in Community Plugins, but throws: Can't load plugin error
Hi Kometenstaub,
i just discovered your plugin because @brimwats commented that i could make my Map of Content plugin compatible to the YAML data yours generates. Like you i have just released my plugin a few days ago.
I love what yours does and it's kind of the same idea i had when i made mine, only mine is based on the idea of creating your own headings and subheadings as notes and linking to those instead of getting them from an official catalogue.
As you'll see mine has some more features like generating a tree view of all notes. If we joined the functionality of both of our addons, we could have a feature that generates a similar view for SKOS tags, also displaying connections that reach through several tags by pulling all the tags related to the ones used in the notes and analyzing them for relation.
I thought i'd hear what you think on this.
Nice name by the way. Are you from Germany too?
Could be easily done for everything except the headings with a unit test that just passes an object.
More difficult with the headings because they still access the settings.
Hi there, bonkers excited for this plug-in. I'm trying to set it up now. I have successfully unzipped the file and put in the folder path to where the Json files are stored in my vault attachment folder. I then closed and restarted Obsidian. However when I open the command pallete, I do not see any commands related to linked data or LCSH. Any ideas?Thanks!
If would be cool if there was an option to would help a writer remember to populate their frontmatter categories with linked data vocbularies.
This would be opt-in of course via settings.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.