Global

Members

# all

Accept all qualifiers.

# overlap

There must be at least one claim that is shared by the subject and object.

# precision

All qualifiers of the object statement must be equally or less precise. And for every qualifier property in the object there must be a qualifier using the same property in the subject.

# precision

All claims of the object reference must be equally or less precise. And for every qualifier property in the object there must be a qualifier using the same property in the subject.

Methods

# (async) WikidataPain.(command) → {Promise.<void>}

Executes a single adhoc-command.
Parameters:
Name Type Description
command Object
Properties
Name Type Description
action string
claim any
config Object
Properties
Name Type Attributes Default Description
allowCreate boolean <optional>
false
entity string ID of entity. Use `current` for current entities' ID.
method 'new' | 'refine'
qualifierFilterCriterium WikidataPain.QualifierMatchingCriterium
referenceRefinableCriterium WikidataPain.ReferenceMatchingCriterium
Returns:
Type
Promise.<void>

Type Definitions

# DissectedTime

Type:
  • Object
Properties
Name Type Description
day number
month number
precision number
time string
year number

# ValueTransformer()

Function used to transform a value. First argument is the value, second argument is the type of datavalue.