Difference between revisions of "Pysotsog"
Jump to navigation
Jump to search
Line 122: | Line 122: | ||
=== Examples === | === Examples === | ||
==== Scholar ==== | ==== Scholar ==== | ||
− | <source lang='bash'> | + | [https://scholia.toolforge.org/author/Q80 Tim Berners-Lee] |
+ | <source lang='bash' highlight="1"> | ||
sotsog Tim Berners-Lee | sotsog Tim Berners-Lee | ||
+ | Tim Berners-Lee(Q80):English computer scientist, inventor of the World Wide Web (born 1955)✅ | ||
+ | Scholar➜Tim Berners-Lee: | ||
+ | wikiDataId=http://www.wikidata.org/entity/Q80 | ||
+ | gndId=121649091 | ||
+ | dblpId=b/TimBernersLee | ||
+ | orcid=0000-0003-1279-3709 | ||
+ | homepage=http://www.w3.org/People/Berners-Lee/ | ||
+ | givenName=http://www.wikidata.org/entity/Q1369663 | ||
+ | familyName=http://www.wikidata.org/entity/Q18375238 | ||
+ | gender=http://www.wikidata.org/entity/Q6581097 | ||
+ | image=http://commons.wikimedia.org/wiki/Special:FilePath/Sir%20Tim%20Berners-Lee%20%28cropped%29.jpg | ||
+ | opening https://scholia.toolforge.org/author/Q80 in browser | ||
</source> | </source> |
Revision as of 08:29, 17 November 2022
OsProject | |
---|---|
edit | |
id | pysotsog |
state | active |
owner | WolfgangFahl |
title | pysotsog is a python library for scholars to help navigate the conceptual knowledge graph consisting of authors,organizations,papers,scientific events,scientific event series |
url | https://github.com/WolfgangFahl/pysotsog |
version | 0.0.6 |
description | |
date | 2022-11-16 |
since | 2022-11-17 |
until |
Motivation
Standing on the shoulders of giants is a core motto for scholars when doing research. To pursue this motto scholars need to be able to navigate the conceptual knowledge graph depicted in the diagram below. This knowledge graph is implemented in Wikidata and accessible via the scholia portal.
pysotsog is a python library to improve the search, navigation and general accessibility of the items in this scholary knowledge graph.
Installation
pip install pyThunderbird
# alternatively if your pip is not a python3 pip
pip3 install pyThunderbird
# local install from source directory of pyThunderbird
pip install .
upgrade
pip install pyThunderbird -U
# alternatively if your pip is not a python3 pip
pip3 install pyThunderbird -U
Usage
Command line
sotsog -h
usage: sotsog [-h] [-d] [-la LANG] [-li LIMIT] [-V] [search ...]
python Library for Scholars to achieve "Standing on the shoulders of giants"
Created by Wolfgang Fahl on 2022-11-16.
Copyright 2022 Wolfgang Fahl. All rights reserved.
Licensed under the Apache License 2.0
http://www.apache.org/licenses/LICENSE-2.0
Distributed on an "AS IS" basis without warranties
or conditions of any kind, either express or implied.
USAGE
positional arguments:
search search terms
options:
-h, --help show this help message and exit
-d, --debug show debug info
-la LANG, --lang LANG
language code to use
-li LIMIT, --limit LIMIT
limit the number of search results
-V, --version show program's version number and exit
Examples
Scholar
sotsog Tim Berners-Lee
Tim Berners-Lee(Q80):English computer scientist, inventor of the World Wide Web (born 1955)✅
Scholar➜Tim Berners-Lee:
wikiDataId=http://www.wikidata.org/entity/Q80
gndId=121649091
dblpId=b/TimBernersLee
orcid=0000-0003-1279-3709
homepage=http://www.w3.org/People/Berners-Lee/
givenName=http://www.wikidata.org/entity/Q1369663
familyName=http://www.wikidata.org/entity/Q18375238
gender=http://www.wikidata.org/entity/Q6581097
image=http://commons.wikimedia.org/wiki/Special:FilePath/Sir%20Tim%20Berners-Lee%20%28cropped%29.jpg
opening https://scholia.toolforge.org/author/Q80 in browser
References
- ^ willighagenci