Property talk:P2033
Documentation
Commons category for photos taken with that camera model or model line
List of violations of this constraint: Database reports/Constraint violations/P2033#Type Q10929058, Q20888711, Q811701, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2033#Target required claim P971, SPARQL
if [item A] has this property (category for pictures taken with this camera (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#Item P2009, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2033#Item P2010, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P2033#Entity types
This property is being used by:
Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
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)
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)
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)
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)
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?
editI'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)
- Support Dhx1 (talk) 00:38, 1 September 2022 (UTC)
- Comment there already exists an exception for a single lens (World (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)
Analogue cameras should be excluded from the exif rule
editAnalogue cameras Q484992 shouldn't ask to add "Exif make" and "Exif model". Ivanbranco (talk) 02:08, 8 December 2022 (UTC)
- I agree, but how can this be expressed? Grendelkhan (talk) 09:00, 27 May 2024 (UTC)