query-902dbfc314702f9b9de6c88ceb1f8b16
Jakob's thoughtsThanks alot for this well thought summary, especially the basic assumptions. I have feedback on three issues: Many works only have a single edition. I'd object having to create two items in this cases. One item for both work and edition (and possibly physical as well, for instance manuscripts) is enough as long as there are no other more editions or translations. ), this has to be documented very well.(P227)GND ID . Unfortunately some identifier properties can be used for both, work identifier and edition identifier (e.g. (P1085)LibraryThing work ID Yes, works should only have work identifiers, such as 12:53, 26 August 2016 (UTC)) talk (AubreyYes. Many books just have a Wikipedia article connected to one WD item, some have just a Wikisource transcription (connected to another Wikidata item). It's ok to have just one item when you don't need two. This is why I added "Assumption 2". , no matter what they are instance of. I suppose that nothing should be edition of another edition but reality is always more complex than expected. The following query seems to reveal many errors:(P629)edition or translation of . Edition items are exactly those items that make use of (P31)instance of Don't overestimate
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?work ?workLabel ?wtf ?wtfLabel ?edition ?editionLabel WHERE {
?edition wdt:P629 ?wtf . ?wtf wdt:P629 ?work .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}