Issue #36
Entity is also imported if there exists already an entity with the same label in one language.
Entity is also imported if there exists already an entity with the same label in one language.
Can you clarify whether that’s the current behavior (without the PR) or the one introduced by this PR? At least when I used WikibaseImport in combination with WikibaseQualityConstraints, I wanted entities to not be imported if they already existed.
This is the new behavior. The problem was that in Wikidata there are different entities with exactly the same label in at least one language. See the corresponding issue for an example. So he import was prevented. If the entity was already imported from Wikidata it will not be imported again since the tool keeps track of the already imported entities in the database. If the user has created already an entity with the same name he must merge the entities afterwards I would say. But preventing the import at all will not help, or?
Hi,
can we discuss more about this commit .... My problem is that I cannot import some entities like the EU on a fresh installation which is something I really would expect to work. The reason is that two properties of EU with different Q-id have the same label in some strange language, namely latvisk. This is the workaround I found. Entities with the same Q in wikidata will NOT be reinserted!