WikibaseIntegrator
WikibaseIntegrator copied to clipboard
Adding Prefixes to SPARQL query helper causes "does not look like a valid URI, trying to serialize this will break"
This isn't a huge issue, just more annoying with large datasets, but essentially, SPARQL queries work regardless of whether prefixes are defined in them or not.
However, with prefixes, I always get a warning that is PREFIX wd: <https://wikiname.wikibase.cloud/entity/> PREFIX wdt: <https://wikiname.wikibase.cloud/prop/direct/> SELECT ?p ?o WHERE { <https://wikiname.wikibase.cloud/entity/Q4087> ?p ?o } does not look like a valid URI, trying to serialize this will break.
. Since I'm running thousands of queries though-- this pops up a lot.
Is there either (a) a way to stop this warning or solve whatever serialization error is occurring (either by declaring prefixes in a different place or changing the query, or (b) a way to silence or suppress these warnings if (a) isn't possible?
Thanks so much!