Property talk:P1151
Jump to navigation
Jump to search
Documentation
topic's main Wikimedia portal
Wikimedia portal associated with this topic
Wikimedia portal associated with this topic
[create Create a translatable help page (preferably in English) for this property to be included here]
Value type “Wikimedia portal (Q4663903)”: This property should use items as value that contain property “instance of (P31)”. On these, the value for instance of (P31) should be an item that uses subclass of (P279) with value Wikimedia portal (Q4663903) (or a subclass thereof). (Help)
List of violations of this constraint: Database reports/Constraint violations/P1151#Value type Q4663903, hourly updated report, SPARQLSingle value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1151#Single value, hourly updated report, SPARQLDistinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P1151#Unique value, SPARQL (every item), SPARQL (by value)
Inverse property of “Wikimedia portal's main topic (P1204)”:
if [item A] has this property (topic's main Wikimedia portal (P1151)) linked to [item B],
then [item B] should also have property “Wikimedia portal's main topic (P1204)” linked to [item A]. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1151#inverse, hourly updated report, SPARQLif [item A] has this property (topic's main Wikimedia portal (P1151)) linked to [item B],
then [item B] should also have property “Wikimedia portal's main topic (P1204)” linked to [item A]. (Help)
Conflicts with “instance of (P31): Wikimedia category (Q4167836)”: this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1151#Conflicts with P31, hourly updated report, search, SPARQLScope is as main value (Q54828448): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P1151#Scope, SPARQL
value label (1: should match regex)
fix label or adjust regex for language at Property:P1151#P1552: complex constraint value label (Q100884525) (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P1151#value label (1: should match regex)
fix label or adjust regex for language at Property:P1151#P1552: complex constraint value label (Q100884525) (Help)
Violations query:
SELECT ?item ?lang ?l ?value ?v ?t WHERE { hint:Query hint:optimizer "None". wd:P1151 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] BIND( lang(?t) as ?lang) ?item wdt:P1151 ?value. ?item rdfs:label ?l . FILTER(lang(?l) = ?lang) ?value rdfs:label ?v . FILTER(lang(?v) = ?lang) FILTER ( !REGEX(str(?v), str(?t) ) ) } # ORDER BY ?lang ?v
List of this constraint violations: Database reports/Complex constraint violations/P1151#value label (1: should match regex)
value label (1: languages lacking a regex)
determine a regex and add it at Property:P1151#P1552: complex constraint value label (Q100884525) (Help)
Violations query:
List of this constraint violations: Database reports/Complex constraint violations/P1151#value label (1: languages lacking a regex)
determine a regex and add it at Property:P1151#P1552: complex constraint value label (Q100884525) (Help)
Violations query:
SELECT ?item ?lang (COUNT(*) as ?count) (SAMPLE(?l) as ?sample) WHERE { hint:Query hint:optimizer "None". [] wdt:P1151 ?v . ?v rdfs:label ?l . BIND(lang(?l) as ?lang) OPTIONAL { wd:P1151 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] FILTER( lang(?t) = ?lang) } FILTER( !BOUND(?t) ) ?item wdt:P424 ?lang ; wdt:P305 [] . } GROUP BY ?item ?lang HAVING ( ?count > 9) ORDER BY DESC ( ?count)
List of this constraint violations: Database reports/Complex constraint violations/P1151#value label (1: languages lacking a regex)
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
Please look at this case at Property talk:P1204#Q6889693. Here is the question about "unique" constraint. --Infovarius (talk) 13:48, 17 February 2015 (UTC)
Categories:
- All Properties
- Properties with wikibase-item-datatype
- Properties used on 1000+ items
- Properties with constraints on type
- Properties with single value constraints
- Properties with unique value constraints
- Properties with inverse constraints
- Properties with conflicts with constraints
- Properties with scope constraints
- Properties with complex constraints