Template:Rules: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<noinclude>* </noinclude><includeonly>|Q12=</includeonly>{{Rules/Query_link|url=https://metabase.wikibase.cloud/query/#PREFIX%20wb%3A%20%3Chttps%3A%2F%2Fmetabase.wikibase.cloud%2Fentity%2F%3E%0A%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fmetabase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3Fitem%20%3FitemLabel%0AWHERE%20%7B%0A%3Fitem%20wbt%3AP5%20wb%3AQ12.%0AMINUS%20%7B%3Fitem%20wbt%3AP1%20%5B%5D%7D%0ASERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22sv%2Cen%22.%20%7D%0A%7D}}Any item with a {{P|P5}}: {{Q|Q12}} MUST also have a {{P|P1}} property. | <noinclude>* </noinclude><includeonly>|Q12=</includeonly>{{Rules/Query_link|url=https://metabase.wikibase.cloud/query/#PREFIX%20wb%3A%20%3Chttps%3A%2F%2Fmetabase.wikibase.cloud%2Fentity%2F%3E%0A%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fmetabase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3Fitem%20%3FitemLabel%0AWHERE%20%7B%0A%3Fitem%20wbt%3AP5%20wb%3AQ12.%0AMINUS%20%7B%3Fitem%20wbt%3AP1%20%5B%5D%7D%0ASERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22sv%2Cen%22.%20%7D%0A%7D}}Any item with a {{P|P5}}: {{Q|Q12}} MUST also have a {{P|P1}} property. | ||
<noinclude>* </noinclude><includeonly>|P13=</includeonly>Any subject of a {{P|P13}}: MUST have {{P|P5}}: {{Q|Q25}} OR {{P|P5}}: {{Q|Q22}}. | <noinclude>* </noinclude><includeonly>|P13=</includeonly>Any subject of a {{P|P13}}: MUST have {{P|P5}}: {{Q|Q25}} OR {{P|P5}}: {{Q|Q22}}. | ||
<noinclude>* </noinclude><includeonly>|P14=</includeonly>Any subject of a {{P|P14}}: MUST have {{P|P5}}: {{Q|Q13}} OR {{P|P5}}: {{Q|Q23}}. | <noinclude>* </noinclude><includeonly>|P14=</includeonly>{{Rules/Query_link|url=https://metabase.wikibase.cloud/query/#PREFIX%20wb%3A%20%3Chttps%3A%2F%2Fmetabase.wikibase.cloud%2Fentity%2F%3E%0A%0APREFIX%20wbt%3A%20%3Chttps%3A%2F%2Fmetabase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20DISTINCT%20%3Fitem%20%3FitemLabel%20%3Forganizer%20%3ForganizerLabel%0AWHERE%20%7B%0A%3Fitem%20wbt%3AP14%20%3Forganizer.%0A%3Forganizer%20wbt%3AP5%20%3ForganizerType.%0AFILTER%28%3ForganizerType%20NOT%20IN%28wb%3AQ13%2C%20wb%3AQ23%29%20%29.%20%23%20organizer%20type%20is%20not%20organization%20or%20person%0A%0ASERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22sv%2Cen%22.%20%7D%0A%7D}}Any subject of a {{P|P14}}: MUST have {{P|P5}}: {{Q|Q13}} OR {{P|P5}}: {{Q|Q23}}. | ||
<noinclude>* </noinclude><includeonly>|P1=</includeonly>Any value of a {{P|P1}}: MUST be unique across MetaBase. | <noinclude>* </noinclude><includeonly>|P1=</includeonly>Any value of a {{P|P1}}: MUST be unique across MetaBase. | ||
<noinclude>* </noinclude><includeonly>|P38=</includeonly>Any statement with {{P|P38}}: MUST also have a qualifier {{P|P41}}. | <noinclude>* </noinclude><includeonly>|P38=</includeonly>Any statement with {{P|P38}}: MUST also have a qualifier {{P|P41}}. |
Revision as of 06:53, 19 October 2023
RULE:
- 🐱Any item with a instance of (P5): MetaBase root item requiring Wikidata equivalent (Q10) MUST also have a sameAs on Wikidata (P1) property.
- 🐱Any item with a instance of (P5): index term (Q12) MUST also have a sameAs on Wikidata (P1) property.
- Any subject of a Wikimedia platform(s) affected (P13): MUST have instance of (P5): family of Wikimedia projects (Q25) OR instance of (P5): Wikimedia content project (Q22).
- 🐱Any subject of a organizer (P14): MUST have instance of (P5): organization (Q13) OR instance of (P5): human (Q23).
- Any value of a sameAs on Wikidata (P1): MUST be unique across MetaBase.
- Any statement with temporary free text field (P38): MUST also have a qualifier replaced by property (P41).
- The property replaced by property (P41) MUST only be used as a qualifier for temporary free text field (P38).
- Any item with instance of (P5): human (Q23) MUST only have the properties sameAs on Wikidata (P1) OR affiliation (P34) (in addition to instance of (P5)).