nichtich / wikidata-taxonomy

command-line tool to extract taxonomies from Wikidata
https://www.npmjs.org/package/wikidata-taxonomy
MIT License
124 stars 11 forks source link

getting "SPARQL request failed" for every call #49

Closed finin closed 5 years ago

finin commented 5 years ago

I've been using wdtaxonomy (v 0.6.6) happily for many months on my macbook running 10.14.5. Starting yesterday, every call I make (e.g., "wdtaxonomy -c Q5") produces an immediate "SPARQL request failed" message.

I tried capturing the sparql queries with --sparql and pasting that into the wikidata query service web page, and it they work. I also tried passing the standard query service URL with --sparql-endpoint and that did not help. I tried uninstalling and then installing again, which did not fix the problem.

Might it be due to this: https://lists.wikimedia.org/pipermail/wikidata/2019-June/013161.html ?

Any suggestions?

nichtich commented 5 years ago

Hi @finin, thanks for the feedback. Please try version 0.6.7!

finin commented 5 years ago

Great, Thanks for updating it!

-- Tim Finin, Willard and Lillian Hackerman Chair in Engineering, Computer Science and Electrical Engineering, U. Maryland, Baltimore County, 1000 Hilltop Circle, Baltimore MD

  1. http://umbc.edu/~finin, finin@umbc.edu, tfinin@gmail.com, mobile:410-499-3522

On Wed, Jun 19, 2019 at 4:15 PM Jakob Voß notifications@github.com wrote:

Hi @finin https://github.com/finin, thanks for the feedback. Please try version 0.6.7!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nichtich/wikidata-taxonomy/issues/49?email_source=notifications&email_token=AAUHQHYNHVNKMOT77NEKU3LP3KHUHA5CNFSM4HZDKCUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDE33Y#issuecomment-503729647, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUHQH7LGKMMC6YUQE4FF2LP3KHUHANCNFSM4HZDKCUA .

mrcchef commented 1 year ago

Hey, I have the latest version 0.6.7, still, it's happening with me. This is the query that I ran : wdtaxonomy -f csv Q735 Output: SPARQL request failed

finin commented 1 year ago

Capturing the query with a -s flag and executing it directly on Wikidata Query Service https://query.wikidata.org/ show that the problem is due to a query timeout.

The wdtaxonomy query with a -b flag does work

wdtaxonomy -b -f csv Q735

so apparently, counting all of the instances takes too much time.

-- Tim Finin, Computer Science & Electrical Engineering, Univ. Maryland Baltimore County 1000 Hilltop Circle, Baltimore, MD 21250. http://umbc.edu/~finin, @.***

On Mon, Mar 13, 2023 at 2:36 AM Abhijeet Tamrakar @.***> wrote:

Hey, I am facing the same issue! I have the latest version i.e. 0.6.7 Query: wdtaxonomy -f csv Q735 Output: SPARQL request failed

— Reply to this email directly, view it on GitHub https://github.com/nichtich/wikidata-taxonomy/issues/49#issuecomment-1465589090, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUHQH4ZFGZLZPUVUES6DCTW326ANANCNFSM4HZDKCUA . You are receiving this because you were mentioned.Message ID: @.***>

finin commented 1 year ago

Capturing the query with a -s flag and executing it directly on Wikidata Query Service show that the problem is due to a query timeout. Adding a -b flag to the query does work, so apparently, counting all of the instances takes too much time.

wdtaxonomy -b -f csv Q735 

jaygray0919 commented 1 year ago

Had a similar issue. Here is the dialog: https://github.com/nichtich/wikidata-taxonomy/issues/52 now works as advertised /jay