Hi,
I just noticed a bug in the RDF live exports of Wikidata: they still use the base URI http://wikiba.se/ontology-beta# for all Wikidata vocabulary terms. The correct base URI would be http://wikiba.se/ontology#. I guess this has been forgotten and never got noticed yet (not sure if there are consumers of the live exports).
The SPARQL query service uses the correct URIs in its example queries and data. The URIs in the ontology documents at wikiba.se are also correct, so this only seems to affect the PHP code.
Cheers,
Markus
[1] wikiba.se/ontology
Hi!
I just noticed a bug in the RDF live exports of Wikidata: they still use the base URI http://wikiba.se/ontology-beta# for all Wikidata vocabulary terms. The correct base URI would be http://wikiba.se/ontology#. I guess this has been forgotten and never got noticed yet (not sure if there are consumers of the live exports).
It's not forgotten - in fact, we have an issue for that, https://phabricator.wikimedia.org/T112127 - but we never got to defining the point when we do it. One can argue RDF mapping is still not complete - we do not support units fully, and we may have to add stuff for geo-coordinates too - but one can argue it's good enough to be 1.0 and I'd agree with it. But we need to take decision on this. Please feel free to also comment on the task.
On 08.02.2016 19:35, Stas Malyshev wrote:
Hi!
I just noticed a bug in the RDF live exports of Wikidata: they still use the base URI http://wikiba.se/ontology-beta# for all Wikidata vocabulary terms. The correct base URI would be http://wikiba.se/ontology#. I guess this has been forgotten and never got noticed yet (not sure if there are consumers of the live exports).
It's not forgotten - in fact, we have an issue for that, https://phabricator.wikimedia.org/T112127 - but we never got to defining the point when we do it. One can argue RDF mapping is still not complete
- we do not support units fully, and we may have to add stuff for
geo-coordinates too - but one can argue it's good enough to be 1.0 and I'd agree with it. But we need to take decision on this. Please feel free to also comment on the task.
My two points on this matter are:
(1) Whatever we do, the same thing should use the same URI in SPARQL results and live exports. (2) It is better to version ontology documents rather than the URIs themselves. Otherwise everybody will have to change all of their queries (in wiki pages, in code, in their heads, ...) once we get out of beta ;-)
Cheers,
Markus
On 08.02.2016 19:35, Stas Malyshev wrote:
Hi!
I just noticed a bug in the RDF live exports of Wikidata: they still use the base URI http://wikiba.se/ontology-beta# for all Wikidata vocabulary terms. The correct base URI would be http://wikiba.se/ontology#. I guess this has been forgotten and never got noticed yet (not sure if there are consumers of the live exports).
It's not forgotten - in fact, we have an issue for that, https://phabricator.wikimedia.org/T112127 - but we never got to defining the point when we do it. One can argue RDF mapping is still not complete
- we do not support units fully, and we may have to add stuff for
geo-coordinates too - but one can argue it's good enough to be 1.0 and I'd agree with it. But we need to take decision on this. Please feel free to also comment on the task.
My two points on this matter are:
(1) Whatever we do, the same thing should use the same URI in SPARQL results and live exports. (2) It is better to version ontology documents rather than the URIs themselves. Otherwise everybody will have to change all of their queries (in wiki pages, in code, in their heads, ...) once we get out of beta.
Cheers,
Markus