| seav created this task. seav added a project: Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. |
TASK DESCRIPTION
When I run the following curl command against WDQS to retrieve a Wikipedia sitelink URL in CSV format, I get the Wikipedia URL. However the CSV format is wrong because the URL should be quoted due to the comma inside the URL.
curl -d "query=SELECT%20%3Furl%20WHERE%7Bwd%3AQ54860599%20wdt%3AP547%20%3Fcom.%3Furl%20schema%3Aabout%20%3Fcom%3Bschema%3AisPartOf%3Chttps%3A//en.wikipedia.org/%3E%7D" -X POST -H "Accept: text/csv" https://query.wikidata.org/sparql
As far as I can tell, all other types of data such as Wikidata labels and monolingual text values are properly quoted.
TASK DETAIL
EMAIL PREFERENCES
To: seav
Cc: seav, Aklapper, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
Cc: seav, Aklapper, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
