Property talk:P2033

From Wikidata
Jump to navigation Jump to search

Documentation

category for pictures taken with equipment
Commons category for photos taken with that camera model or model line
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2033#Single value, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2033#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Property “instance of (P31): Wikimedia category (Q4167836), Commons category (Q24574745)” declared by target items of “category for pictures taken with equipment (P2033): If [item A] has this property with value [item B], [item B] is required to have property “instance of (P31): Wikimedia category (Q4167836), Commons category (Q24574745)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2033#Target required claim P31, hourly updated report, SPARQL
Property “category combines topics (P971): photographs by photographic equipment used (Q20683640)” declared by target items of “category for pictures taken with equipment (P2033): If [item A] has this property with value [item B], [item B] is required to have property “category combines topics (P971): photographs by photographic equipment used (Q20683640)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Panasonic Leica D Vario-Elmar 14-150mm F3.5-5.6 Asph Mega OIS (Q24912725)
List of violations of this constraint: Database reports/Constraint violations/P2033#Target required claim P971, SPARQL
Inverse property of “category combines topics (P971):
if [item A] has this property (category for pictures taken with equipment (P2033)) linked to [item B],
then [item B] should also have property “category combines topics (P971)” linked to [item A]. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2033#inverse, hourly updated report, SPARQL
Item “Exif model (P2009): Items with this property should also have “Exif model (P2009)”. (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/P2033#Item P2009, search, SPARQL
Item “Exif make (P2010): Items with this property should also have “Exif make (P2010)”. (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/P2033#Item P2010, search, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P2033#Scope, hourly updated report, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (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/P2033#Entity types
Value label (1: should match regex)
fix label or adjust regex for language at Property:P2033#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang ?l ?value ?v ?t WHERE { hint:Query hint:optimizer "None". wd:P2033 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] BIND( lang(?t) as ?lang) ?item wdt:P2033 ?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/P2033#Value label (1: should match regex)
Value label (1: languages lacking a regex)
determine a regex and add it at Property:P2033#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:P2033 ?v . ?v rdfs:label ?l . BIND(lang(?l) as ?lang) OPTIONAL { wd:P2033 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/P2033#Value label (1: languages lacking a regex)
category items with P971=Q20683640 should be a value of P2033 (1)
Add category item to item for camera (batch 1 of 3) (Help)
Violations query: SELECT ?item ?cam WHERE { ?item wdt:P971 wd:Q20683640. MINUS { [] wdt:P2033 ?item } ?item rdfs:label ?l.FILTER (lang(?l)="en") BIND(REPLACE(?l,"Category:Taken with ","") as ?cam)} ORDER BY ?cam OFFSET 0 LIMIT 5000
List of this constraint violations: Database reports/Complex constraint violations/P2033#category items with P971=Q20683640 should be a value of P2033 (1)
category items with P971=Q20683640 should be a value of P2033 (2)
Add category item to item for camera (batch 2 of 3) (Help)
Violations query: SELECT ?item ?cam WHERE { ?item wdt:P971 wd:Q20683640. MINUS { [] wdt:P2033 ?item } ?item rdfs:label ?l.FILTER (lang(?l)="en") BIND(REPLACE(?l,"Category:Taken with ","") as ?cam)} ORDER BY ?cam OFFSET 5000 LIMIT 5000
List of this constraint violations: Database reports/Complex constraint violations/P2033#category items with P971=Q20683640 should be a value of P2033 (2)
category items with P971=Q20683640 should be a value of P2033 (3)
Add category item to item for camera (batch 3 of 3) (Help)
Violations query: SELECT ?item ?cam WHERE { ?item wdt:P971 wd:Q20683640. MINUS { [] wdt:P2033 ?item } ?item rdfs:label ?l.FILTER (lang(?l)="en") BIND(REPLACE(?l,"Category:Taken with ","") as ?cam)} ORDER BY ?cam OFFSET 10000 LIMIT 5000
List of this constraint violations: Database reports/Complex constraint violations/P2033#category items with P971=Q20683640 should be a value of P2033 (3)

generalize use beyond cameras?[edit]

I'd like to propose to extend this to something like "Category for media captured with device", so we can use it for smartphone model (Q19723451), lens model (Q109672300), microphone model (Q83178864), digital camera model (Q20741022), and potentially others, in addition to camera model (Q20888659). Commons has a lot of "Taken with" categories for camera lenses ant the like, and it would really make sense to connect e.g. Category:Taken with SMC Pentax-D FA 100mm F2.8 Macro WR (Q63616432) with SMC Pentax-D FA 100mm F2.8 Macro WR (Q25038219) the same way we connect Category:Taken with Sony DSLR-A550 (Q20857535) with Sony Alpha 550 (Q1041905). This would also be in line with how captured with (P4082) was extended for non-camera devices fro use in SDC. See also Property talk:P4082 and C:Commons_talk:Structured_data/Modeling#Taken_with_some_camera. El Grafo (talk) 12:40, 31 August 2022 (UTC)[reply]

 Support Dhx1 (talk) 00:38, 1 September 2022 (UTC)[reply]
 Comment there already exists an exception for a single lens (Panasonic Leica D Vario-Elmar 14-150mm F3.5-5.6 Asph Mega OIS (Q24912725)), which supports my case but doesn't seem to be the right way for implementing this. El Grafo (talk) 08:02, 7 September 2022 (UTC)[reply]

Analogue cameras should be excluded from the exif rule[edit]

Analogue cameras Q484992 shouldn't ask to add "Exif make" and "Exif model". Ivanbranco (talk) 02:08, 8 December 2022 (UTC)[reply]