Property talk:P7296

From Wikidata
Jump to navigation Jump to search

Documentation

Lower Austrian Museum ID
identifier to link with the Lower Austrian database of museums
[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)
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/P7296#Single value, SPARQL
Distinct 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/P7296#Unique value, SPARQL (every item), SPARQL (by value)
Format “[\d]+: value must be formatted using this pattern (PCRE syntax). (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/P7296#Format, SPARQL
Type “museum (Q33506): item must contain property “instance of (P31)” with classes “museum (Q33506)” or their subclasses (defined using subclass of (P279)). (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/P7296#Type Q33506, SPARQL
Item “country (P17): Austria (Q40): Items with this property should also have “country (P17): Austria (Q40)”. (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/P7296#Item P17, search, SPARQL
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/P7296#Item P131, search, SPARQL
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (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/P7296#Item P625, 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/P7296#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): 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/P7296#Scope, SPARQL

Query statements missing Qualifier (P7296)[edit]

SELECT ?museum ?ID WHERE {
  ?museum p:P7296 ?MuseenNoeID.
  ?MuseenNoeID ps:P7296 ?ID.
  FILTER(NOT EXISTS { ?MuseenNoeID pq:P1932 ?statedas. })
}
Try it!

FormatterURL - musid oder oid[edit]

Hallo @Braveheart:, du hast die FormatterURL der Museums ID wieder "zurückgestellt". Vielleicht können wir hier nochmals strukturiert darüber disktuieren: Die Property wurde seinerzeit von mir mit Verwendung des Parameters oid angelegt, da dieser Wert auf der Website selbst einsehbar ist, ich diesen parsen konnte und dieser auch manuell leicht korrigiert, nachgetragen, eingesehen werden kann. @Karl Gruber: bekam vom Museumsmanagement Anfang des Jahres eine Liste mit der "musid" und schlug vor, den Wert diesbezüglich zu korrigieren. Wir haben jetzt leider noch immer ein Durcheinander was die Verwendung der beiden IDs betrifft in Wikidata. Da ja initial bereits eine große Menge an IDs mit oid eingetragen wurden, aber noch nicht alle korrigiert wurden.

SELECT * WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?item wdt:P7296 ?MusNoeID. 
}
Try it!

musid-Werte

SELECT * WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?item wdt:P7296 ?MusNoeID. 
  FILTER(STRLEN(?MusNoeID)=4)
}
Try it!

oid-Werte

SELECT * WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?item wdt:P7296 ?MusNoeID. 
  FILTER(STRLEN(?MusNoeID)!=4)
}
Try it!

4-stellige Werte weisen auf musid hin, der Rest ist oid. Persönlich habe ich eine Affinität zur oid, aus den oben genannten Gründen. Sollte die Website einmal tatsächlich umgestellt werden und die musid eine stärkere Verwendung findet, sollten wir natürlich auch nachziehen. --Mfchris84 (talk) 06:02, 8 May 2020 (UTC)[reply]

Zukunftsträchtiger wäre gleich die musid, denn oid heißt eben oldOD und wird zukünftig abgestellt. Also warum doppelt moppeln. lg K@rl (talk) 07:42, 8 May 2020 (UTC)[reply]
@Mfchris84: Musid wär für mich auch ok, sofern wirs schaffen, den Mix-n-match-Katalog für die Museen in NÖ umzustellen, weil der momentan falsche Links einträgt - drum hab ich das geändert, bevor ich draufgekommen bin, dass das sowohl auf die ein oder andere Art nicht passt. Hast du eine Idee, wie man den Katalog umstellen kann? LG, Braveheart (talk) 08:45, 8 May 2020 (UTC)[reply]
@Braveheart: - der Mix'n'match Katalog war mir diesbezüglich eh auch ein Dorn im Auge... Wir können diesen von einem Admin zb User:Gerwoman deaktivieren lassen und einen neuen einstellen. Updates o.ä. gibt es nicht. Das kann ich gern veranlassen, wenn wir uns hier jetzt tatsächlich auf musid einigen? @Karl Gruber:, ich hab die Mail nicht mehr gefunden, aber gab es da nicht irgendein Museum, welches sich nicht per musid auflösen ließ, sehr wohl aber via oid? Und steht oid wirklich für oldID und nicht für ObjectID? --Mfchris84 (talk) 08:50, 8 May 2020 (UTC)[reply]
Ja, hab meine Änderung von gestern bereits rückgängig gemacht :-) Schade, dass man die zu verlinkende URL nicht mehr ändern kann, hast du noch die Originaldaten? Braveheart (talk) 08:54, 8 May 2020 (UTC)[reply]
Was meinst du mit "verlinkende URL" genau in der Property oder in M'n'M? Die Originaldaten habe ich von der Website gescraped - die gibt es hier. Die neue Liste habe ich lokal von Karl bekommen. Ich kann dann gerne den M'n'M-Katalog anlegen bzw. die Deaktivierung veranlassen. --Mfchris84 (talk) 09:02, 8 May 2020 (UTC)[reply]

Neuer Mix'n'Match-Katalog online Unter 3549 ist der neue Mix'n'Match-Katalog für die NÖ Museen online, unter Verwendung der musid. --Mfchris84 (talk) 09:22, 8 May 2020 (UTC)[reply]

(BK)Du hast recht, durch das bin ich draufgekommen. Es handelte sich dabei aber um eine Falscheintragung oder ein aufgelöstes beim MUM --K@rl (talk) 09:22, 8 May 2020 (UTC)[reply]
Vielen Dank! IDs Katalogeinträge passen jetzt auch, im Gegensatz zum vorherigen Katalog :-) Braveheart (talk) 10:19, 8 May 2020 (UTC)[reply]