Hi!
We are planning to change the prefix and associated URIs in RDF representation for Wikidata from:
PREFIX wikibase: http://wikiba.se/ontology-beta#
to:
PREFIX wikibase: http://wikiba.se/ontology#
If you are using Wikidata Query Service, you do not have to do anything, as WDQS already is using the new definition.
However, if you consume RDF exports from Wikidata or RDF dumps directly, you will need to change your clients to expect the new URI scheme for Wikibase ontology. Also, if you're using Wikibase extension in your project, please be aware that the RDF URIs generated by it will use this prefix after the change. This is defined in repo/includes/Rdf/RdfVocabulary.php around line 175:
self::NS_ONTOLOGY => self::ONTOLOGY_BASE_URI . "#",
The new data will have schema:softwareVersion "1.0.0" triple on the dataset node[1], which will allow your software to distinguish the new data format from the old one.
The task tracking the change is https://phabricator.wikimedia.org/T112127. I will make another announcement when the change is merged and deployed and the data produced by Wikidata is going to change.
Please contact me (or comment in the task) if you have any questions or concerns.
[1] https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format#Header
If you're making the change, maybe worth going to https: as it'll be painful to do later?
On Wed, 17 Oct 2018 at 15:22, Stas Malyshev smalyshev@wikimedia.org wrote:
Hi!
We are planning to change the prefix and associated URIs in RDF representation for Wikidata from:
PREFIX wikibase: http://wikiba.se/ontology-beta#
to:
PREFIX wikibase: http://wikiba.se/ontology#
If you are using Wikidata Query Service, you do not have to do anything, as WDQS already is using the new definition.
However, if you consume RDF exports from Wikidata or RDF dumps directly, you will need to change your clients to expect the new URI scheme for Wikibase ontology. Also, if you're using Wikibase extension in your project, please be aware that the RDF URIs generated by it will use this prefix after the change. This is defined in repo/includes/Rdf/RdfVocabulary.php around line 175:
self::NS_ONTOLOGY => self::ONTOLOGY_BASE_URI . "#",
The new data will have schema:softwareVersion "1.0.0" triple on the dataset node[1], which will allow your software to distinguish the new data format from the old one.
The task tracking the change is https://phabricator.wikimedia.org/T112127. I will make another announcement when the change is merged and deployed and the data produced by Wikidata is going to change.
Please contact me (or comment in the task) if you have any questions or concerns.
[1] https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format#Header -- Stas Malyshev smalyshev@wikimedia.org
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Hi!
If you're making the change, maybe worth going to https: as it'll be painful to do later?
Please see https://phabricator.wikimedia.org/T153563 where it was discussed. In general, there's no reason to use https for ontology URIs, as ontology URIs do not have any data in them and accessing them would not be very useful.
Hi!
We are planning to change the prefix and associated URIs in RDF representation for Wikidata from:
PREFIX wikibase: http://wikiba.se/ontology-beta#
to:
PREFIX wikibase: http://wikiba.se/ontology#
The change has been implemented now, and RDF data is generated without the beta prefix. Please tell me if you notice any problems or have any questions.