I noticed the following Apache config in production:
Alias /wiki /srv/mediawiki/docroot/wikidata.org/w/index.php Alias /ontology /srv/mediawiki/docroot/wikidata.org/w/extensions/Wikibase/docs/ontology.owl
This alias doesn't actually work because Wikibase isn't installed in production, instead it comes as part of Wikidata (extensions/Wikidata/extensions/Wikibase). This is presumably a left-over from an early beta from before that was changed.
https://www.wikidata.org/ontology https://www.wikidata.org/w/extensions/Wikibase/docs/ontology.owl
The correct url destination would be https://www.wikidata.org/w/extensions/Wikidata/extensions/Wikibase/docs/ontology.owl, however that doesn't work either because owl is not a whitelisted file-type.
Looking further it seems that most references to this concept in XML files actually use http://wikiba.se/ontology not wikidata.org, although there are a few references to http://www.wikidata.org/ontology on the web.
In fact, using Google, I find 1,800 references to wikiba.se/ontology, 4,000 references to www.wikidata.org/ontology, and over 12,000 references to wikidata.org/ontology.
- Has the canonical url moved to wikiba.se?
- Is this a left-over that should be removed?
See also:
- T166299: Figure out a process to keep the Wikibase ontology and documentation in sync
- T112127: [Story] Move RDF ontology from beta to release status
- T112042: [Story] http://wikiba.se/ontology should lead to documentation for the ontology
- T99820: [Task] Add reference to ontology.owl to the RDF output