Skip to content

Output format quicks #32

@jneubert

Description

@jneubert

Not sure if "quicks" output format is supposed to survive - if not, the following is not relevant.

I would expect that quicks output gives me input statements for https://tools.wmflabs.org/wikidata-todo/quick_statements.php - that means: valid and executable lines according to the specification, perhaps intermingled with other information marked a comment.

The following does not look like commands (in that lines do not start with an item identifier:

$ wdmapper check P227 P2428 -i /opt/repec-ras/var/ras/example2/map/gnd_ras_mapping.test.csv -t quicks
# skipping indirect link 124825109 -> Q? -> psn9
Christian von Hirschhausen (GND PRESENT BUT NOT LINKED) P227    "170947386"
Christian von Hirschhausen (GND PRESENT BUT NOT LINKED) P2428   "phi58"
-Q1082503       P227    "170947386"

Since the wfmlabs tool requires TAB (\t) separators and input by copy&paste, it could make sense to mask the TAB delimiter, because tabs may get replaced by blanks when copied over from a terminal window. I used something printable (e.g. "___") in such cases and replaced that with actual TABs in an intermediate step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions