Page MenuHomePhabricator

Set up proper prefix configuration for RDF export on Commons
Closed, ResolvedPublic

Description

Right now Commons are able to produce RDF, but prefixes are all wrong:

wdata:M40538870 a schema:Dataset ;
	schema:about wd:M40538870 ;
...
wd:M40538870 p-d:P180 wds:M40538870-D3B1F1D8-C2E4-4C7B-B562-721D6C94CF25 .

wds:M40538870-D3B1F1D8-C2E4-4C7B-B562-721D6C94CF25 a wikibase:Statement ;
	wikibase:rank wikibase:NormalRank ;
	ps-d:P180 wd-d:Q818891 .

Instead, it should be:

sdcdata:M40538870 a schema:Dataset ;
	schema:about sdc:M40538870 ;
...
sdc:M40538870 p:P180 sdcs:M40538870-D3B1F1D8-C2E4-4C7B-B562-721D6C94CF25 .

sdcs:M40538870-D3B1F1D8-C2E4-4C7B-B562-721D6C94CF25 a wikibase:Statement ;
	wikibase:rank wikibase:NormalRank ;
	ps:P180 wd:Q818891 .

Note that underlying URIs are good, just the prefix names are wrong. We need to set up configs so that they are correct.

Event Timeline

Smalyshev renamed this task from Set up proper configuration for RDF export on Commons to Set up proper prefix configuration for RDF export on Commons.Aug 20 2019, 11:00 PM
Smalyshev created this task.

Change 531317 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[operations/mediawiki-config@master] Setup RDF configuration for Commons Beta with correct prefixes

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

Smalyshev triaged this task as Medium priority.Aug 21 2019, 3:27 AM

Change 531317 abandoned by DCausse:
[operations/mediawiki-config@master] Setup RDF configuration for Commons Beta with correct prefixes

Reason:
superseded by https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/ /609987/9

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

Now that the only patch tied to this ticket has been abandoned, and now that the Commons Query Service beta uses the sdc: prefix, can this ticket be closed?