*(apologies for cross posting)* Hello,
This significant change announcement is potentially relevant to those working with Wikidata RDF <https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format> output from the Linked Data Interface <https://www.wikidata.org/wiki/Wikidata:Data_access#Linked_Data_Interface_(URI)> (Special:EntityData) or the RDF dumps <https://www.wikidata.org/wiki/Wikidata:Database_download#RDF_dumps>. (Note: The Query Service is not affected.) What’s Changing? Currently, Wikidata and WDQS use different prefixes for RDF URIs related to statements <http://www.wikidata.org/entity/statement/>, references <http://www.wikidata.org/reference/>, and value nodes <http://www.wikidata.org/value/>, leading to confusion when writing queries. - Wikidata uses: s:, ref: and v: - WDQS uses: wds:, wdref: and wdv: To ensure consistency and simplify query writing, we are aligning Wikidata RDF output with WDQS by updating the prefixes: - s: → wds: - ref: → wdref: - v: → wdv: When is this happening? These changes will be deployed on 3 March. They are already live on Test Wikidata <https://test.wikidata.org/> for you to try out. Example Change Part of the .ttl output for Q42 <https://www.wikidata.org/wiki/Special:EntityData/Q42.ttl> will change from: -- @prefix s: <http://www.wikidata.org/entity/statement/> . @prefix ref: <http://www.wikidata.org/reference/> . @prefix v: <http://www.wikidata.org/value/> . s:Q42-D6E21D67-05D6-4A0B-8458-0744FCEED13D pqv:P580 v:811f31244f158332fb4f1e13ae9f4d50 ; prov:wasDerivedFrom ref:ebf92afc2ec3ffcf1aec1d55f0b066d190281576 . -- to: -- @prefix wds: <http://www.wikidata.org/entity/statement/> . @prefix wdref: <http://www.wikidata.org/reference/> . @prefix wdv: <http://www.wikidata.org/value/> . wds:Q42-D6E21D67-05D6-4A0B-8458-0744FCEED13D pqv:P580 wdv:811f31244f158332fb4f1e13ae9f4d50 ; prov:wasDerivedFrom wdref:ebf92afc2ec3ffcf1aec1d55f0b066d190281576 . -- Will this affect you? If you parse the Wikidata RDF output with a proper RDF parser, this change should have no effect on you: the RDF parser should resolve the prefix, and the resulting URIs will not change. If you parse the RDF output differently, you may have to make adjustments. Temporary Impact on Query Service As part of the deployment of this change, the Wikidata Query Service may also temporarily exhibit some inconsistent results around “unknown value” statements (as the internal hashes used to represent them in RDF will change). This will be resolved with a full data reload (see T386098 <https://phabricator.wikimedia.org/T386098>). If you have any questions, feel free to leave a comment on T384344 <https://phabricator.wikimedia.org/T384344>. Cheers, -- Mohammed S. Abdulai *Community Communications Manager, Wikidata* Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin Phone: +49 (0) 30 577 116 2466 https://wikimedia.de Grab a spot in my calendar for a chat: cal.com/masssly. A lot is happening around Wikidata - Keep up to date! <https://www.wikidata.org/wiki/Wikidata:Status_updates> Current news and exciting stories about Wikimedia, Wikipedia and Free Knowledge in our newsletter (in German): Subscribe now <https://www.wikimedia.de/newsletter/> . Imagine a world in which every single human being can freely share in the sum of all knowledge. Help us to achieve our vision! https://spenden.wikimedia.de Wikimedia Deutschland — Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Charlottenburg, VR 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207. Geschäftsführende Vorstände: Franziska Heine, Dr. Christian Humborg
_______________________________________________ Wikidata mailing list -- [email protected] Public archives at https://lists.wikimedia.org/hyperkitty/list/[email protected]/message/TPX73QIWUHKSCPPXP6WDRGJA4IFWDIQI/ To unsubscribe send an email to [email protected]
