Produce RDF dump of all categories and subcategories in a wiki.
authorStanislav Malyshev <smalyshev@gmail.com>
Fri, 16 Dec 2016 22:48:46 +0000 (14:48 -0800)
committerStanislav Malyshev <smalyshev@gmail.com>
Mon, 28 Aug 2017 07:30:35 +0000 (00:30 -0700)
commitd9bb673b72f4c5ff1b2ef982e05c1e4da81feb26
tree6b2c4baa1e820e01d19ad9303c70631aeb32684a
parentc3666b91f3f497b54e71c470b4493dce57712bbe
Produce RDF dump of all categories and subcategories in a wiki.

Example:
http://en.wiki.local.wmftest.net:8080/wiki/Category:Ducks> a mediawiki:Category ;
        rdfs:label "Ducks" ;
        mediawiki:isInCategory <http://en.wiki.local.wmftest.net:8080/wiki/Category:Birds> .

Bug: T157676
Change-Id: I59b9603581b37af59d17dd6c38247c85aee44911
autoload.php
composer.json
docs/ontology.owl [new file with mode: 0644]
includes/CategoriesRdf.php [new file with mode: 0644]
maintenance/dumpCategoriesAsRdf.php [new file with mode: 0644]
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/data/categoriesrdf/categoriesRdf-out.nt [new file with mode: 0644]
tests/phpunit/maintenance/categoriesRdfTest.php [new file with mode: 0644]