Create update SPARQL for category changes
authorStanislav Malyshev <smalyshev@gmail.com>
Tue, 22 Aug 2017 00:05:53 +0000 (17:05 -0700)
committerStanislav Malyshev <smalyshev@gmail.com>
Fri, 20 Apr 2018 23:40:35 +0000 (16:40 -0700)
commitbc9e1a086e3933902633dc54f7aecd7d47fddcb9
treeea56ba758da5d04e37ce48467f217df1fe8519e0
parent248dae37e7d8da1f7748395d0b0b9973e520d95b
Create update SPARQL for category changes

This script creates SPARQL UPDATE statements for changes in a given time
period. These statements can be applied to an existing database to
update it.

See tests for examples of how the statements look like.

Bug: T173774
Change-Id: I9867ad566c0619b55a48a011bd3c55321b1bfcff
autoload.php
maintenance/categoryChangesAsRdf.php [new file with mode: 0644]
tests/phpunit/data/categoriesrdf/change.sparql [new file with mode: 0644]
tests/phpunit/data/categoriesrdf/delete.sparql [new file with mode: 0644]
tests/phpunit/data/categoriesrdf/move.sparql [new file with mode: 0644]
tests/phpunit/data/categoriesrdf/new.sparql [new file with mode: 0644]
tests/phpunit/data/categoriesrdf/restore.sparql [new file with mode: 0644]
tests/phpunit/data/categoriesrdf/updatets.txt [new file with mode: 0644]
tests/phpunit/maintenance/categoryChangesRdfTest.php [new file with mode: 0644]