Steps to replicate the issue (include links if applicable):
- choose any simple sparql query that returns some results when run in the query service page, and choose any wb.c instance. Here are two examples from two different wb.c instances: https://pbsandbox.wikibase.cloud/query/#PREFIX%20pbdp%3A%20%3Chttps%3A%2F%2Fpbsandbox.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0ASELECT%20%3Fitem%20%3Fvalue%20%7B%20%3Fitem%20pbdp%3AP476%20%3Fvalue%20%7D and https://furry.wikibase.cloud/query/#PREFIX%20wfd%3A%20%3Chttps%3A%2F%2Ffurry.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wfdt%3A%20%3Chttps%3A%2F%2Ffurry.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wfp%3A%20%3Chttps%3A%2F%2Ffurry.wikibase.cloud%2Fprop%2F%3E%0APREFIX%20wfps%3A%20%3Chttps%3A%2F%2Ffurry.wikibase.cloud%2Fprop%2Fstatement%2F%3E%0APREFIX%20wfpq%3A%20%3Chttps%3A%2F%2Ffurry.wikibase.cloud%2Fprop%2Fqualifier%2F%3E%0ASELECT%20%3FeventInstanceLabel%20%3FeventStart%20%3FeventEnd%20%3FeventRank%20%3FeventSeriesLabel%20%0AWHERE%20%0A%7B%0A%20%20%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20subclass%20of%20furcons%0A%20%20%3FeventSeries%20%20%20%20%20wfdt%3AP2%20wfd%3AQ2.%0A%20%20%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20instance%20of%20specific%20furcon%0A%20%20%3FeventInstance%20%20%20wfdt%3AP1%20%3FeventSeries%3B%0A%20%20%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20duplicate%20for%20each%20start%20time%20property%0A%20%20%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%28not%20wfdt%3A%20to%20get%20single%20eventStart%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wfp%3AP6%20%3FeventStartProp.%0A%20%20%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20populate%20start%20time%20for%20the%20row%20with%20%20this%20property%0A%20%20%3FeventStartProp%20%20wfps%3AP6%20%3FeventStart.%0A%20%20%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20normal%20or%20deprecated%20%28rescheduled%2Fcancelled%29%0A%20%20%3FeventStartProp%20%20wikibase%3Arank%20%3FeventRank.%0A%20%20%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20grab%20end%20time%20as%20qualifier%20if%20present%20%28else%2C%20one-day%20event%29%0A%20%20OPTIONAL%20%7B%3FeventStartProp%20wfpq%3AP7%20%3FeventEnd%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0AORDER%20BY%20DESC%28%3FeventInstanceLabel%29%20DESC%28%3FeventStart%29%20DESC%28%3FeventRank%29
- After following either link, run the query and observe that some results are returned.
- Then press the </>code button and choose "Python". Copy the generated script. Note that it uses "https://rdflib.github.io/sparqlwrapper/" Install that library in a python environment and run the script.
What happens?:
Nothing. No results and no errors.
What should have happened instead?:
The same results should have been returned as we observed when running the query in the query service page. A similarly generated script succeeds on wikidata'
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
SPARQLWrapper==2.0.0