wikibase-cli 16.3.2 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/wb-add-alias.js +12 -0
- package/bin/wb-add-badge.js +12 -0
- package/bin/wb-add-claim.js +14 -0
- package/bin/wb-add-qualifier.js +14 -0
- package/bin/wb-add-reference.js +14 -0
- package/bin/wb-aliases.js +4 -0
- package/bin/wb-badges.js +18 -0
- package/bin/{wb-claims → wb-claims.js} +19 -14
- package/bin/{wb-config → wb-config.js} +8 -6
- package/bin/{wb-convert → wb-convert.js} +11 -12
- package/bin/wb-create-entity.js +10 -0
- package/bin/{wb-data → wb-data.js} +15 -11
- package/bin/wb-delete-entity.js +10 -0
- package/bin/wb-description.js +4 -0
- package/bin/wb-edit-entity.js +10 -0
- package/bin/{wb-generate-template → wb-generate-template.js} +24 -13
- package/bin/{wb-hub → wb-hub.js} +10 -8
- package/bin/{wb-id → wb-id.js} +14 -11
- package/bin/wb-label.js +4 -0
- package/bin/{wb-lang → wb-lang.js} +8 -8
- package/bin/wb-lemma.js +4 -0
- package/bin/{wb-merge-entity → wb-merge-entity.js} +6 -4
- package/bin/wb-move-claim.js +20 -0
- package/bin/wb-move-qualifier.js +21 -0
- package/bin/{wb-open → wb-open.js} +23 -22
- package/bin/{wb-props → wb-props.js} +8 -9
- package/bin/{wb-query → wb-query.js} +13 -9
- package/bin/wb-remove-alias.js +12 -0
- package/bin/wb-remove-badge.js +12 -0
- package/bin/wb-remove-claim.js +11 -0
- package/bin/wb-remove-description.js +16 -0
- package/bin/wb-remove-label.js +16 -0
- package/bin/wb-remove-qualifier.js +15 -0
- package/bin/wb-remove-reference.js +15 -0
- package/bin/wb-remove-sitelink.js +16 -0
- package/bin/{wb-revisions → wb-revisions.js} +15 -11
- package/bin/{wb-search → wb-search.js} +17 -15
- package/bin/wb-set-alias.js +12 -0
- package/bin/wb-set-description.js +12 -0
- package/bin/wb-set-label.js +12 -0
- package/bin/wb-set-sitelink.js +17 -0
- package/bin/{wb-sparql → wb-sparql.js} +16 -12
- package/bin/{wb-summary → wb-summary.js} +3 -3
- package/bin/{wb-update-claim → wb-update-claim.js} +9 -6
- package/bin/wb-update-qualifier.js +14 -0
- package/bin/wb.js +27 -0
- package/bin/{wd → wd.js} +2 -3
- package/index.js +7 -1
- package/lib/apply_env_and_config_default.js +7 -5
- package/lib/chalk.js +12 -0
- package/lib/command_with_template_custom_help.js +7 -7
- package/lib/common_command_args_parser.js +7 -10
- package/lib/common_errors.js +5 -7
- package/lib/common_options.js +23 -24
- package/lib/config/config.js +10 -5
- package/lib/config/credentials_config.js +7 -6
- package/lib/config/file_operations.js +9 -8
- package/lib/config/file_path.js +11 -8
- package/lib/config/parameters.js +11 -10
- package/lib/convert_ids.js +10 -8
- package/lib/copy.js +2 -2
- package/lib/drop_non_selected_subprops.js +3 -3
- package/lib/edit/assert_credentials.js +3 -3
- package/lib/edit/edit_command.js +19 -19
- package/lib/edit/init_credentials.js +11 -11
- package/lib/edit/parse_batch_line.js +2 -2
- package/lib/edit/parse_object_value.js +6 -5
- package/lib/edit/prompt.js +7 -5
- package/lib/edit/validate_instance_credentials.js +2 -2
- package/lib/entity_attribute_command.js +10 -10
- package/lib/entity_attribute_parser.js +8 -8
- package/lib/entity_data_parser.js +14 -11
- package/lib/errors.js +3 -3
- package/lib/execute_function.js +4 -4
- package/lib/exit_on_missing.js +11 -12
- package/lib/fetch_and_log_entity_revision.js +18 -15
- package/lib/fetch_and_log_guid_data.js +19 -11
- package/lib/fetch_and_log_ids_data.js +17 -16
- package/lib/fetch_and_log_property_claims_data.js +18 -10
- package/lib/fetch_lang_props.js +13 -12
- package/lib/filter_claims_properties.js +4 -4
- package/lib/format_properties_data.js +2 -2
- package/lib/format_statement_element_value.js +3 -3
- package/lib/fs.js +27 -25
- package/lib/generate_describe_sparql_query.js +3 -3
- package/lib/generate_sample_sparql_query.js +1 -1
- package/lib/generate_select_sparql_query.js +9 -6
- package/lib/get_cache_folder_path.js +5 -5
- package/lib/get_claims_texts.js +8 -7
- package/lib/get_entities.js +6 -5
- package/lib/get_entities_by_batches.js +12 -7
- package/lib/get_entities_labels.js +3 -5
- package/lib/get_entities_schemas.js +7 -7
- package/lib/get_folder_path.js +8 -6
- package/lib/get_lang_props.js +17 -16
- package/lib/get_pattern_filter.js +18 -9
- package/lib/get_properties_data.js +5 -5
- package/lib/get_redirected_sitelink_title.js +4 -4
- package/lib/get_sitelink_url.js +9 -8
- package/lib/get_stdin_input.js +1 -1
- package/lib/get_ttl_entities.js +8 -8
- package/lib/global_options_help.js +1 -1
- package/lib/hash_string.js +4 -2
- package/lib/json.js +5 -0
- package/lib/local_lang.js +2 -1
- package/lib/log_claims.js +12 -12
- package/lib/log_command_examples.js +3 -3
- package/lib/log_ndjson.js +1 -1
- package/lib/make_sparql_query.js +29 -25
- package/lib/matching_langs.js +4 -6
- package/lib/minimize_claims.js +3 -5
- package/lib/object_arg_parser.js +12 -17
- package/lib/open.js +7 -7
- package/lib/output.js +37 -35
- package/lib/output_templates.js +41 -31
- package/lib/parse_command_utils.js +14 -15
- package/lib/parse_entity_type.js +2 -2
- package/lib/parse_props.js +7 -4
- package/lib/parse_simplify_options.js +1 -1
- package/lib/path.js +3 -2
- package/lib/pluralize.js +2 -2
- package/lib/polymorphic_command_args_parser.js +11 -9
- package/lib/program.js +9 -9
- package/lib/properties.js +22 -23
- package/lib/queries/all_instances.js +2 -2
- package/lib/queries/all_properties.js +1 -1
- package/lib/read_ids_from_stdin.js +3 -3
- package/lib/request.js +22 -23
- package/lib/request_headers.js +8 -2
- package/lib/reset_properties.js +4 -4
- package/lib/sparql_query_command.js +10 -8
- package/lib/stringify_as_js_function.js +3 -3
- package/lib/summary_parser.js +43 -13
- package/lib/tabularize.js +7 -7
- package/lib/tolerant_id_parser.js +21 -18
- package/lib/types.js +4 -6
- package/lib/utils.js +11 -13
- package/lib/validate.js +2 -0
- package/lib/validate_function_args.js +2 -2
- package/lib/value_parsers.js +2 -2
- package/lib/wbk.js +4 -3
- package/lib/wellknown_queries.js +6 -5
- package/metadata/add-alias.js +6 -4
- package/metadata/add-badge.js +5 -3
- package/metadata/add-claim.js +5 -5
- package/metadata/add-qualifier.js +6 -4
- package/metadata/add-reference.js +6 -4
- package/metadata/aliases.js +6 -4
- package/metadata/badges.js +3 -3
- package/metadata/claims.js +4 -4
- package/metadata/config.js +5 -5
- package/metadata/convert.js +4 -4
- package/metadata/create-entity.js +8 -8
- package/metadata/data.js +4 -4
- package/metadata/delete-entity.js +7 -7
- package/metadata/description.js +6 -4
- package/metadata/edit-entity.js +10 -10
- package/metadata/generate-template.js +4 -4
- package/metadata/hub.js +3 -3
- package/metadata/id.js +4 -4
- package/metadata/label.js +5 -3
- package/metadata/lang.js +4 -4
- package/metadata/lemma.js +6 -4
- package/metadata/merge-entity.js +6 -6
- package/metadata/move-claim.js +6 -4
- package/metadata/move-qualifier.js +6 -4
- package/metadata/open.js +4 -4
- package/metadata/props.js +4 -4
- package/metadata/query.js +3 -3
- package/metadata/remove-alias.js +6 -4
- package/metadata/remove-badge.js +5 -3
- package/metadata/remove-claim.js +6 -4
- package/metadata/remove-description.js +5 -3
- package/metadata/remove-label.js +5 -3
- package/metadata/remove-qualifier.js +6 -4
- package/metadata/remove-reference.js +6 -4
- package/metadata/remove-sitelink.js +5 -3
- package/metadata/revisions.js +4 -4
- package/metadata/search.js +3 -3
- package/metadata/set-alias.js +6 -4
- package/metadata/set-description.js +6 -4
- package/metadata/set-label.js +6 -4
- package/metadata/set-sitelink.js +5 -3
- package/metadata/sparql.js +4 -4
- package/metadata/summary.js +5 -5
- package/metadata/update-claim.js +5 -5
- package/metadata/update-qualifier.js +6 -4
- package/package.json +24 -16
- package/bin/wb +0 -22
- package/bin/wb-add-alias +0 -9
- package/bin/wb-add-badge +0 -9
- package/bin/wb-add-claim +0 -11
- package/bin/wb-add-qualifier +0 -11
- package/bin/wb-add-reference +0 -11
- package/bin/wb-aliases +0 -2
- package/bin/wb-badges +0 -18
- package/bin/wb-create-entity +0 -5
- package/bin/wb-delete-entity +0 -7
- package/bin/wb-description +0 -2
- package/bin/wb-edit-entity +0 -5
- package/bin/wb-label +0 -2
- package/bin/wb-lemma +0 -2
- package/bin/wb-move-claim +0 -17
- package/bin/wb-move-qualifier +0 -18
- package/bin/wb-remove-alias +0 -9
- package/bin/wb-remove-badge +0 -9
- package/bin/wb-remove-claim +0 -8
- package/bin/wb-remove-description +0 -13
- package/bin/wb-remove-label +0 -13
- package/bin/wb-remove-qualifier +0 -12
- package/bin/wb-remove-reference +0 -12
- package/bin/wb-remove-sitelink +0 -13
- package/bin/wb-set-alias +0 -9
- package/bin/wb-set-description +0 -9
- package/bin/wb-set-label +0 -9
- package/bin/wb-set-sitelink +0 -14
- package/bin/wb-update-qualifier +0 -11
- package/lib/valide.js +0 -4
package/metadata/edit-entity.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
export default {
|
|
4
4
|
alias: 'ee',
|
|
5
5
|
args: '<data>',
|
|
6
6
|
description: 'Edit an existing entity',
|
|
7
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
8
8
|
examples: [
|
|
9
9
|
{
|
|
10
10
|
args: "'{\"id\":\"Q4115189\",\"labels\":{\"en\":\"a label\",\"fr\":\"un label\"},\"descriptions\":{\"en\":\"some description\",\"fr\":\"une description\"},\"claims\":{\"P1775\":[\"Q3576110\",\"Q12206942\"],\"P2002\":\"bulgroz\"}}'",
|
|
11
|
-
comment: 'pass data as JSON'
|
|
11
|
+
comment: 'pass data as JSON',
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
args: './existing_item_data.json',
|
|
15
|
-
comment: 'pass data as a JSON file path'
|
|
15
|
+
comment: 'pass data as a JSON file path',
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
args: './existing_item_data.js',
|
|
19
|
-
comment: 'pass data from a JS module exporting an object'
|
|
19
|
+
comment: 'pass data from a JS module exporting an object',
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
args: './existing_item_data.js Q123 abc 456',
|
|
23
|
-
comment: 'pass data from a JS module exporting a function (the additional arguments will be passed to the function)'
|
|
23
|
+
comment: 'pass data from a JS module exporting a function (the additional arguments will be passed to the function)',
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
args: './existing_item_data.json --instance http://some/wikibase/instance/w/api.php --sparql-endpoint http://some/sparql/endpoint',
|
|
27
|
-
comment: 'in case you use are not editing wikidata.org, make sure to specify the custom Wikibase instance and its SPARQL endpoint, as claims formatting and validation will depend on properties types that are retrieved from the SPARQL endpoint'
|
|
28
|
-
}
|
|
29
|
-
]
|
|
27
|
+
comment: 'in case you use are not editing wikidata.org, make sure to specify the custom Wikibase instance and its SPARQL endpoint, as claims formatting and validation will depend on properties types that are retrieved from the SPARQL endpoint',
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
alias: 'gt',
|
|
3
3
|
args: '<entity>',
|
|
4
4
|
description: "output the pre-formatted item's data optimized for edition with `wd edit-item`",
|
|
@@ -8,13 +8,13 @@ module.exports = {
|
|
|
8
8
|
clipboard: false,
|
|
9
9
|
json: true,
|
|
10
10
|
instance: true,
|
|
11
|
-
sparqlEndpoint: false
|
|
11
|
+
sparqlEndpoint: false,
|
|
12
12
|
},
|
|
13
13
|
examples: [
|
|
14
14
|
{ args: 'Q123', comment: 'get Q123 pre-formatted data' },
|
|
15
15
|
{ args: 'Q123 --props claims,sitelinks', comment: 'only get data required to edit the claims and sitelinks' },
|
|
16
16
|
{ args: 'Q123 --props claims.P31,sitelinks.frwiki', comment: 'only get data required to edit the P31 claims and the frwiki sitelink' },
|
|
17
17
|
{ args: 'Q123 --format js', comment: 'get the template in JS (easier to edit manually than JSON and still compatible with create-entity and edit-entity commands)' },
|
|
18
|
-
{ args: 'Q123 Q124 Q125', comment: 'get several templates at once as NDJSON' }
|
|
19
|
-
]
|
|
18
|
+
{ args: 'Q123 Q124 Q125', comment: 'get several templates at once as NDJSON' },
|
|
19
|
+
],
|
|
20
20
|
}
|
package/metadata/hub.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
alias: 'h',
|
|
3
3
|
args: '<query>',
|
|
4
4
|
description: 'Open a web page using the Hub, see documentation: https://tools.wmflabs.org/hub/',
|
|
@@ -8,12 +8,12 @@ module.exports = {
|
|
|
8
8
|
clipboard: true,
|
|
9
9
|
json: true,
|
|
10
10
|
instance: false,
|
|
11
|
-
sparqlEndpoint: false
|
|
11
|
+
sparqlEndpoint: false,
|
|
12
12
|
},
|
|
13
13
|
examples: [
|
|
14
14
|
{ args: 'viaf:24597135', comment: 'Find the entity having 24597135 as VIAF id' },
|
|
15
15
|
{ args: '--open viaf:24597135 site=inventaire', comment: 'Find the entity having 24597135 as VIAF id and open the corresponding page on inventaire.io' },
|
|
16
16
|
{ args: 'Q3 property=image width=300', comment: 'Get the image illustrating Q3 in 300px' },
|
|
17
17
|
{ args: 'Q3 --url', comment: 'Just return the query URL' },
|
|
18
|
-
]
|
|
18
|
+
],
|
|
19
19
|
}
|
package/metadata/id.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
args: '<title>',
|
|
3
3
|
description: 'get a Wikidata id from a Wikipedia article title',
|
|
4
4
|
options: {
|
|
@@ -7,10 +7,10 @@ module.exports = {
|
|
|
7
7
|
clipboard: true,
|
|
8
8
|
json: false,
|
|
9
9
|
instance: true,
|
|
10
|
-
sparqlEndpoint: false
|
|
10
|
+
sparqlEndpoint: false,
|
|
11
11
|
},
|
|
12
12
|
examples: [
|
|
13
13
|
{ args: 'Cantabria', comment: 'get the Wikidata id corresponding to the article "Cantabria" in Wikipedia' },
|
|
14
|
-
{ args: 'science politique --lang fr', comment: 'get the Wikidata id corresponding to the article "science politique" in the French Wikipedia' }
|
|
15
|
-
]
|
|
14
|
+
{ args: 'science politique --lang fr', comment: 'get the Wikidata id corresponding to the article "science politique" in the French Wikipedia' },
|
|
15
|
+
],
|
|
16
16
|
}
|
package/metadata/label.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import { entityAttributeCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'l',
|
|
3
5
|
args: '<entity>',
|
|
4
6
|
description: "display the entity's label",
|
|
5
|
-
options:
|
|
7
|
+
options: entityAttributeCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: 'Q123', comment: 'fetch the label for the entity Q123' },
|
|
8
10
|
{ args: 'Q123 --lang ja', comment: 'fetch the label for the entity Q123 in Japanese' },
|
|
9
11
|
{ args: 'Q1 Q2 Q3 P6', comment: 'fetch labels for several entities' },
|
|
10
|
-
]
|
|
12
|
+
],
|
|
11
13
|
}
|
package/metadata/lang.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
args: '<language code or wikidata id>',
|
|
3
3
|
description: 'identify language code and return associated data',
|
|
4
4
|
options: {
|
|
@@ -7,10 +7,10 @@ module.exports = {
|
|
|
7
7
|
clipboard: true,
|
|
8
8
|
json: true,
|
|
9
9
|
instance: false,
|
|
10
|
-
sparqlEndpoint: false
|
|
10
|
+
sparqlEndpoint: false,
|
|
11
11
|
},
|
|
12
12
|
examples: [
|
|
13
13
|
{ args: 'ak', comment: 'find data associated with the Akan language from its language code' },
|
|
14
|
-
{ args: 'Q28026', comment: 'find data associated with the Akan language from its Wikidata item id' }
|
|
15
|
-
]
|
|
14
|
+
{ args: 'Q28026', comment: 'find data associated with the Akan language from its Wikidata item id' },
|
|
15
|
+
],
|
|
16
16
|
}
|
package/metadata/lemma.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { entityAttributeCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
args: '<lexeme>',
|
|
3
5
|
description: "display the lexeme's lemma",
|
|
4
|
-
options:
|
|
6
|
+
options: entityAttributeCommandsOptions,
|
|
5
7
|
examples: [
|
|
6
8
|
{ args: 'L525', comment: 'fetch the lemma for the lexeme L525' },
|
|
7
|
-
{ args: 'L525 --lang ja', comment: 'fetch the lemma for the lexeme L525 in Japanese' }
|
|
8
|
-
]
|
|
9
|
+
{ args: 'L525 --lang ja', comment: 'fetch the lemma for the lexeme L525 in Japanese' },
|
|
10
|
+
],
|
|
9
11
|
}
|
package/metadata/merge-entity.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
export default {
|
|
4
4
|
alias: 'me',
|
|
5
5
|
args: '<from-id> <to-id>',
|
|
6
6
|
description: 'Merge an entity into another',
|
|
7
|
-
options: { keepOldest: true, ...
|
|
7
|
+
options: { keepOldest: true, ...editCommandsOptions },
|
|
8
8
|
examples: [
|
|
9
9
|
{
|
|
10
10
|
args: 'Q1 Q2',
|
|
11
|
-
comment: 'merge Q1 into Q2'
|
|
12
|
-
}
|
|
13
|
-
]
|
|
11
|
+
comment: 'merge Q1 into Q2',
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
14
|
}
|
package/metadata/move-claim.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'mc',
|
|
3
5
|
args: '<guid|property-claims-id> <target-entity-id> <target-property-id>',
|
|
4
6
|
description: 'move claims from an entity to another and/or from a property to another',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: "'Q4115189$13681798-47F7-4D51-B3B4-BA8C7E044E1F' Q4115189 P20", comment: 'change the property of a claim (without changing entity)' },
|
|
8
10
|
{ args: "'Q4115189$13681798-47F7-4D51-B3B4-BA8C7E044E1F' Q13406268 P19", comment: 'move the claim to another entity (without changing the property)' },
|
|
9
11
|
{ args: "'Q4115189$13681798-47F7-4D51-B3B4-BA8C7E044E1F' Q13406268 P20", comment: 'move the claim to another entity and another property' },
|
|
10
12
|
{ args: "'Q4115189#P19' Q4115189 P20", comment: 'move all Q4115189 P19 claims to P20 (without changing entity)' },
|
|
11
13
|
{ args: "'Q4115189#P19' Q13406268 P19", comment: 'move all Q4115189 P19 claims to Q13406268 (without changing the property)' },
|
|
12
|
-
{ args: "'Q4115189#P19' Q13406268 P20", comment: 'move all Q4115189 P19 claims to Q13406268 P20' }
|
|
13
|
-
]
|
|
14
|
+
{ args: "'Q4115189#P19' Q13406268 P20", comment: 'move all Q4115189 P19 claims to Q13406268 P20' },
|
|
15
|
+
],
|
|
14
16
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'mq',
|
|
3
5
|
args: '<guid> [hash] <old-property-id> <new-property-id>',
|
|
4
6
|
description: 'move qualifiers of a claim from one property to another',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: "'Q4115189$13681798-47F7-4D51-B3B4-BA8C7E044E1F' P2310 P2311", comment: 'move all P2310 qualifiers of this claim to P2311' },
|
|
8
|
-
{ args: "'Q4115189$13681798-47F7-4D51-B3B4-BA8C7E044E1F' 90b9b567dc01112e7d9dee98eb5f5ad50ae803bb P2310 P2311", comment: 'move only the P2310 qualifier with this hash to P2311' }
|
|
9
|
-
]
|
|
10
|
+
{ args: "'Q4115189$13681798-47F7-4D51-B3B4-BA8C7E044E1F' 90b9b567dc01112e7d9dee98eb5f5ad50ae803bb P2310 P2311", comment: 'move only the P2310 qualifier with this hash to P2311' },
|
|
11
|
+
],
|
|
10
12
|
}
|
package/metadata/open.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
alias: 'o',
|
|
3
3
|
args: '<entity>',
|
|
4
4
|
description: "open the entity's page on Wikidata website",
|
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
|
8
8
|
clipboard: true,
|
|
9
9
|
json: false,
|
|
10
10
|
instance: true,
|
|
11
|
-
sparqlEndpoint: false
|
|
11
|
+
sparqlEndpoint: false,
|
|
12
12
|
},
|
|
13
13
|
examples: [
|
|
14
14
|
{ args: 'Q44559', comment: 'open https://www.wikidata.org/entity/Q44559 in your default browser' },
|
|
@@ -21,6 +21,6 @@ module.exports = {
|
|
|
21
21
|
{ args: 'Q44559 --wikipedia', comment: 'open the article on Exoplanets in Wikipedia' },
|
|
22
22
|
{ args: 'Q44559 --wikipedia --lang pt', comment: 'open the article on Exoplanets in the Portugese Wikipedia' },
|
|
23
23
|
{ args: 'Q44559 --url', comment: 'outputs the URL without opening the browser' },
|
|
24
|
-
{ args: 'Q44559 L525 P123', comment: 'open several pages at once' }
|
|
25
|
-
]
|
|
24
|
+
{ args: 'Q44559 L525 P123', comment: 'open several pages at once' },
|
|
25
|
+
],
|
|
26
26
|
}
|
package/metadata/props.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
alias: 'p',
|
|
3
3
|
args: '',
|
|
4
4
|
description: 'output the list of all Wikidata properties',
|
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
|
8
8
|
clipboard: true,
|
|
9
9
|
json: true,
|
|
10
10
|
instance: true,
|
|
11
|
-
sparqlEndpoint: true
|
|
11
|
+
sparqlEndpoint: true,
|
|
12
12
|
},
|
|
13
13
|
examples: [
|
|
14
14
|
{ args: '', comment: 'output all the properties and their labels' },
|
|
@@ -19,6 +19,6 @@ module.exports = {
|
|
|
19
19
|
{ args: '--type Url ref', comment: 'filter the properties to keep only those of type Url matching the pattern "ref"' },
|
|
20
20
|
{ args: '--lang sv', comment: 'output all the properties with their label in Swedish' },
|
|
21
21
|
{ args: '--no-cache', comment: 'ignore properties cache: fetch properties from the SPARQL endpoint, even if already cached' },
|
|
22
|
-
{ args: '--reset', comment: 'delete all the cached properties files to get fresh versions on the next execution' }
|
|
23
|
-
]
|
|
22
|
+
{ args: '--reset', comment: 'delete all the cached properties files to get fresh versions on the next execution' },
|
|
23
|
+
],
|
|
24
24
|
}
|
package/metadata/query.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
alias: 'q',
|
|
3
3
|
args: '',
|
|
4
4
|
description: "generate and run a simple SPARQL query by passing a statement's subject, property, or object, or a couple of those",
|
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
|
8
8
|
clipboard: false,
|
|
9
9
|
json: true,
|
|
10
10
|
instance: false,
|
|
11
|
-
sparqlEndpoint: true
|
|
11
|
+
sparqlEndpoint: true,
|
|
12
12
|
},
|
|
13
13
|
examples: [
|
|
14
14
|
{ args: '--property P2002 --object timberners_lee', comment: 'find out which entity as the twitter username (P2002) "timberners_lee"' },
|
|
@@ -26,5 +26,5 @@ module.exports = {
|
|
|
26
26
|
{ args: '-p P31 -o Q44559 --limit 5 --open', comment: 'open the query in the Query Service GUI' },
|
|
27
27
|
{ args: '--sample --sparql-endpoint https://bnb.data.bl.uk/sparql --format table', comment: 'Get a sample of triples from a triple store' },
|
|
28
28
|
{ args: '--sparql-endpoint https://bnb.data.bl.uk/sparql --describe http://bnb.data.bl.uk/id/person/OBrienJim1950- --format table', comment: 'make a DESCRIBE request' },
|
|
29
|
-
]
|
|
29
|
+
],
|
|
30
30
|
}
|
package/metadata/remove-alias.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'ra',
|
|
3
5
|
args: '<entity> <language> <aliases>',
|
|
4
6
|
description: 'remove one or several aliases from the list of aliases of an entity in a given language',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: 'Q4115189 fr foo', comment: "remove 'foo' from the Sandbox entity (Q4115189) French aliases" },
|
|
8
|
-
{ args: 'Q4115189 fr "foo|bar|buzz', comment: "remove 'foo', 'bar', and 'buzz' from the Sandbox entity (Q4115189) French aliases" }
|
|
9
|
-
]
|
|
10
|
+
{ args: 'Q4115189 fr "foo|bar|buzz', comment: "remove 'foo', 'bar', and 'buzz' from the Sandbox entity (Q4115189) French aliases" },
|
|
11
|
+
],
|
|
10
12
|
}
|
package/metadata/remove-badge.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'rb',
|
|
3
5
|
args: '<entity> <site> [badges]',
|
|
4
6
|
description: 'remove badges on an existing sitelink',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: 'Q4115189 enwikiquote Q17437796,Q17437798', comment: 'Remove Q17437796 and Q17437798 badges on Q4115189 enwikiquote sitelink' },
|
|
8
|
-
]
|
|
10
|
+
],
|
|
9
11
|
}
|
package/metadata/remove-claim.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'rc',
|
|
3
5
|
args: '<guids>',
|
|
4
6
|
description: 'remove claims by their GUIDs',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
|
-
{ args: 'Q71$BD9A4A9F-E3F9-43D4-BFDB-484984A87FD7', comment: 'remove this claim made on Q71' }
|
|
8
|
-
]
|
|
9
|
+
{ args: 'Q71$BD9A4A9F-E3F9-43D4-BFDB-484984A87FD7', comment: 'remove this claim made on Q71' },
|
|
10
|
+
],
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'rd',
|
|
3
5
|
args: '<entity> <language>',
|
|
4
6
|
description: 'remove a description on an entity for a given language',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: 'Q4115189 it', comment: 'Remove Q4115189 description in Italian' },
|
|
8
|
-
]
|
|
10
|
+
],
|
|
9
11
|
}
|
package/metadata/remove-label.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'rl',
|
|
3
5
|
args: '<entity> <language>',
|
|
4
6
|
description: 'remove a label on an entity for a given language',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: 'Q4115189 it', comment: 'Remove Q4115189 label in Italian' },
|
|
8
|
-
]
|
|
10
|
+
],
|
|
9
11
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'rq',
|
|
3
5
|
args: '<claim-guid> <qualifiers-hashes>',
|
|
4
6
|
description: 'remove qualifiers from a claim',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: "'Q4115189$E51978A1-D13A-4916-800E-74ACD2466970' '24aa18192de7051f81d88d1ab514826002d51c14'", comment: 'remove a qualifier from this claim' },
|
|
8
|
-
{ args: "'Q4115189$E51978A1-D13A-4916-800E-74ACD2466970' '24aa18192de7051f81d88d1ab514826002d51c14|f6c14e4eebb3d4f7595f0952c1ece0a34d85368b'", comment: 'remove several qualifiers from this claim' }
|
|
9
|
-
]
|
|
10
|
+
{ args: "'Q4115189$E51978A1-D13A-4916-800E-74ACD2466970' '24aa18192de7051f81d88d1ab514826002d51c14|f6c14e4eebb3d4f7595f0952c1ece0a34d85368b'", comment: 'remove several qualifiers from this claim' },
|
|
11
|
+
],
|
|
10
12
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'rr',
|
|
3
5
|
args: '<claim-guid> <references-hashes>',
|
|
4
6
|
description: 'remove references from a claim',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: "'Q4115189$E51978A1-D13A-4916-800E-74ACD2466970' '72ea3cdd27062da9f0971c1feab6df32d729ecb3'", comment: 'remove a reference from this claim' },
|
|
8
|
-
{ args: "'Q4115189$E51978A1-D13A-4916-800E-74ACD2466970' '72ea3cdd27062da9f0971c1feab6df32d729ecb3|5e9840f6896948b13d6e9c6328169643229aa3db'", comment: 'remove several references from this claim' }
|
|
9
|
-
]
|
|
10
|
+
{ args: "'Q4115189$E51978A1-D13A-4916-800E-74ACD2466970' '72ea3cdd27062da9f0971c1feab6df32d729ecb3|5e9840f6896948b13d6e9c6328169643229aa3db'", comment: 'remove several references from this claim' },
|
|
11
|
+
],
|
|
10
12
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'rs',
|
|
3
5
|
args: '<entity> <site>',
|
|
4
6
|
description: 'remove a sitelink on an entity for a given site',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: 'Q4115189 enwikiquote', comment: 'Remove the link from Q4115189 to any article in the English Wikiquote' },
|
|
8
|
-
]
|
|
10
|
+
],
|
|
9
11
|
}
|
package/metadata/revisions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
alias: 'r',
|
|
3
3
|
args: '<entity>',
|
|
4
4
|
description: "output the entity's revisions data",
|
|
@@ -8,10 +8,10 @@ module.exports = {
|
|
|
8
8
|
clipboard: false,
|
|
9
9
|
json: false,
|
|
10
10
|
instance: true,
|
|
11
|
-
sparqlEndpoint: false
|
|
11
|
+
sparqlEndpoint: false,
|
|
12
12
|
},
|
|
13
13
|
examples: [
|
|
14
14
|
{ args: 'Q3548931', comment: "fetch Q3548931's revisions data" },
|
|
15
|
-
{ args: 'Property:P31', comment: "fetch P31's revisions data" }
|
|
16
|
-
]
|
|
15
|
+
{ args: 'Property:P31', comment: "fetch P31's revisions data" },
|
|
16
|
+
],
|
|
17
17
|
}
|
package/metadata/search.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
alias: 'f',
|
|
3
3
|
args: '<search>',
|
|
4
4
|
description: 'search entities',
|
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
|
8
8
|
clipboard: false,
|
|
9
9
|
json: true,
|
|
10
10
|
instance: true,
|
|
11
|
-
sparqlEndpoint: false
|
|
11
|
+
sparqlEndpoint: false,
|
|
12
12
|
},
|
|
13
13
|
examples: [
|
|
14
14
|
{ args: 'Ligo', comment: 'displays a list of entities matching "Ligo"' },
|
|
@@ -20,5 +20,5 @@ module.exports = {
|
|
|
20
20
|
{ args: 'code --type form', comment: 'Search forms' },
|
|
21
21
|
{ args: 'test --type sense', comment: "Searching senses doesn't seem to work currently (2020-04-17)" },
|
|
22
22
|
{ args: '--cirrus "porte haswbstatement:P31=Q5"', comment: 'Use Cirrus search to find humans (Q5) matching "porte"' },
|
|
23
|
-
]
|
|
23
|
+
],
|
|
24
24
|
}
|
package/metadata/set-alias.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'sa',
|
|
3
5
|
args: '<entity> <language> <aliases>',
|
|
4
6
|
description: 'set the list of aliases of an entity in a given language',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: 'Q4115189 fr foo', comment: "replaces the Sandbox entity (Q4115189) French aliases by 'foo'" },
|
|
8
|
-
{ args: 'Q4115189 fr "foo|bar|buzz', comment: "replaces the Sandbox entity (Q4115189) French aliases by foo', 'bar', and 'buzz'" }
|
|
9
|
-
]
|
|
10
|
+
{ args: 'Q4115189 fr "foo|bar|buzz', comment: "replaces the Sandbox entity (Q4115189) French aliases by foo', 'bar', and 'buzz'" },
|
|
11
|
+
],
|
|
10
12
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'sd',
|
|
3
5
|
args: '<entity> <language> <description>',
|
|
4
6
|
description: 'set a description on an entity in a given language',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
|
-
{ args: 'Q4115189 fr "description du Bac à sable bulgroz"', comment: "set the description 'description du Bac à sable bulgroz' to the Sandbox entity (Q4115189) in French" }
|
|
8
|
-
]
|
|
9
|
+
{ args: 'Q4115189 fr "description du Bac à sable bulgroz"', comment: "set the description 'description du Bac à sable bulgroz' to the Sandbox entity (Q4115189) in French" },
|
|
10
|
+
],
|
|
9
11
|
}
|
package/metadata/set-label.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'sl',
|
|
3
5
|
args: '<entity> <language> <label>',
|
|
4
6
|
description: 'set a label on an entity in a given language',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
|
-
{ args: 'Q4115189 fr "Bac à sable bulgroz"', comment: "set the label 'Bac à sable bulgroz' to the Sandbox entity (Q4115189) in French" }
|
|
8
|
-
]
|
|
9
|
+
{ args: 'Q4115189 fr "Bac à sable bulgroz"', comment: "set the label 'Bac à sable bulgroz' to the Sandbox entity (Q4115189) in French" },
|
|
10
|
+
],
|
|
9
11
|
}
|
package/metadata/set-sitelink.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'ss',
|
|
3
5
|
args: '<entity> <site> <title> [badges]',
|
|
4
6
|
description: 'set a sitelink on an entity for a given site',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: 'Q4115189 enwikiquote "The Sandbox"', comment: "Link Q4115189 to the article 'The Sandbox' on the English Wikiquote" },
|
|
8
10
|
{ args: 'Q4115189 enwikiquote "The Sandbox" Q17437796,Q17437798', comment: 'Also set badges for that sitelink' },
|
|
9
|
-
]
|
|
11
|
+
],
|
|
10
12
|
}
|
package/metadata/sparql.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default {
|
|
2
2
|
alias: 's',
|
|
3
3
|
args: '<file.rq>',
|
|
4
4
|
description: 'run a SPARQL query and get its JSON output',
|
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
|
8
8
|
clipboard: true,
|
|
9
9
|
json: true,
|
|
10
10
|
instance: false,
|
|
11
|
-
sparqlEndpoint: true
|
|
11
|
+
sparqlEndpoint: true,
|
|
12
12
|
},
|
|
13
13
|
examples: [
|
|
14
14
|
{ args: './path/to/query.rq', comment: 'make a SPARQL request from a file' },
|
|
@@ -18,6 +18,6 @@ module.exports = {
|
|
|
18
18
|
{ args: './path/to/query.rq --format csv', comment: "set an alternative output format: json, xml, tsv, csv, binrdf, table. Default: 'table' when 1 value is selected, 'json' otherwise" },
|
|
19
19
|
{ args: './path/to/query.rq --index someVariableName', comment: 'get the results indexed by one of the SELECTed variables' },
|
|
20
20
|
{ args: './path/to/query.rq --dry', comment: 'output the SPARQL without running the query' },
|
|
21
|
-
{ args: './path/to/query.rq --open', comment: 'open the query in the Query Service GUI' }
|
|
22
|
-
]
|
|
21
|
+
{ args: './path/to/query.rq --open', comment: 'open the query in the Query Service GUI' },
|
|
22
|
+
],
|
|
23
23
|
}
|
package/metadata/summary.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import { entityAttributeCommandsOptions } from '#lib/common_options'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
export default {
|
|
4
4
|
alias: 'u',
|
|
5
5
|
args: '<entity>',
|
|
6
6
|
description: 'display basic information on the requested entity',
|
|
7
|
-
options: Object.assign({ clipboard: false },
|
|
7
|
+
options: Object.assign({ clipboard: false }, entityAttributeCommandsOptions),
|
|
8
8
|
examples: [
|
|
9
9
|
{ args: 'Q123', comment: 'display basic information for the entity Q123' },
|
|
10
10
|
{ args: 'Q123 --lang ja', comment: 'display basic information for the entity Q123 in Japanese' },
|
|
11
|
-
{ args: 'Q1 -p P3219,P2612', comment: 'display the summary with additional properties' }
|
|
12
|
-
]
|
|
11
|
+
{ args: 'Q1 -p P3219,P2612', comment: 'display the summary with additional properties' },
|
|
12
|
+
],
|
|
13
13
|
}
|
package/metadata/update-claim.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
export default {
|
|
4
4
|
alias: 'uc',
|
|
5
5
|
args: '<guid> <new-value>',
|
|
6
6
|
description: "update a claim's value",
|
|
7
|
-
options: Object.assign({ rank: true },
|
|
7
|
+
options: Object.assign({ rank: true }, editCommandsOptions),
|
|
8
8
|
examples: [
|
|
9
9
|
{ args: 'Q4115189$bc43ae33-7525-42cb-ad31-b1e1cf3cb72d Bulgroz', comment: "update the claim identified by this id with the value 'Bulgroz'" },
|
|
10
|
-
{ args: 'Q4115189 P2002 Zorglub Bulgroz', comment: "change the the Sandbox (Q4115189) Twitter account (P2002) from 'Zorglub' to 'Bulgroz'" }
|
|
11
|
-
]
|
|
10
|
+
{ args: 'Q4115189 P2002 Zorglub Bulgroz', comment: "change the the Sandbox (Q4115189) Twitter account (P2002) from 'Zorglub' to 'Bulgroz'" },
|
|
11
|
+
],
|
|
12
12
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { editCommandsOptions } from '#lib/common_options'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
2
4
|
alias: 'uq',
|
|
3
5
|
args: '<claim-guid> <property> <old-value> <new-value>',
|
|
4
6
|
description: 'update a qualifier from an existing value to a new value',
|
|
5
|
-
options:
|
|
7
|
+
options: editCommandsOptions,
|
|
6
8
|
examples: [
|
|
7
9
|
{ args: "'Q4115189$E66DBC80-CCC1-4899-90D4-510C9922A04F' P155 'Q13406268' 'Q3576110'", comment: 'entity qualifier' },
|
|
8
10
|
{ args: "'Q4115189$E66DBC80-CCC1-4899-90D4-510C9922A04F' P1545 'A-123' 'B-123'", comment: 'string qualifier' },
|
|
9
11
|
{ args: "'Q4115189$E66DBC80-CCC1-4899-90D4-510C9922A04F' P580 '1802-02-26' ''1802-02-27'", comment: 'time qualifier' },
|
|
10
12
|
{ args: "'Q4115189$E66DBC80-CCC1-4899-90D4-510C9922A04F' P2130 123 124", comment: 'quantity qualifier' },
|
|
11
13
|
{ args: "'Q4115189$E66DBC80-CCC1-4899-90D4-510C9922A04F' P2130 'amount=123&unit=Q4916' 'amount=124&unit=Q4916'", comment: 'quantity qualifier with a unit' },
|
|
12
|
-
{ args: "'Q4115189$E66DBC80-CCC1-4899-90D4-510C9922A04F' P3132 'text=aaah&language=fr' 'text=ach sooo&language=de'", comment: 'monolingualtext qualifier' }
|
|
13
|
-
]
|
|
14
|
+
{ args: "'Q4115189$E66DBC80-CCC1-4899-90D4-510C9922A04F' P3132 'text=aaah&language=fr' 'text=ach sooo&language=de'", comment: 'monolingualtext qualifier' },
|
|
15
|
+
],
|
|
14
16
|
}
|