Project:Zbmath find missing: Difference between revisions

From MaRDI portal
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:


# Execute the SPARQL query for finding all existent de numbers
# Execute the SPARQL query for finding all existent de numbers
# Execute the jupyter notebook XXXXX to create a df of missing uploads
# 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 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

  1. Execute the SPARQL query for finding all existent de numbers
  2. Execute the jupyter notebook https://github.com/MaRDI4NFDI/docker-importer/blob/main/bot_scripts/find_missing.ipynb to create a df of missing uploads
  3. Copy resulting csv file to where you want to execute it (e.g. mardi02)
  4. Copy config to docker container using docker cp import_config.config mardi-importer:/config/
  5. Copy data file to container
  6. In config, change processed dump path to the one the file was copied to
  7. Check that in the import.py, pull is set to False and push to True
  8. Check that in ZBMathSource.py, no skip is set that shouldn't be
  9. python3 import.py --mode ZBMath --conf_path /config/import_config.config