Maintenance script "dumpRDF.php"
(Redirected from Maintenance script "dumpRDF.php")
|Allows to do an RDF export of existing triples|
|Provided by:||Semantic MediaWiki|
|Removed:||still in use|
|Table of Contents|
The "dumpRDF.php" maintenance script allows to export RDF triples.
Semantic MediaWiki 3.2.0Released on 7 September 2020 and compatible with MW 1.31.0 - 1.35.x. brought an improved client output to this maintenance script.1
This maintenance script deprecated the former "SMW_dumpRDF.php" script starting with Semantic MediaWiki 1.9.2Released on 18 April 2014 and compatible with MW 1.19.0 - 1.22.x. which was removed with the release of Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x. in October 2018.
php dumpRDF.php [--file|--categories|--classes|--concepts|--types|--individuals|--page|--properties|--d|--e]
This only shows the script specific parameters.
Maintenance scripts provide generic maintenance parameters, script dependent parameters and depending on the maintenance script script specific parameters which are described on this page if provided.
- Script specific parameters
||Export into output file, stdout is used if omitted; file output is generally better and strongly recommended for large wikis.|
||Export only categories.|
||Export only concepts.|
||Export only concepts and categories.|
||Export only properties.|
||Export only data types.|
||Export only pages that are no categories, properties, or types.|
||Export only namespaces included in <namespacelist> Example: |
||Export only pages included in the <pagelist> with | being used as a separator. Options |
||Wait for this many milliseconds after processing an article. Useful for limiting server load.|
||Retire after the given number of exported entities.|
- The following command exports all pages into the given file with a delay of 50 ms between every exported item.
php dumpRDF.php --file MyWiki.rdf -d 50
- The following command exports the pages "Page 1", "Page 2" and "Page 3".
php dumpRDF.php --page "Page 1|Page 2|Page 3"
- ^ Semantic MediaWiki: GitHub pull request gh:smw:4734
- ^ gh:smw:5032
- ^ Semantic MediaWiki: GitHub pull request gh:smw:620