Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lambdamusic/pyscigraph
Python CLI for retrieving RDF from Springer Nature SciGraph.
https://github.com/lambdamusic/pyscigraph
json-ld open-data python rdf
Last synced: about 1 month ago
JSON representation
Python CLI for retrieving RDF from Springer Nature SciGraph.
- Host: GitHub
- URL: https://github.com/lambdamusic/pyscigraph
- Owner: lambdamusic
- License: apache-2.0
- Created: 2018-04-27T15:41:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-09T11:05:33.000Z (about 3 years ago)
- Last Synced: 2024-09-21T13:51:21.491Z (about 2 months ago)
- Topics: json-ld, open-data, python, rdf
- Language: Python
- Homepage: https://scigraph.springernature.com/
- Size: 35.2 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PySciGraph
Python command line utility for accessing [Springer Nature SciGraph](https://scigraph.springernature.com).
> SN SciGraph is a Linked Open Data repository containing info about 14 million+ research publications from Springer Nature, plus related researchers, grants, patents, organizations, etc..
The code is hosted on Pypi:
- [https://pypi.org/project/pyscigraph/](https://pypi.org/project/pyscigraph/)
[![Downloads](https://pepy.tech/badge/pyscigraph)](https://pepy.tech/project/pyscigraph)
### Example
```bash
# Get JSONLD for a SN publication from its DOI
$ pyscigraph --doi 10.1038/171737a0# Get JSONLD for a SN publication from its full URI
$ pyscigraph --uri http://scigraph.springernature.com/pub.10.1038/171737a0# Serialise RDF to Turtle format (default= JSONLD)
$ pyscigraph --doi 10.1038/171737a0 --rdf turtle# Get JSONLD for other entity types
$ pyscigraph --uri http://scigraph.springernature.com/clinicaltrial.NCT05060562
$ pyscigraph --uri http://scigraph.springernature.com/grant.2691278
$ pyscigraph --uri http://scigraph.springernature.com/patent.US-10355159-B2
$ pyscigraph --uri http://scigraph.springernature.com/journal.1136213
$ pyscigraph --uri http://www.grid.ac/institutes/grid.511171.2
$ pyscigraph --uri http://scigraph.springernature.com/person.01311060163.26```
### Install
```
pip install pyscigraph
```### Status
Prototype.