Page MenuHomePhabricator

Provide RDF mapping for "tabular data" data type.
Closed, ResolvedPublic

Description

Event Timeline

Change 359132 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/extensions/Wikibase@master] Provide RDF mapping for "tabular data" data type.

https://gerrit.wikimedia.org/r/359132

thiemowmde removed a project: Patch-For-Review.
thiemowmde moved this task from Review to Done on the Wikidata-Former-Sprint-Board board.

Change 359132 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Provide RDF mapping for "tabular data" data type.

https://gerrit.wikimedia.org/r/359132

Do i understand it correctly that the the rdf part is now hardcoded to Commons (using COMMONS_DATA_URI) even though the config allows for other sites to be used (everywhere but the rdf)? If so that seems like a bug.

This is by contrast with commons-media which is hard coded to commons throughout.

@Lokal_Profil I believe you're right. This should be configurable. Or am I wrong @daniel?
Isn't there a ticket for this somewhere actually?

@WMDE-leszek Yes, the base URIs for geo shapes, tabular data, and also for media files, should be made configurable eventually. But I think it's ok for a first iteration to have them hardcoded.

@Smalyshev no, T161991: Whether a data type should be treated as a reference type in RDF should be defined in WikibaseRepo.datatypes.php is about an extension point for marking data types as RDF object properties.

@WMDE-leszek Yes, the base URIs for geo shapes, tabular data, and also for media files, should be made configurable eventually. But I think it's ok for a first iteration to have them hardcoded.

But isn't the difference that two shapes + tabular data is configurable everywhere except in the red whereas media files are not yet configurable anywhere.

My worry is that if you run a Wikibase installation with e.g. geo shapes set up to point to a wiki other then Commons then your rdf will be broken.

FWIW, I've filed T172175 so it does not get forgotten and gets fixed at some point.