focusNode.add(rdfs.label, graph.langString(germanLabel, 'de'))
// Returns true if the focusNode has no rdfs:label that has language 'de' !focusNode.values(rdfs.label).some((label) => label instanceof LiteralNode && label.lang == 'de')
A sample ModifyAction that asks the user to enter a (German) label and then adds this to the currently selected focus node. The action is available from the Modify menu of any instance of owl:Thing (or a subclass of that), unless the instance already has a label with @de as language tag. You can try this out using the New Zealand instance of Country. Once you add a German language, the action will be disabled.
The label that shall be added to the selected asset. Should be in German :)
Just a simple example class with a label property.