Properties

Each Wikidata property has a unique identifier build of “P” followed by a natural number. For instance “P40” denotes the property “child” that is used to connect Wikidata items about parents with items about their childs. wdmapper requires properties to have an URL template and to be of datatype external identifier: this applies for instance to “P214” but not to “P40”.

Properties in wdmapper can be referred to in different ways. The following examples execute the command line client with default command head:

  • property by identifier

    $ wdmapper P214
    
  • property by URI or URL

    $ wdmapper http://www.wikidata.org/entity/P214
    $ wdmapper https://www.wikidata.org/wiki/Property:P214
    
  • property by URL template. The placeholder $1 can be omitted at the end of an URL

    $ wdmapper 'https://viaf.org/viaf/$1'
    $ wdmapper https://viaf.org/viaf/
    
  • property by label (in any language)

    $ wdmapper 'VIAF ID'
    

Properties can be specified as arguments and as part of mapping metadata in BEACON input format.

Each mapping has

  • a target property for direct links from Wikidata to another authority file or
  • a source property and a target property for indirect links between two authority files.