Maintenance script "removeDuplicateEntities.php" example (no parameter)

From semantic-mediawiki.org
< Maintenance script "remove­Duplicate­Entities.php"
Maintenance script "remove­Duplicate­Entities.php"Maintenance script "removeDuplicateEntities.php" example (no parameter)

The following command verbosely removes all duplicate entities with no reference in any other table from the entity table.

Shell command
php removeDuplicateEntities.php -v
Prompt shown
The script will only dispose of those duplicate entities that have no active
references. The log section 'untouched' contains IDs that have not been
removed and the user is asked to verify the content and manually remove
those listed entities.

Found: 1 duplicates

.

Log
{
    "disposed": {
        "21692": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "21843": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "21881": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "22049": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "22079": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "22303": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "22333": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "22561": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "22602": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24115": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24130": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24162": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24377": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24412": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24450": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24497": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24526": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24568": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24663": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24684": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24724": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24767": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24791": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "24819": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "25589": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "25690": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "25842": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "26005": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "26118": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "27177": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "27324": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "27477": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        },
        "32075": {
            "smw_title": "This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_by_Semantic_MediaWiki._For_a_comprehensive_description_on_how_to_use_annotations_or_the",
            "smw_namespace": "0",
            "smw_iw": "",
            "smw_subobject": "ask_parser_function,_please_have_a_look_at_the_getting_started,_in-text_annotation,_or_inline_queries_help_page.This_page_supports_semantic_in-text_annotations_(e.g._\"Is_specified_asWorld_Heritage_Site\")_to_build_structured_and_queryable_content_provided_"
        }
    },
    "untouched": []
}