User:DeltaBot/fixClaims/jobs

[   {        "p": "P10", "name": "P10commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P10 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P14", "name": "P14commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P14 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P15", "name": "P15commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P15 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "name": "P17change", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q5; wdt:P17 []; wdt:P569 ?birth . FILTER(YEAR(?birth) \u003E 1850) }", "action": "changeProperty", "pOld": "P17", "pNew": "P27" },   {        "p": "P17", "name": "P17move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P17 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P18", "name": "P18commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P18 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P18", "name": "P18commons2", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P18 ?value . FILTER( REGEX(STR(?value), '^http://commons\\\\.wikimedia\\\\.org/wiki/Special:FilePath/[a-z]') = true)}", "action": "normalize" },   {        "p": "P21", "name": "P21changeclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P21 ?value . FILTER( ?value IN (wd:Q8441, wd:Q467))}", "action": "changeValue", "map": { "8441": 6581097,           "467": 6581072        }    },    {        "p": "P21", "name": "P21addclaim1", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q467}", "action": "addClaim", "pNew": "P21", "valNew": "Q6581072" },   {        "p": "P21", "name": "P21addclaim2", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q8441}", "action": "addClaim", "pNew": "P21", "valNew": "Q6581097" },   {        "p": "P22", "name": "P22inverse", "query": "SELECT DISTINCT ?item { ?item wdt:P22 ?item2 . MINUS { ?item2 p:P40/ps:P40/owl:sameAs? ?item } . ?item wdt:P25 [ p:P26/ps:P26 ?item2 ]}", "action": "inverse", "pNewT": "P40" },   {        "p": "P25", "name": "P25inverse", "query": "SELECT DISTINCT ?item { ?item wdt:P25 ?item2 . MINUS { ?item2 p:P40/ps:P40/owl:sameAs? ?item } . ?item wdt:P22 [ p:P26/ps:P26 ?item2 ]}", "action": "inverse", "pNewT": "P40" },   {        "p": "P26", "name": "P26inverse", "query": "SELECT DISTINCT ?item WHERE { ?item p:P26/ps:P26 ?item2 . MINUS { ?item2 p:P26/ps:P26/owl:sameAs? ?item } . ?item2 wdt:P40/^wdt:P40 ?item; wdt:P21/wdt:P461/^wdt:P21 ?item .}", "action": "inverse", "pNewT": "P26" },   {        "p": "P26", "name": "P26movequalifiers", "query": "SELECT DISTINCT ?item WHERE { ?item p:P26/pq:P276 [] }", "action": "changeQualifierProperty", "pOld": "P276", "pNew": "P2842" },   {        "p": "P27", "name": "P27changeclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P27 wd:Q55; wdt:P569 ?dob . FILTER ( ?dob \u003E= '1816-01-01T00:00:00Z'^^xsd:dateTime )}", "action": "changeValue", "map": { "55": 29999       }    },    {        "p": "P27", "name": "P27changeclaim2", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P27 wd:Q2324858. }", "action": "changeValue", "map": { "2324858": 16957       }    },    {        "p": "P30", "name": "P30changeclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P30 ?value . FILTER( ?value IN (wd:Q1555938))}", "action": "changeValue", "map": { "1555938": 51       }    },    {        "p": "P31", "name": "P31changeclaim", "query": "SELECT DISTINCT ?item WHERE {?item wdt:P31 ?value . FILTER ( ?value IN (wd:Q215627, wd:Q467, wd:Q8441, wd:Q171283))}", "action": "changeValue", "map": { "215627": 5,           "467": 5,            "8441": 5,            "171283": 5,            "823310": 5,            "27921626": 5,            "24228819": 5        }    },    {        "p": "P31", "name": "P31movequalifiers", "query": "SELECT DISTINCT ?item WHERE { ?item p:P31 [ ps:P31 wd:Q17362920; pq:P460 [] ] }", "action": "changeQualifierProperty", "pOld": "P460", "pNew": "P642", "constraintvalue": [ {               "type": "oneof", "values": [ "Q17362920" ]           }        ]    },    {        "p": "P39", "name": "P39movequalifiers1", "query": "SELECT DISTINCT ?item WHERE { ?item p:P39/pq:P155 []}", "action": "changeQualifierProperty", "pOld": "P155", "pNew": "P1365" },   {        "p": "P39", "name": "P39movequalifiers2", "query": "SELECT DISTINCT ?item WHERE { ?item p:P39/pq:P156 []}", "action": "changeQualifierProperty", "pOld": "P156", "pNew": "P1366" },   {        "p": "P39", "name": "P39move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P39 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P41", "name": "P41commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P41 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P50", "name": "P50change", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P31/wdt:P279* wd:Q95074; wdt:P50 [] }", "action": "changeProperty", "pOld": "P50", "pNew": "P170" },   {        "p": "P81", "name": "P81move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P81 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P94", "name": "P94commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P94 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P101", "name": "P101move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P101 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P102", "name": "P102move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P102 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P105", "name": "P105changeclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P105 ?value . FILTER( ?value IN (wd:Q8436))}", "action": "changeValue", "map": { "8436": 35409       }    },    {        "name": "P106addclaim1", "query": "SELECT ?item WHERE { ?item wdt:P1412 wd:Q143; wdt:P31 wd:Q5 MINUS { ?item p:P106/ps:P106 wd:Q860918 } }", "action": "addClaim", "pNew": "P106", "valNew": "Q860918" },   {        "name": "P106addclaim2", "query": "SELECT ?item WHERE { ?item wdt:P1412 wd:Q35224; wdt:P31 wd:Q5 MINUS { ?item p:P106/ps:P106 wd:Q27496075 } }", "action": "addClaim", "pNew": "P106", "valNew": "Q27496075" },   {        "p": "P106", "name": "P106changeValue", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P21 wd:Q6581097; wdt:P106 wd:Q322170 }", "action": "changeValue", "map": { "322170": 27532437       }    },    {        "p": "P108", "name": "P108move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P108 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P109", "name": "P109commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P109 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P131", "name": "P131conflict", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P131 []; wdt:P31 wd:Q4830453 . MINUS { ?item wdt:P159 [] } }", "action": "changeProperty", "pOld": "P131", "pNew": "P159", "constraint": [ {               "type": "item", "p": "P31", "values": "Q4830453" }       ]    },    {        "p": "P131", "name": "P131move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P131 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P143", "name": "P143move", "query": "SELECT DISTINCT ?item WHERE{ ?item ?st ?statement . ?statement pq:P143 []}", "action": "moveQualifierToSource" },   {        "p": "P154", "name": "P154commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P154 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P155", "name": "P155move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P155 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P156", "name": "P156move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P156 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P158", "name": "P158move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P158 ?value . FILTER(REGEX(STR(?value), 'C[Oo]A|[Cc]oat%20of%20[Aa]rms|[Ee]scudo|[Ee]scut|[Bb]la[zs]on|Wappen') = true ) }", "action": "changeProperty", "pOld": "P158", "pNew": "P94", "constraintvalue": [ {               "type": "format", "regex": "(.*)(C[Oo]A|[Cc]oat of [Aa]rms|[Ee]scudo|[Ee]scut|[Bb]la[zs]on|Wappen)(.*)" }       ]    },    {        "p": "P158", "name": "P158move2", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P158 ?value . FILTER(REGEX(STR(?value), '[Ss]tandard%20of') = true ) }", "action": "changeProperty", "pOld": "P158", "pNew": "P41", "constraintvalue": [ {               "type": "format", "regex": "(.*)([Ss]tandard of)(.*)" }       ]    },    {        "p": "P175", "name": "P175inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q1371849; wdt:P175 ?value . MINUS { ?value wdt:P1283/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P1283", "constrainttarget": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P185", "name": "P185inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P185 ?value; wdt:P31 wd:Q5 . ?value wdt:P31 wd:Q5 . MINUS { ?value wdt:P184/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P184" },   {        "p": "P197", "name": "P197movequalifiers", "query": "SELECT DISTINCT ?item WHERE { ?item p:P197/pq:P560/wdt:P31/wdt:P279* wd:Q719456 . MINUS { ?item p:P197/pq:P560/wdt:P31/wdt:P279* wd:Q2151613 } }", "action": "changeQualifierProperty", "pOld": "P560", "pNew": "P5051" },   {        "p": "P212", "name": "P212format", "query": "SELECT DISTINCT ?item ?value WHERE { ?item wdt:P212 ?value . FILTER( REGEX(STR(?value), '^(97[89]-([0-57]-(\\\\d-\\\\d{7}|\\\\d\\\\d-\\\\d{6}|\\\\d{3}-\\\\d{5}|\\\\d{4}-\\\\d{4}|\\\\d{5}-\\\\d{3}|\\\\d{6}-\\\\d\\\\d|\\\\d{7}-\\\\d)|8\\\\d-(\\\\d-\\\\d{6}|\\\\d\\\\d-\\\\d{5}|\\\\d{3}-\\\\d{4}|\\\\d{4}-\\\\d{3}|\\\\d{5}-\\\\d\\\\d|\\\\d{6}-\\\\d)|6\\\\d{2}-(\\\\d-\\\\d{5}|\\\\d\\\\d-\\\\d{4}|\\\\d{3}-\\\\d{3}|\\\\d{4}-\\\\d\\\\d|\\\\d{5}-\\\\d)|9([0-8]\\\\d-(\\\\d-\\\\d{5}|\\\\d\\\\d-\\\\d{4}|\\\\d{3}-\\\\d{3}|\\\\d{4}-\\\\d\\\\d|\\\\d{5}-\\\\d)|9([0-8]\\\\d-(\\\\d-\\\\d{4}|\\\\d\\\\d-\\\\d{3}|\\\\d{3}-\\\\d\\\\d|\\\\d{4}-\\\\d)|9\\\\d{2}-(\\\\d-\\\\d{3}|\\\\d\\\\d-\\\\d\\\\d|\\\\d{3}-\\\\d))))-\\\\d|)$') = false )}", "action": "format", "subaction": "isbn", "regex": "^(97[89]-([0-57]-(\\d-\\d{7}|\\d\\d-\\d{6}|\\d{3}-\\d{5}|\\d{4}-\\d{4}|\\d{5}-\\d{3}|\\d{6}-\\d\\d|\\d{7}-\\d)|8\\d-(\\d-\\d{6}|\\d\\d-\\d{5}|\\d{3}-\\d{4}|\\d{4}-\\d{3}|\\d{5}-\\d\\d|\\d{6}-\\d)|6\\d{2}-(\\d-\\d{5}|\\d\\d-\\d{4}|\\d{3}-\\d{3}|\\d{4}-\\d\\d|\\d{5}-\\d)|9([0-8]\\d-(\\d-\\d{5}|\\d\\d-\\d{4}|\\d{3}-\\d{3}|\\d{4}-\\d\\d|\\d{5}-\\d)|9([0-8]\\d-(\\d-\\d{4}|\\d\\d-\\d{3}|\\d{3}-\\d\\d|\\d{4}-\\d)|9\\d{2}-(\\d-\\d{3}|\\d\\d-\\d\\d|\\d{3}-\\d))))-\\d|)$" },   {        "p": "P213", "name": "P213format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P213 ?value . FILTER( REGEX(STR(?value), '^(0000 000[0-4] \\\\d{4} \\\\d{3}[\\\\dX])$') = false )}", "action": "format", "subaction": "isniformat", "regex": "0000 000[0-4] \\d{4} \\d{3}[\\dX]" },   {        "p": "P213", "name": "P213move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P213 ?value . FILTER(REGEX(STR(?value), '^[A-Z]{2}[A-Z0-9]{10}$') = true ) }", "action": "changeProperty", "pOld": "P213", "pNew": "P946", "constraintvalue": [ {               "type": "format", "regex": "[A-Z]{2}[A-Z0-9]{10}" }       ]    },    {        "p": "P227", "name": "P227viaf", "query": "SELECT DISTINCT ?item WHERE{ ?item wdt:P227 ?value; wdt:P214 ?viaf . FILTER(!REGEX(?value, '^(1|1[01])\\\\d{7}[0-9X]|[47]\\\\d{6}-\\\\d|[1-9]\\\\d{0,7}-[0-9X]|3\\\\d{7}[0-9X]$'))}", "action": "viaf", "regex": "(1|1[01])\\d{7}[0-9X]|[47]\\d{6}-\\d|[1-9]\\d{0,7}-[0-9X]|3\\d{7}[0-9X]", "viafkey": "DNB|" },   {        "p": "P234", "name": "P234move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P234 ?value . FILTER(REGEX(STR(?value), '^[A-Z]{14}-[A-Z]{10}-[A-Z]$') = true ) }", "action": "changeProperty", "pOld": "P234", "pNew": "P235", "constraintvalue": [ {               "type": "format", "regex": "[A-Z]{14}-[A-Z]{10}-[A-Z]" }       ]    },    {        "p": "P235", "name": "P235move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P235 ?value . FILTER(REGEX(STR(?value), '^1S/([0-9]*[A-Z][ub]?[a-z]?[0-9]*\\\\.?)+(/[A-Za-z0-9+\\\\-,.*;?]+)*$') = true ) }", "action": "changeProperty", "pOld": "P235", "pNew": "P234", "constraintvalue": [ {               "type": "format", "regex": "1S/([0-9]*[A-Z][ub]?[a-z]?[0-9]*\\.?)+(/[A-Za-z0-9+\\-,.*;?]+)*" }       ]    },    {        "p": "P242", "name": "P242commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P242 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P244", "name": "P244viaf", "query": "SELECT DISTINCT ?item WHERE{ ?item wdt:P244 ?value; wdt:P214 ?viaf . FILTER(!REGEX(?value, '^(n|nb|nr|no|ns|sh)([4-9][0-9]|00|20[0-1][0-9])[0-9]{6}$'))}", "action": "viaf", "regex": "(n|nb|nr|no|ns|sh)([4-9][0-9]|00|20[0-1][0-9])[0-9]{6}", "viafkey": "LC|" },   {        "name": "P245appendSource1", "pNew": "P245", "query": "SELECT DISTINCT ?item WHERE { ?item ?prop [prov:wasDerivedFrom ?ref]. ?ref pr:P854 ?refURL . MINUS { ?ref pr:P245 []. } FILTER REGEX(STR(?refURL), '^https?://(vocab.getty.edu/(page/)?ulan/|www.getty.edu/vow/ULANFullDisplay.*?\u0026subjectid=)')} LIMIT 500", "regex": "https?://(?:vocab.getty.edu/(?:page/)?ulan/|www.getty.edu/vow/ULANFullDisplay.*?\u0026subjectid=)(.*)", "pattern": "\\1", "action": "appendSource" },   {        "name": "P245appendSource2", "pNew": "P248", "query": "SELECT DISTINCT ?item WHERE { ?item ?prop [ prov:wasDerivedFrom ?ref ]. ?ref pr:P245 []. MINUS { ?ref pr:P248 wd:Q2494649. } }", "regex": "https?://(vocab.getty.edu/(page/)?ulan/|www.getty.edu/vow/ULANFullDisplay.*?\u0026subjectid=)(.*)", "value": "Q2494649", "action": "appendSource" },   {        "p": "P248", "name": "P248move", "query": "SELECT DISTINCT ?item { ?statement pq:P248 [] . ?item ?p ?statement . FILTER (?p NOT IN (p:P1343, p:P747, p:P485)) }", "action": "moveQualifierToSource" },   {        "p": "P268", "name": "P268viaf", "query": "SELECT DISTINCT ?item WHERE{ ?item wdt:P268 ?value; wdt:P214 ?viaf . FILTER(!REGEX(?value, '^\\\\d{8}[0-9bcdfghjkmnpqrstvwxz]$'))}", "action": "viaf", "regex": "\\d{8}[0-9bcdfghjkmnpqrstvwxz]", "viafkey": "BNF|" },   {        "p": "P269", "name": "P269viaf", "query": "SELECT DISTINCT ?item WHERE{ ?item wdt:P269 ?value; wdt:P214 ?viaf . FILTER(!REGEX(?value, '^[0-9]{8}[0-9X]$'))}", "action": "viaf", "regex": "[0-9]{8}[0-9X]", "viafkey": "SUDOC|" },   {        "p": "P289", "name": "P289move", "query": "SELECT DISTINCT ?item WHERE{ ?item wdt:P289/wdt:P31 wd:Q2235308 }", "action": "changeProperty", "pOld": "P289", "pNew": "P31", "constraintvalue": [ {               "type": "item", "values": "Q2235308" }       ]    },    {        "p": "P301", "name": "P301addclaim", "query": "SELECT DISTINCT ?item { ?item wdt:P301 [] . MINUS { ?item wdt:P31/wdt:P279* wd:Q4167836 }}", "action": "addClaim", "pNew": "P31", "valNew": "Q4167836", "constraint": [ {               "type": "category" }       ]    },    {        "name": "P373addclaim", "query": "SELECT DISTINCT ?item { ?item ^schema:about [ schema:isPartOf \u003Chttps://commons.wikimedia.org/\u003E; schema:name ?sitelink ]. OPTIONAL { ?item p:P373 ?cat } FILTER (!BOUND(?cat)) MINUS { ?item p:P31/ps:P31 wd:Q4167836 } . FILTER( STRSTARTS( ?sitelink, 'Category:' ) ) } LIMIT 100", "action": "addClaim", "pNew": "P373", "fromSitelink": "commonswiki", "removenamespace": 1 },   {        "p": "P381", "name": "P381addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P381 []; wdt:P131+ wd:Q39 . MINUS { ?item wdt:P17 [] } }", "action": "addClaim", "pNew": "P17", "valNew": "Q39" },   {        "p": "P397", "name": "P397inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P397 ?value MINUS { ?value wdt:P398/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P398" },   {        "p": "P398", "name": "P398inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P398 ?value MINUS { ?value wdt:P397/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P397" },   {        "p": "P400", "name": "P400move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P400 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P405", "name": "P405move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P405 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P409", "name": "P409format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P409 ?value . FILTER( REGEX(STR(?value), '^([1-9][0-9]{0,11})$') = false )}", "action": "format", "subaction": "removePrefix", "regex": "[1-9][0-9]{0,11}" },   {        "p": "P425", "name": "P425conflict", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P425 ?value; wdt:P31 wd:Q5 }", "action": "changeProperty", "pOld": "P425", "pNew": "P101", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P453", "name": "P453move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P453 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P465", "name": "P465format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P465 ?value . FILTER( REGEX(STR(?value), '^([0-9A-Fa-f]{6})$') = false )}", "action": "format", "subaction": "removePrefix", "regex": "[0-9A-Fa-f]{6}" },   {        "p": "P465", "name": "P465format2", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P465 ?value . FILTER( REGEX(STR(?value), '^([0-9A-F]{6})$') = false )}", "action": "format", "subaction": "uppercase", "regex": "[0-9A-F]{6}" },   {        "p": "P509", "name": "P509move", "query": "SELECT DISTINCT ?item WHERE { VALUES ?value { wd:Q3739104 wd:Q171558 wd:Q10737 wd:Q149086 wd:Q15729048 wd:Q8454 } . ?item wdt:P509 ?value . }", "action": "changeProperty", "pOld": "P509", "pNew": "P1196", "constraintvalue": [ {               "type": "oneof", "values": [ "Q3739104", "Q171558", "Q10737", "Q149086", "Q15729048", "Q8454" ]           }        ]    },    {        "p": "P527", "name": "P527inverse", "query": "SELECT DISTINCT ?item { VALUES ?class { wd:Q3046146 wd:Q16979650 } . ?item wdt:P31/wdt:P279* ?class; wdt:P527 ?part . MINUS { ?part wdt:P361/owl:sameAs? ?item } . }", "action": "inverse", "pNewT": "P361" },   {        "p": "P536", "name": "P536addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P597 []; wdt:P31 wd:Q5 . MINUS { ?item p:P106/ps:P106 wd:Q10833314 } . MINUS { ?item p:P106/ps:P106 wd:Q18814798 } }", "action": "addClaim", "pNew": "P106", "valNew": "Q10833314", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P536", "name": "P536format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P536 ?value . FILTER( REGEX(STR(?value), '^[A-Z][A-Z0-9]{3}$') = false )}", "action": "format", "subaction": "uppercase", "regex": "[A-Z][A-Z0-9]{3}" },   {        "p": "P548", "name": "P548move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P548 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P553", "name": "P553moveFa", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q355 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P2013", "pQualifier": "P554", "valueOld": "Q355" },   {        "p": "P553", "name": "P553moveIn", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q209330 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P2003", "pQualifier": "P554", "valueOld": "Q209330" },   {        "p": "P553", "name": "P553moveTw", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q918 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P2002", "pQualifier": "P554", "valueOld": "Q918" },   {        "p": "P553", "name": "P553moveGi", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q364 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P2037", "pQualifier": "P554", "valueOld": "Q364" },   {        "p": "P553", "name": "P553moveGo", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q356 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P2847", "pQualifier": "P554", "valueOld": "Q356" },   {        "p": "P553", "name": "P553moveSn", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q333618 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P2984", "pQualifier": "P554", "valueOld": "Q333618" },   {        "p": "P553", "name": "P553moveSo", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q568769 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P3040", "pQualifier": "P554", "valueOld": "Q568769" },   {        "p": "P553", "name": "P553moveVk", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q116933 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P3185", "pQualifier": "P554", "valueOld": "Q116933" },   {        "p": "P553", "name": "P553moveMe", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q1580044 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P3835", "pQualifier": "P554", "valueOld": "Q1580044" },   {        "p": "P553", "name": "P553moveVi", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q3700238 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P3207", "pQualifier": "P554", "valueOld": "Q3700238" },   {        "p": "P553", "name": "P553moveLi", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q219523 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P3258", "pQualifier": "P554", "valueOld": "Q219523" },   {        "p": "P553", "name": "P553moveMy", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q40629 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P3265", "pQualifier": "P554", "valueOld": "Q40629" },   {        "p": "P553", "name": "P553moveFl", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q103204 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P3267", "pQualifier": "P554", "valueOld": "Q103204" },   {        "p": "P553", "name": "P553moveDa", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q769222 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P2942", "pQualifier": "P554", "valueOld": "Q769222" },   {        "p": "P553", "name": "P553moveAm", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q17988469 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P3502", "pQualifier": "P554", "valueOld": "Q17988469" },   {        "p": "P553", "name": "P553moveWd", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q2013 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P4174", "pQualifier": "P554", "valueOld": "Q2013" },   {        "p": "P553", "name": "P553moveWp", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P553 wd:Q52 }", "action": "moveQualifierToStatement", "pOld": "P553", "pNew": "P4174", "pQualifier": "P554", "valueOld": "Q52" },   {        "p": "P555", "name": "P555format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P555 ?value . FILTER( REGEX(STR(?value), '^(\\\\d+–\\\\d+)$') = false )}", "action": "format", "subaction": "dash", "regex": "\\d+–\\d+" },   {        "p": "P560", "name": "P560move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P560 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P564", "name": "P564format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P564 ?value . FILTER( REGEX(STR(?value), '^(\\\\d+–\\\\d+)$') = false )}", "action": "format", "subaction": "dash", "regex": "\\d+–\\d+" },   {        "p": "P574", "name": "P574move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P574 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P577", "name": "P577movequalifiers", "query": "SELECT DISTINCT ?item WHERE { ?item p:P577/pq:P276 [] }", "action": "changeQualifierProperty", "pOld": "P276", "pNew": "P291" },   {        "p": "P580", "name": "P580move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P580 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P582", "name": "P582move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P582 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P592", "name": "P592format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P592 ?value . FILTER( REGEX(STR(?value), '^(CHEMBL\\\\d+)$') = false )}", "action": "format", "subaction": "uppercase", "regex": "CHEMBL\\d+" },   {        "p": "P597", "name": "P597addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P597 []; wdt:P31 wd:Q5 . MINUS { ?item p:P106/ps:P106 wd:Q10833314 } . MINUS { ?item p:P106/ps:P106 wd:Q18814798 } }", "action": "addClaim", "pNew": "P106", "valNew": "Q10833314", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P599", "name": "P599addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P599 []; wdt:P31 wd:Q5 . MINUS { ?item p:P106/ps:P106 wd:Q10833314 } . MINUS { ?item p:P106/ps:P106 wd:Q18814798 } }", "action": "addClaim", "pNew": "P106", "valNew": "Q10833314", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P613", "name": "P613addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P613 [] . MINUS { VALUES ?values {wd:Q145 wd:Q179876 wd:Q9676 } . ?item p:P17/ps:P17 ?values } }", "action": "addClaim", "pNew": "P17", "valNew": "Q145" },   {        "p": "P629", "name": "P629inverse", "query": "SELECT DISTINCT ?item { ?item wdt:P629 ?item2 . FILTER ( !isBLANK(?item2) ) . MINUS { ?item2 p:P747/ps:P747/owl:sameAs? ?item }}", "action": "inverse", "pNewT": "P747" },   {        "p": "P642", "name": "P642move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P642 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P646", "name": "P646format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P646 ?value . FILTER(REGEX(STR(?value), '^(/g/[0-9a-zA-Z_]+)$') = true ) }", "action": "changeProperty", "pOld": "P646", "pNew": "P2671", "constraintvalue": [ {               "type": "format", "regex": "/g/[0-9a-zA-Z_]+" }       ]    },    {        "p": "P670", "name": "P670move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P670 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P675", "name": "P675format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P675 ?value . FILTER( REGEX(STR(?value), '^([0-9a-zA-Z_\\\\-]{12})$') = false )}", "action": "format", "subaction": "removeSuffix", "regex": "[0-9a-zA-Z_\\-]{12}" },   {        "p": "P677", "name": "P677addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P677 [] . MINUS { ?item p:P17/ps:P17 wd:Q213 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q213" },   {        "p": "P691", "name": "P691viaf", "query": "SELECT DISTINCT ?item WHERE{ ?item wdt:P691 ?value; wdt:P214 [] . FILTER(!REGEX(?value, '^[a-z]{2,4}[0-9]{2,14}$'))}", "action": "viaf", "regex": "[a-z]{2,4}[0-9]{2,14}", "viafkey": "NKC|" },   {        "p": "P709", "name": "P709addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P709 [] . MINUS { ?item p:P17/ps:P17 wd:Q145 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q145" },   {        "p": "P715", "name": "P715format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P715 ?value . FILTER( REGEX(STR(?value), '^((SALT[0-9])?[0-9]{5})$') = false )}", "action": "format", "subaction": "removePrefix", "regex": "(SALT[0-9])?[0-9]{5}" },   {        "p": "P723", "name": "P723format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P723 ?value . FILTER( REGEX(STR(?value), '^([a-z_]{4}[0-9]{3})$') = false )}", "action": "format", "subaction": "lowercase", "regex": "[a-z_]{4}[0-9]{3}" },   {        "p": "P747", "name": "P747inverse", "query": "SELECT DISTINCT ?item { ?item wdt:P747 ?item2 . FILTER ( !isBLANK(?item2) ) . MINUS { ?item2 p:P629/ps:P629/owl:sameAs? ?item }}", "action": "inverse", "pNewT": "P629" },   {        "p": "P762", "name": "P762addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P762 [] . MINUS { ?item wdt:P17 [] } }", "action": "addClaim", "pNew": "P17", "valNew": "Q213" },   {        "p": "P768", "name": "P768move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P768 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P774", "name": "P774addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P774 [] . MINUS { ?item wdt:P17 [] } }", "action": "addClaim", "pNew": "P17", "valNew": "Q30" },   {        "p": "P776", "name": "P776addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P776 [] . MINUS { ?item wdt:P17 [] } }", "action": "addClaim", "pNew": "P17", "valNew": "Q34" },   {        "p": "P833", "name": "P833inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P833 ?item2 . MINUS { ?item2 wdt:P833 ?item } . }", "action": "inverse", "pNewT": "P833" },   {        "p": "P854", "name": "P854move", "query": "SELECT DISTINCT ?item { ?statement1 pq:P854 [] . ?item ?p1 ?statement1 . FILTER (?p1 NOT IN (p:P1343, p:P248, p:P747, p:P485)) }", "action": "moveQualifierToSource" },   {        "p": "P887", "name": "P887move", "query": "SELECT DISTINCT ?item WHERE { ?item ?st ?statement . ?statement pq:P887 ?value . wd:P887 p:P2302 [ ps:P2302 wd:Q21510859; pq:P2305 ?value ] } LIMIT 100", "action": "moveQualifierToSource" },   {        "p": "P901", "name": "P901remove", "query": "SELECT DISTINCT ?item WHERE{ ?item wdt:P882 ?val1; wdt:P901 ?val2 FILTER((concat('US',?val1)) = ?val2)}", "action": "removeStatement", "summary": "redundant with Property:P882", "constraintvalue": [ {               "type": "format", "regex": "(US)?[0-9]{5}" }       ]    },    {        "p": "P910", "name": "P910valueclaim", "query": "SELECT DISTINCT ?item { ?item wdt:P910 ?value . MINUS { ?value wdt:P31/wdt:P279* wd:Q4167836 } . ?value schema:dateModified ?date FILTER( NOW - ?date \u003E 0.1 ) }", "action": "addValueClaim", "pNewT": "P31", "valNew": "Q4167836", "constrainttarget": [ {               "type": "category" }       ]    },    {        "p": "P914", "name": "P914changeclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P914 ?value . FILTER( ?value IN (wd:Q204, wd:Q23488, wd:Q19774, wd:Q36977, wd:Q23378, wd:Q40254, wd:Q23763, wd:Q38712, wd:Q23756))}", "action": "changeValue", "map": { "204": 14920387,           "23488": 14920391,            "19774": 14920391,            "36977": 14920392,            "23378": 14920392,            "40254": 14920393,            "23763": 14920393,            "38712": 14920394,            "23756": 14920394        }    },    {        "p": "P935", "name": "P935addclaim", "query": "SELECT DISTINCT ?item { ?item schema:dateModified ?date . FILTER( NOW - ?date \u003C 1 ) . ?item ^schema:about [ schema:isPartOf \u003Chttps://commons.wikimedia.org/\u003E; schema:name ?sitelink ] . BIND( STR( ?sitelink ) AS ?gallery ) . FILTER( !STRSTARTS( ?gallery, 'Category:' ) ) . MINUS { ?item wdt:P935 [] } . MINUS { ?item p:P31/ps:P31 wd:Q4167836 } . MINUS { ?gallery ^wdt:P935 [] } . MINUS { ?item p:P31/ps:P31 wd:Q4167410 } . FILTER( !CONTAINS( ?gallery, ':' ) ) . }", "action": "addClaim", "pNew": "P935", "fromSitelink": "commonswiki" },   {        "p": "P946", "name": "P946format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P946 ?value . FILTER(REGEX(STR(?value), '^(0000 000[0-4] \\\\d{4} \\\\d{3}[\\\\dX])$') = true ) }", "action": "changeProperty", "pOld": "P946", "pNew": "P213", "constraintvalue": [ {               "type": "format", "regex": "0000 000[0-4] \\d{4} \\d{3}[\\dX]" }       ]    },    {        "p": "P948", "name": "P948commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P948 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P949", "name": "P949format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P949 ?value . FILTER( REGEX(STR(?value), '^\\\\d{9}$') = false )}", "action": "format", "subaction": "add0", "regex": "\\d{9}" },   {        "p": "P957", "name": "P957format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P957 ?value . FILTER( REGEX(STR(?value), '^(\\\\d{1,5}-\\\\d{1,7}-\\\\d{1,6}-[\\\\dX])$') = false )}", "action": "format", "subaction": "isbn", "regex": "[\\d\\-X]{13}" },   {        "p": "P957", "name": "P957move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P957 ?value . FILTER( REGEX(STR(?value), '^97[89]-[0-9-]{13}$') = true ) }", "action": "changeProperty", "pOld": "P957", "pNew": "P212", "constraintvalue": [ {               "type": "format", "regex": "97[89]-[0-9-]{13}" }       ]    },    {        "p": "P968", "name": "P968format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P968 ?value . FILTER( REGEX(STR(?value), '^(mailto:[-\\\\w\\\\.]+@([-\\\\w]+\\\\.)+[\\\\w\\\\.]+)$') = false )}", "action": "format", "subaction": "lowercase", "regex": "mailto:[-\\w\\.]+@([-\\w]+\\.)+[\\w\\.]+" },   {        "p": "P972", "name": "P972move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P972 [] . ?statement prov:wasDerivedFrom ?ref . ?item p:P528 ?statement }", "action": "moveSourceToQualifier" },   {        "p": "P980", "name": "P980addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P980 [] . MINUS { ?item wdt:P17 [] } }", "action": "addClaim", "pNew": "P17", "valNew": "Q34" },   {        "p": "P1013", "name": "P1013move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1013 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1015", "name": "P1015format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1015 ?value . FILTER( REGEX(STR(?value), '^([1-9]([0-9]{0,8}|[0-9]{12})$') = false )}",       "action": "format",        "subaction": "removeFirst",        "regex": "[1-9]\\d{0,8}"    },    {        "p": "P1038",        "name": "P1038movequalifiers1",        "query": "SELECT DISTINCT ?item WHERE { ?item p:P1038/pq:P31 [] }",        "action": "changeQualifierProperty",        "pOld": "P31",        "pNew": "P1039"    },    {        "p": "P1038",        "name": "P1038movequalifiers2",        "query": "SELECT DISTINCT ?item WHERE { ?item p:P1038/pq:P453 [] }",        "action": "changeQualifierProperty",        "pOld": "P453",        "pNew": "P1039"    },    {        "p": "P1038",        "name": "P1038movequalifiers3",        "query": "SELECT DISTINCT ?item WHERE { ?item p:P1038/pq:P2309 [] }",        "action": "changeQualifierProperty",        "pOld": "P2309", "pNew": "P1039" },   {        "p": "P1038", "name": "P1038movequalifiers4", "query": "SELECT DISTINCT ?item WHERE { ?item p:P1038/pq:P2868 [] }", "action": "changeQualifierProperty", "pOld": "P2868", "pNew": "P1039" },   {        "p": "P1038", "name": "P1038movequalifiers5", "query": "SELECT DISTINCT ?item WHERE { ?item p:P1038/pq:P3831 [] }", "action": "changeQualifierProperty", "pOld": "P3831", "pNew": "P1039" },   {        "p": "P1039", "name": "P1039move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1039 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1077", "name": "P1077addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item p:P1077/ps:P1077 [] . MINUS { ?item p:P17/ps:P17 wd:Q212 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q212" },   {        "p": "P1082", "name": "P1082unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1082/psv:P1082/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q2472587, wd:Q22947, wd:Q5, wd:Q3125361, wd:Q215627, wd:Q2625603, wd:Q33829, wd:Q924827, wd:Q3298567))}", "action": "removeUnit" },   {        "p": "P1093", "name": "P1093unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1093/psv:P1093/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q2719498))}", "action": "removeUnit" },   {        "p": "P1101", "name": "P1101unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1101/psv:P1101/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q174583, wd:Q217164))}", "action": "removeUnit" },   {        "p": "P1113", "name": "P1113unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1113/psv:P1113/wikibase:quantityUnit ?unit . FILTER(?unit = wd:Q1983062)}", "action": "removeUnit" },   {        "p": "P1114", "name": "P1114move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1114 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1120", "name": "P1120unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1120/psv:P1120/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q2472587, wd:Q5))}", "action": "removeUnit" },   {        "p": "P1128", "name": "P1128unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1128/psv:P1128/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q2472587, wd:Q5, wd:Q703534))}", "action": "removeUnit" },   {        "p": "P1151", "name": "P1151inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1151 ?value . MINUS { ?value wdt:P1204/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P1204", "constrainttarget": [ {               "type": "item", "p": "P31", "values": "Q4663903" }       ]    },    {        "p": "P1174", "name": "P1174unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1174/psv:P1174/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q2472587, wd:Q22947, wd:Q5, wd:Q3125361, wd:Q215627, wd:Q2625603, wd:Q33829, wd:Q924827, wd:Q3298567))}", "action": "removeUnit" },   {        "p": "P1200", "name": "P1200valueclaim", "query": "SELECT DISTINCT ?item { ?item wdt:P1200 ?value . MINUS { ?value wdt:P31/wdt:P279* wd:Q4167836 } . ?value schema:dateModified ?date FILTER( NOW - ?date \u003E 0.1 ) }", "action": "addValueClaim", "pNewT": "P31", "valNew": "Q4167836", "constrainttarget": [ {               "type": "category" }       ]    },    {        "p": "P1258", "name": "P1258format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1258 ?value . FILTER( REGEX(STR(?value), '^(m/[0-9A-Za-z_][-0-9A-Za-z_\\'.]*|(tv|celebrity|critic|franchise)/[0-9a-z][-0-9a-z_\\']*(/s\\\\d\\\\d)?(/e\\\\d\\\\d)?|source-[1-9]\\\\d*)$') = false )}", "action": "format", "subaction": "removeLast", "regex": "m/[0-9A-Za-z_][-0-9A-Za-z_'.]*|(tv|celebrity|critic)/[0-9a-z][-0-9a-z_']*(/s\\d\\d)?(/e\\d\\d)?|source-[1-9]\\d*" },   {        "p": "P1264", "name": "P1264move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1264 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1273", "name": "P1273format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1273 ?value . FILTER( REGEX(STR(?value), '^(a\\\\d{7}[0-9x])$') = false )}", "action": "format", "subaction": "lowercase", "regex": "a\\d{7}[0-9x]" },   {        "p": "P1273", "name": "P1273viaf", "query": "SELECT DISTINCT ?item WHERE{ ?item wdt:P1273 ?value; wdt:P214 ?viaf . FILTER(!REGEX(?value, '^a[0-9]{7}[0-9x]$'))}", "action": "viaf", "regex": "a[0-9]{7}[0-9x]", "viafkey": "BNC|" },   {        "p": "P1283", "name": "P1283addClaim", "query": "SELECT DISTINCT ?item WHERE { ?person wdt:P1283 ?item . ?item wdt:P31 wd:Q1371849 . MINUS { ?item wdt:P360 wd:Q11424 } }", "action": "addClaim", "pNew": "P360", "valNew": "Q11424" },   {        "p": "P1310", "name": "P1310move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1310 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1319", "name": "P1319move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1319 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1326", "name": "P1326move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1326 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1339", "name": "P1339unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1339/psv:P1339/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q2472587, wd:Q5))}", "action": "removeUnit" },   {        "p": "P1340", "name": "P1340changeclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1340 ?value . FILTER( ?value IN (wd:Q1088, wd:Q47071, wd:Q3133, wd:Q943, wd:Q23445, wd:Q42519))}", "action": "changeValue", "map": { "1088": 17122834,           "47071": 17122705,            "3133": 17122854,            "943": 27777837,            "23445": 17244465,            "42519": 17245659        }    },    {        "p": "P1342", "name": "P1342unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1342/psv:P1342/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q2472587, wd:Q5, wd:Q708492))}", "action": "removeUnit" },   {        "p": "P1350", "name": "P1350move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1350 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1351", "name": "P1351move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1351 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1364", "name": "P1364addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1364 []; wdt:P31 wd:Q5 . MINUS { ?item p:P106/ps:P106 wd:Q13382519 } }", "action": "addClaim", "pNew": "P106", "valNew": "Q13382519", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P1365", "name": "P1365move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1365 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1366", "name": "P1366move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1366 ?pr [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "name": "P1412addclaim1", "query": "SELECT ?item WHERE { ?item wdt:P106 wd:Q860918; wdt:P31 wd:Q5  MINUS { ?item p:P1412/ps:P1412 wd:Q143 } }", "action": "addClaim", "pNew": "P1412", "valNew": "Q143" },   {        "name": "P1412addclaim2", "query": "SELECT ?item WHERE { ?item wdt:P106 wd:Q27496075; wdt:P31 wd:Q5  MINUS { ?item p:P1412/ps:P1412 wd:Q35224 } }", "action": "addClaim", "pNew": "P1412", "valNew": "Q35224" },   {        "p": "P1423", "name": "P1423inverse", "query": "SELECT ?item WHERE { { SELECT ?item (count(*) as ?cnt) WHERE { ?item wdt:P1423 ?value } GROUP BY ?item HAVING (?cnt = 1) } MINUS { ?value wdt:P1424/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P1424", "constraint": [ {               "type": "item", "p": "P31", "values": [ "Q11266439", "Q11753321", "Q15671253", "Q19887878", "Q20769160", "Q36330215" ]           }        ]    },    {        "p": "P1424", "name": "P1424inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1424 ?value . MINUS{ ?value wdt:P1423/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P1423", "constrainttarget": [ {               "type": "item", "p": "P31", "values": [ "Q11266439", "Q11753321", "Q15671253", "Q19887878", "Q20769160", "Q36330215" ]           }        ]    },    {        "p": "P1442", "name": "P1442commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1442 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P1464", "name": "P1464inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1464 ?value . MINUS { ?value wdt:P971/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P971", "constrainttarget": [ {               "type": "item", "p": "P31", "values": "Q4167836" },           {                "type": "category" }       ]    },    {        "p": "P1465", "name": "P1465inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1465 ?value . MINUS { ?value wdt:P971/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P971", "constrainttarget": [ {               "type": "item", "p": "P31", "values": "Q4167836" },           {                "type": "category" }       ]    },    {        "p": "P1534", "name": "P1534move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1534 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1560", "name": "P1560inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1560 ?value . MINUS { ?value wdt:P1560/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P1560", "constrainttarget": [ {               "type": "item", "p": "P31", "values": [ "Q12308941", "Q11879590" ]           }        ]    },    {        "p": "P1642", "name": "P1642move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1642 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1684", "name": "P1684movequalifiers", "query": "SELECT DISTINCT ?item WHERE { ?item p:P1684/pq:P31 [] }", "action": "changeQualifierProperty", "pOld": "P31", "pNew": "P3831" },   {        "p": "P1686", "name": "P1686move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1686 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1695", "name": "P1695format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1695 ?value . FILTER( REGEX(STR(?value), '^(A[0-9]{7}[0-9X])$') = false )}", "action": "format", "subaction": "uppercase", "regex": "A[0-9]{7}[0-9X]" },   {        "p": "P1705", "name": "P1705move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q5; wdt:P1705 [] }", "action": "changeProperty", "pOld": "P1705", "pNew": "P1559" },   {        "p": "P1728", "name": "P1728format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1728 ?value . FILTER( REGEX(STR(?value), '^(mn[0-9]{10})$') = false )}", "action": "format", "subaction": "removePrefix", "regex": "mn[0-9]{10}" },   {        "p": "P1729", "name": "P1729format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1729 ?value . FILTER( REGEX(STR(?value), '^(mw[0-9]{10})$') = false )}", "action": "format", "subaction": "removePrefix", "regex": "mw[0-9]{10}" },   {        "p": "P1730", "name": "P1730format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1730 ?value . FILTER( REGEX(STR(?value), '^(mt[0-9]{10})$') = false )}", "action": "format", "subaction": "removePrefix", "regex": "mt[0-9]{10}" },   {        "p": "P1753", "name": "P1753inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1753 ?value MINUS { ?value wdt:P1754/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P1754", "constraint": [ {               "type": "item", "p": "P31", "values": "Q4167836" },           {                "type": "category" }       ],        "constrainttarget": [ {               "type": "item", "p": "P31", "values": "Q13406463" }       ]    },    {        "p": "P1754", "name": "P1754inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1754 ?value . MINUS { ?value wdt:P1753/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P1753", "constraint": [ {               "type": "item", "p": "P31", "values": "Q13406463" }       ],        "constrainttarget": [ {               "type": "item", "p": "P31", "values": "Q4167836" },           {                "type": "category" }       ]    },    {        "p": "P1791", "name": "P1791inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1791 ?value . MINUS { ?value wdt:P971/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P971", "constrainttarget": [ {               "type": "item", "p": "P31", "values": "Q4167836" },           {                "type": "category" }       ]    },    {        "p": "P1792", "name": "P1792inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1792 ?value . MINUS { ?value wdt:P971/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P971", "constrainttarget": [ {               "type": "item", "p": "P31", "values": "Q4167836" },           {                "type": "category" }       ]    },    {        "p": "P1814", "name": "P1814move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P1814 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P1846", "name": "P1846move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1846 ?value; wdt:P31 wd:Q16521}", "action": "changeProperty", "pOld": "P1846", "pNew": "P181" },   {        "p": "P1884", "name": "P1884changeclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1884 ?value . FILTER( ?value IN (wd:Q23445, wd:Q47071, wd:Q1088, wd:Q3142))}", "action": "changeValue", "map": { "23445": 1922956,           "47071": 2367101,            "1088": 4930092,            "3142": 152357        }    },    {        "p": "P1937", "name": "P1937format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1937 ?value . FILTER( REGEX(STR(?value), '^([A-Z]{2}[A-Z0-9]{3})$') = false )}", "action": "format", "subaction": "removeWhitespace", "regex": "[A-Z]{2}[A-Z0-9]{3}" },   {        "p": "P1943", "name": "P1943commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1943 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P1953", "name": "P1953format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1953 ?value . FILTER( REGEX(STR(?value), '^([1-9][0-9]*)$') = false )}", "action": "format", "subaction": "removeSuffix", "regex": "[1-9][0-9]*" },   {        "p": "P1955", "name": "P1955format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1955 ?value . FILTER( REGEX(STR(?value), '^([1-9][0-9]*)$') = false )}", "action": "format", "subaction": "removeSuffix", "regex": "[1-9][0-9]*" },   {        "p": "P1971", "name": "P1971unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P1971/psv:P1971/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q5, wd:Q7569, wd:Q1340307, wd:Q352082))}", "action": "removeUnit" },   {        "p": "P1981", "name": "P1981changeclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1981 ?value . FILTER( ?value IN (wd:Q204, wd:Q23488, wd:Q19774, wd:Q36977, wd:Q23378, wd:Q40254, wd:Q23763, wd:Q38712, wd:Q23756))}", "action": "changeValue", "map": { "204": 20644794,           "23488": 20644795,            "19774": 20644795,            "36977": 20644796,            "23378": 20644796,            "40254": 20644797,            "23763": 20644797,            "38712": 20644798,            "23756": 20644798        }    },    {        "p": "P1992", "name": "P1992format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P1992 ?value . FILTER( REGEX(STR(?value), '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$') = false )}", "action": "format", "subaction": "uuid", "regex": "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" },   {        "p": "P2002", "name": "P2002format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2002 ?value . FILTER( REGEX(STR(?value), '^([A-Za-z0-9_]+)$') = false )}", "action": "format", "subaction": "removeFirst", "regex": "[A-Za-z0-9_]+" },   {        "p": "P2003", "name": "P2003format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2003 ?value . FILTER( REGEX(STR(?value), '^([a-z0-9_.]+)$') = false )}", "action": "format", "subaction": "lowercase", "regex": "[a-z0-9_.]+" },   {        "p": "P2003", "name": "P2003format2", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2003 ?value . FILTER( REGEX(STR(?value), '^@') = true )}", "action": "format", "subaction": "removeFirst", "regex": "[A-Za-z0-9_.]+" },   {        "p": "P2035", "name": "P2035format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2035 ?value . FILTER( REGEX(STR(?value), '^(https://www\\\\.linkedin\\\\.com/in/[\\\\-\\\\\u0026%A-Z0-9a-záâãåäăąćčçéèêěëğîıíłńñøóòôöõřśşșšțúůüýž]+/)$') = false )}", "action": "format", "subaction": "linkedin", "regex": "https://www\\.linkedin\\.com/in/[\\-\\\u0026%A-Z0-9a-záâãåäăąćčçéèêěëğîıíłńñøóòôöõřśşșšțúůüýž]+/" },   {        "p": "P2080", "name": "P2080addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2080 [] . MINUS { ?item p:P21/ps:P21 wd:Q6581072 } }", "action": "addClaim", "pNew": "P21", "valNew": "Q6581072", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P2096", "name": "P2096move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P18 []; wdt:P2096 []}", "action": "moveStatementToQualifier", "pNew": "P18" },   {        "p": "P2096", "name": "P2096move2", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P2096 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P2124", "name": "P2124unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P2124/psv:P2124/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q5, wd:Q215627))}", "action": "removeUnit" },   {        "p": "P2125", "name": "P2125move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P2125 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P2163", "name": "P2163format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2163 ?value . FILTER( REGEX(STR(?value), '^([1-9][0-9]{0,7})$') = false )}", "action": "format", "subaction": "removePrefix", "regex": "[1-9][0-9]{0,7}" },   {        "p": "P2181", "name": "P2181addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2181 []; wdt:P31 wd:Q5 . MINUS { ?item p:P106/ps:P106 wd:Q82955 } }", "action": "addClaim", "pNew": "P106", "valNew": "Q82955", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P2181", "name": "P2181addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2181 [] . MINUS { ?item p:P27/ps:P27 wd:Q33 } }", "action": "addClaim", "pNew": "P27", "valNew": "Q33", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P2183", "name": "P2183move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P2183 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P2196", "name": "P2196unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P2196/psv:P2196/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q5, wd:Q48282))}", "action": "removeUnit" },   {        "p": "P2206", "name": "P2206format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2206 ?value . FILTER( REGEX(STR(?value), '^([1-9][0-9]+)$') = false )}", "action": "format", "subaction": "removeSuffix", "regex": "[1-9][0-9]+" },   {        "p": "P2278", "name": "P2278addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2278 []; wdt:P31 wd:Q5 . MINUS { ?item p:P106/ps:P106 wd:Q82955 } }", "action": "addClaim", "pNew": "P106", "valNew": "Q82955", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P2278", "name": "P2278addclaim2", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2278 [] . MINUS { ?item p:P27/ps:P27 wd:Q41 } }", "action": "addClaim", "pNew": "P27", "valNew": "Q41", "constraint": [ {               "type": "item", "p": "P31", "values": "Q5" }       ]    },    {        "p": "P2309", "name": "P2309move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2309/wdt:P31 wd:Q5}", "action": "changeProperty", "pOld": "P2309", "pNew": "P1038" },   {        "p": "P2425", "name": "P2425commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2425 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P2437", "name": "P2437unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P2437/psv:P2437/wikibase:quantityUnit ?unit . FILTER(?unit = wd:Q3464665)}", "action": "removeUnit" },   {        "p": "P2499", "name": "P2499inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2499 ?value . MINUS { ?value p:P2500/ps:P2500/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P2500" },   {        "p": "P2500", "name": "P2500inverse", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2500 ?value . MINUS { ?value p:P2499/ps:P2499/owl:sameAs? ?item } }", "action": "inverse", "pNewT": "P2499" },   {        "p": "P2605", "name": "P2605format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2605 ?value . FILTER( REGEX(STR(?value), '^[0-9]+$') = false )}", "action": "format", "subaction": "removeSuffix", "regex": "[0-9]+" },   {        "p": "P2638", "name": "P2638format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2638 ?value . FILTER( REGEX(STR(?value), '^((shows|movies|people)/[a-z\\d][a-z\\d-/]*[a-z\\d-]/)$') = true )}", "action": "format", "subaction": "removeLast", "regex": "(shows|movies|people)/[a-z0-9][a-z0-9-/]*[a-z0-9-]" },   {        "p": "P2715", "name": "P2715move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P2715 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P2788", "name": "P2788addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2788 [] . MINUS { ?item p:P17/ps:P17 wd:Q213 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q213" },   {        "p": "P2878", "name": "P2878format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2878 ?value . FILTER( REGEX(STR(?value), '^(\\\\d{4} [A-Z0-9]+ {0,1}[A-Z0-9]*)$') = false )}", "action": "format", "subaction": "uppercase", "regex": "\\d{4} [A-Z0-9]+ {0,1}[A-Z0-9]*" },   {        "p": "P2875", "name": "P2875inverse", "query": "SELECT DISTINCT ?item WHERE { ?prop wdt:P2875 ?item . MINUS { ?item p:P971/ps:P971 [] } }", "action": "addClaim", "pNew": "P971", "valNew": "Q24514938", "constraint": [ {               "type": "category" }       ]    },    {        "p": "P2911", "name": "P2911move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P2911 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P2937", "name": "P2937move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P2937 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P2959", "name": "P2959move", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q21286738; wdt:P460 [] . MINUS { ?item wdt:P2959 [] } . MINUS { ?item p:P31/ps:P31 wd:Q4167836 } . }", "action": "changeProperty", "pOld": "P460", "pNew": "P2959" },   {        "p": "P2959", "name": "P2959inverse1", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P31 wd:Q21286738; wdt:P2959 ?dupe . MINUS { ?dupe wdt:P2959 ?item } . }", "action": "inverse", "pNewT": "P2959" },   {        "p": "P2959", "name": "P2959inverse2", "query": "SELECT DISTINCT ?item WHERE { ?dupe wdt:P2959 ?item . ?item wdt:P31 wd:Q21286738 . MINUS { ?item p:P2959/ps:P2959 ?dupe } . }", "action": "inverse", "pNewT": "P2959" },   {        "p": "P2959", "name": "P2959inverse3", "query": "SELECT DISTINCT ?item { ?item wdt:P2959 ?value . MINUS { ?value wdt:P2959 [] } . ?value wdt:P31 wd:Q21286738 . MINUS { ?item p:P31/ps:P31 wd:Q21286738 } . }", "action": "inverse", "pNewT": "P2959" },   {        "p": "P2984", "name": "P2984format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P2984 ?value . FILTER( REGEX(STR(?value), '^([a-z][a-z0-9\\\\-_\\\\.]{1,13}[a-z0-9])$') = false )}", "action": "format", "subaction": "lowercase", "regex": "[a-z][a-z0-9\\-_\\.]{1,13}[a-z0-9]" },   {        "p": "P3086", "name": "P3086movequalifiers1", "query": "SELECT DISTINCT ?item WHERE { ?item p:P3086/pq:P1013 [] }", "action": "changeQualifierProperty", "pOld": "P1013", "pNew": "P3005" },   {        "p": "P3086", "name": "P3086movequalifiers2", "query": "SELECT DISTINCT ?item WHERE { ?item p:P3086/pq:P518 [] }", "action": "changeQualifierProperty", "pOld": "P518", "pNew": "P3005" },   {        "p": "P3296", "name": "P3296addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P3296 [] . MINUS { ?item p:P17/ps:P17 wd:Q213 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q213" },   {        "p": "P3373", "name": "P3373inverse", "query": "SELECT DISTINCT ?item { ?item wdt:P3373 ?item2 . MINUS { ?item2 p:P3373/ps:P3373/owl:sameAs? ?item } . ?item2 ?pred ?parent . ?item ?pred ?parent . FILTER( ?pred IN ( wdt:P22, wdt:P25 ) ) }", "action": "inverse", "pNewT": "P3373" },   {        "p": "P3373", "name": "P3373inverse2", "query": "SELECT DISTINCT ?item { ?item wdt:P3373 ?item2 . MINUS { ?item2 p:P3373/ps:P3373/owl:sameAs? ?item } . ?group wdt:P31/wdt:P279* wd:Q16979650; wdt:P527 ?item, ?item2 }", "action": "inverse", "pNewT": "P3373" },   {        "p": "P3415", "name": "P3415move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P3415 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P3416", "name": "P3416move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P3416 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P3451", "name": "P3451commons", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P3451 ?value . FILTER( REGEX(STR(?value), '_') = true)}", "action": "normalize" },   {        "p": "P3452", "name": "P3452move", "query": "SELECT DISTINCT ?item WHERE { ?item ?st ?statement . ?statement pq:P3452 [] }", "action": "moveQualifierToSource" },   {        "p": "P3571", "name": "P3571format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P3571 ?value . FILTER( REGEX(STR(?value), '^([0-9]+)$') = false )}", "action": "format", "subaction": "removeSuffix", "regex": "[0-9]+" },   {        "p": "P3588", "name": "P3588addClaim1", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P3588 []; wdt:P31 wd:Q5 . MINUS { ?item wdt:P21 [] } }", "action": "addClaim", "pNew": "P21", "valNew": "Q6581072" },   {        "p": "P3588", "name": "P3588addClaim2", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P3588 []; wdt:P31 wd:Q5 . MINUS { ?item p:P106/ps:P106 wd:Q3665646 } }", "action": "addClaim", "pNew": "P106", "valNew": "Q3665646" },   {        "p": "P3709", "name": "P3709inverse", "query": "SELECT DISTINCT ?item WHERE { ?prop wdt:P3709 ?item . MINUS { ?item p:P971/ps:P971 [] } }", "action": "addClaim", "pNew": "P971", "valNew": "Q29075121", "constraint": [ {               "type": "category" }       ]    },    {        "p": "P3713", "name": "P3713inverse", "query": "SELECT DISTINCT ?item WHERE { ?prop wdt:P3713 ?item . MINUS { ?item p:P971/ps:P971 [] } }", "action": "addClaim", "pNew": "P971", "valNew": "Q28858528", "constraint": [ {               "type": "category" }       ]    },    {        "p": "P3734", "name": "P3734inverse", "query": "SELECT DISTINCT ?item WHERE { ?prop wdt:P3734 ?item . MINUS { ?item p:P971/ps:P971 [] } }", "action": "addClaim", "pNew": "P971", "valNew": "Q29075123", "constraint": [ {               "type": "category" }       ]    },    {        "p": "P3788", "name": "P3788format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P3788 ?value . FILTER( REGEX(STR(?value), '^\\\\d{9}$') = false )}", "action": "format", "subaction": "add0", "regex": "\\d{9}" },   {        "p": "P3831", "name": "P3831move", "query": "SELECT DISTINCT ?item WHERE { ?ref pr:P3831 [] . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . [] wikibase:claim ?p }", "action": "moveSourceToQualifier" },   {        "p": "P3872", "name": "P3872unit", "query": "SELECT DISTINCT ?item WHERE{ ?item p:P3872/psv:P3872/wikibase:quantityUnit ?unit . FILTER(?unit IN (wd:Q319604))}", "action": "removeUnit" },   {        "p": "P3876", "name": "P3876valueclaim", "query": "SELECT DISTINCT ?item { ?item wdt:P3876 ?value . MINUS { ?value wdt:P31/wdt:P279* wd:Q4167836 } . ?value schema:dateModified ?date FILTER( NOW - ?date \u003E 0.1 ) }", "action": "addValueClaim", "pNewT": "P31", "valNew": "Q4167836", "constrainttarget": [ {               "type": "category" }       ]    },    {        "p": "P4075", "name": "P4075addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P4075 [] . MINUS { ?item p:P17/ps:P17 wd:Q213 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q213" },   {        "p": "P4195", "name": "P4195valueclaim", "query": "SELECT DISTINCT ?item { ?item wdt:P4195 ?value . MINUS { ?value wdt:P31/wdt:P279* wd:Q4167836 } . ?value schema:dateModified ?date FILTER( NOW - ?date \u003E 0.1 ) }", "action": "addValueClaim", "pNewT": "P31", "valNew": "Q4167836", "constrainttarget": [ {               "type": "category" }       ]    },    {        "p": "P4391", "name": "P4391format", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P4391 ?value . FILTER( REGEX(STR(?value), '^([0-9]+)$') = false )}", "action": "format", "subaction": "removePrefix", "regex": "[0-9]+" },   {        "p": "P4533", "name": "P4533addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P4533 [] . MINUS { ?item p:P17/ps:P17 wd:Q213 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q213" },   {        "p": "P4656", "name": "P4656move", "query": "SELECT DISTINCT ?item WHERE { ?item ?st ?statement . ?statement pq:P4656 [] }", "action": "moveQualifierToSource" },   {        "p": "P5011", "name": "P5011addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P5011 [] . MINUS { ?item p:P17/ps:P17 wd:Q213 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q213" },   {        "p": "P6406", "name": "P6406addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P6406 [] . MINUS { ?item p:P17/ps:P17 wd:Q213 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q213" },   {        "p": "P6736", "name": "P6736addclaim", "query": "SELECT DISTINCT ?item WHERE { ?item wdt:P6736 [] . MINUS { ?item p:P17/ps:P17 wd:Q213 } }", "action": "addClaim", "pNew": "P17", "valNew": "Q213" } ]