Giter Club home page Giter Club logo

autograph-obsidian's Introduction

AutoGraph-Obsidian: Automated Knowledge Graph Generation.

Introduction

AutoGraph is a tool that enables rapid, automated knowledge graph generation. AutoGraph does this by mining scientific literature against a search query for keywords. From this data, an Obsidian vault is made where each mined keyword has its own markdown file containing: i) the name of the paper the keyword was scraped from and ii) links to other keywords from that paper. When two papers share a keyword, a link is established between those articles through that term. Over many papers, this allows a network of interactions between articles in a field to be visualized. The purpose of this tool is not only to establish graph-based summaries of topics but also to identify hidden links between divergent fields - largely inspired by the works of Manfred Kochen.

Prerequisites:

Quickstart:

pip3 install autograph-obsidian

Usage:

Usage: autograph [OPTIONS] QUERY

  Arguments:

  QUERY The main search string.

Options:
  -l, --limit INTEGER  Number of papers to mine. Default = 500.
  -v, --version        Show version number and exit.
  --help               Show this message and exit.

e.g.

autograph 'Genetic Code Expansion' -l 100

Case Study

Generating the graph with autograph

Viewing the graph with Obsidian.md

Acknowledgements

The mining of scientific literature is handled by the pygetpapers package developed by ContentMine.

autograph-obsidian's People

Contributors

j-e-j-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

autograph-obsidian's Issues

Weird Error + Bad Handling

❯ autograph 'genetic code expansion mitochondria'
info: Searching using eupmc API
(node:5599) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
warn: We had to retry the last request 10 times.
error: Malformed or empty response from EuropePMC. Try running again. Perhaps your query is wrong.
getpapers not found, begining install with npm.
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/getpapers
npm ERR! dest /usr/local/lib/node_modules/.getpapers-nAD5YUxa
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/getpapers' -> '/usr/local/lib/node_modules/.getpapers-nAD5YUxa'
npm ERR!  [Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/getpapers' -> '/usr/local/lib/node_modules/.getpapers-nAD5YUxa'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'rename',
npm ERR!   path: '/usr/local/lib/node_modules/getpapers',
npm ERR!   dest: '/usr/local/lib/node_modules/.getpapers-nAD5YUxa'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/james/.npm/_logs/2023-02-24T10_15_26_864Z-debug-0.log
info: Searching using eupmc API
(node:5604) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
warn: We had to retry the last request 10 times.
error: Malformed or empty response from EuropePMC. Try running again. Perhaps your query is wrong.
Process Failed:
Try run autograph with admin permissions OR
Try download getpapers independently from: https://www.npmjs.com/package/getpapers
Process Failed:
Ensure npm is installed or install from: https://www.npmjs.com/
Ensure autograph is run with admin permissions or download getpapers independently from https://www.npmjs.com/package/getpapers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.