Wikimedia has transferred my wikibase to https://dreams.wikibase.cloud
I have been trying to access the data in the SPARQL server via Javascript but run into the problem of cross-site scripting "CORS Missing Allow Origin".
I have but up a ticket on the phabricator at https://phabricator.wikimedia.org/T310614
I do not know when or if it is going to be resolved and wonder if there are anyone that have had a similar problem and would know a workaround?
best regards Finn Årup Nielsen
Use the API. Something like https://database.factgrid.de/sparql?format=json&query=SELECT%20%3Fproper... With Angular: let params = new httpParams() .set('format',"json") u= this.http.get(sparql, { params: params) works.
Le mar. 14 juin 2022 à 19:07, Finn Årup Nielsen via Wikibaseug < wikibaseug@lists.wikimedia.org> a écrit :
Wikimedia has transferred my wikibase to https://dreams.wikibase.cloud
I have been trying to access the data in the SPARQL server via Javascript but run into the problem of cross-site scripting "CORS Missing Allow Origin".
I have but up a ticket on the phabricator at https://phabricator.wikimedia.org/T310614
I do not know when or if it is going to be resolved and wonder if there are anyone that have had a similar problem and would know a workaround?
best regards Finn Årup Nielsen _______________________________________________ Wikibaseug mailing list -- wikibaseug@lists.wikimedia.org To unsubscribe send an email to wikibaseug-leave@lists.wikimedia.org
Not sure whether this helped, but as Mohammed Sadat Abdulai wrote in an reponse email the issue was under review. Around 16 June it was resolved, see https://phabricator.wikimedia.org/T310614
On 16/06/2022 00.15, Bruno Belhoste wrote:
Use the API. Something like https://database.factgrid.de/sparql?format=json&query=SELECT%20%3Fproper... https://database.factgrid.de/sparql?format=json&query=SELECT%20%3Fproperty%20%3FpropertyLabel%20WHERE%20%7B%0A%20%20%3Fproperty%20a%20wikibase%3AProperty%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%7D With Angular: let params = new httpParams() .set('format',"json") u= this.http.get(sparql, { params: params) works.
Le mar. 14 juin 2022 à 19:07, Finn Årup Nielsen via Wikibaseug <wikibaseug@lists.wikimedia.org mailto:wikibaseug@lists.wikimedia.org> a écrit :
Wikimedia has transferred my wikibase to https://dreams.wikibase.cloud <https://dreams.wikibase.cloud> I have been trying to access the data in the SPARQL server via Javascript but run into the problem of cross-site scripting "CORS Missing Allow Origin". I have but up a ticket on the phabricator at https://phabricator.wikimedia.org/T310614 <https://phabricator.wikimedia.org/T310614> I do not know when or if it is going to be resolved and wonder if there are anyone that have had a similar problem and would know a workaround? best regards Finn Årup Nielsen _______________________________________________ Wikibaseug mailing list -- wikibaseug@lists.wikimedia.org <mailto:wikibaseug@lists.wikimedia.org> To unsubscribe send an email to wikibaseug-leave@lists.wikimedia.org <mailto:wikibaseug-leave@lists.wikimedia.org>
Hello Finn,
this issue is under review and we're currently working to resolve it.
thanks for reporting it.
Cheers,
-Mohammed
On Tue, Jun 14, 2022 at 7:07 PM Finn Årup Nielsen via Wikibaseug < wikibaseug@lists.wikimedia.org> wrote:
Wikimedia has transferred my wikibase to https://dreams.wikibase.cloud
I have been trying to access the data in the SPARQL server via Javascript but run into the problem of cross-site scripting "CORS Missing Allow Origin".
I have but up a ticket on the phabricator at https://phabricator.wikimedia.org/T310614
I do not know when or if it is going to be resolved and wonder if there are anyone that have had a similar problem and would know a workaround?
best regards Finn Årup Nielsen _______________________________________________ Wikibaseug mailing list -- wikibaseug@lists.wikimedia.org To unsubscribe send an email to wikibaseug-leave@lists.wikimedia.org
wikibaseug@lists.wikimedia.org