Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python client downloader #2

Closed
white-gecko opened this issue Aug 17, 2023 · 4 comments
Closed

python client downloader #2

white-gecko opened this issue Aug 17, 2023 · 4 comments
Assignees

Comments

@white-gecko
Copy link
Collaborator

Currently the downloader returns TODO

$ databusclient download https://databus.coypu.org/narndt/coypu/example/
TODO

Are there any plans to support it? Currently also in the client.py there is no code for the downloader. Where would one find the relevant code in scala or what would one need to implement to support it?

@Vehnem
Copy link

Vehnem commented Aug 21, 2023

Yes, it would be good to support it.
Start with

  1. sending a SPARQL query to retrieve all download URLs**
  2. store the files***: options: a) all into one folder, b) in a databus hierarchy like directory structure

IIRC. The Scala version is working with queries passed as CMD args.

There are several things to consider implementing it (that I have in mind)
** Support of different identifiers as file scope (user, groups, artifacts, versions, collections)
*** Configuration of the client (.dotfile, or cmd args) for local target directory, etc.

@JJ-Author JJ-Author transferred this issue from dbpedia/databus-client Dec 25, 2023
@JJ-Author
Copy link
Contributor

JJ-Author commented Dec 25, 2023

intital download code is here but was commited to wrong repo
dbpedia/databus-client@810b55f

created a PR #3 for the merge of that changes
if @white-gecko confirmst that it works for him will merge it into master as version 0.13

@white-gecko
Copy link
Collaborator Author

It is no longer TODO but still does not download a dataset:

$ databusclient download https://databus.dbpedia.org/ontologies/babelnet.org/rdf/2022.11.27-025337 --localdir . --databus https://databus.dbpedia.org/
dataId not supported yet

@JJ-Author
Copy link
Contributor

ok it seems to support either a custom SPARQL queries or download of a set of collections at the moment.
added another issue #6 to specify what is missing.
would close this issue can make new ones when they are more specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants