Project:Zbmath find missing: Difference between revisions
From MaRDI portal
Created page with "sdsdbd" |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== SPARQL queries == | |||
Find all zbmath de numbers of existing publications<syntaxhighlight lang="sparql"> | |||
select ?item ?zbmath | |||
WHERE { | |||
?item wdt:P31 wd:Q56887. | |||
?item wdt:P1451 ?zbmath. | |||
} | |||
</syntaxhighlight> | |||
== Workflow == | |||
# Execute the SPARQL query for finding all existent de numbers | |||
# Execute the jupyter notebook https://github.com/MaRDI4NFDI/docker-importer/blob/main/bot_scripts/find_missing.ipynb to create a df of missing uploads | |||
# Copy resulting csv file to where you want to execute it (e.g. mardi02) | |||
# Copy config to docker container using docker cp import_config.config mardi-importer:/config/ | |||
# Copy data file to container | |||
# In config, change processed dump path to the one the file was copied to | |||
# Check that in the import.py, pull is set to False and push to True | |||
# Check that in ZBMathSource.py, no skip is set that shouldn't be | |||
# python3 import.py --mode ZBMath --conf_path /config/import_config.config |
Latest revision as of 11:16, 15 March 2024
SPARQL queries
Find all zbmath de numbers of existing publications
select ?item ?zbmath
WHERE {
?item wdt:P31 wd:Q56887.
?item wdt:P1451 ?zbmath.
}
Workflow
- Execute the SPARQL query for finding all existent de numbers
- Execute the jupyter notebook https://github.com/MaRDI4NFDI/docker-importer/blob/main/bot_scripts/find_missing.ipynb to create a df of missing uploads
- Copy resulting csv file to where you want to execute it (e.g. mardi02)
- Copy config to docker container using docker cp import_config.config mardi-importer:/config/
- Copy data file to container
- In config, change processed dump path to the one the file was copied to
- Check that in the import.py, pull is set to False and push to True
- Check that in ZBMathSource.py, no skip is set that shouldn't be
- python3 import.py --mode ZBMath --conf_path /config/import_config.config