Wikidata/Wikidata-Toolkit

DatamodelConverter is missing support for some entity types

wetneb opened this issue · 0 comments

This should also have MediaInfoIdValue and others (lexeme, form, sense):

public Value visit(EntityIdValue value) {
if (value instanceof ItemIdValue) {
return copy((ItemIdValue) value);
} else if (value instanceof PropertyIdValue) {
return copy((PropertyIdValue) value);
} else {
throw new UnsupportedOperationException(
"Cannot convert entity id value: " + value.getClass());
}
}