Skip to content

Commit fb805b1

Browse files
Create 040-reconcile-to-create-new-items.json
1 parent b73b946 commit fb805b1

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"op": "core/column-addition",
3+
"engineConfig": {
4+
"facets": [],
5+
"mode": "row-based"
6+
},
7+
"baseColumnName": "signature",
8+
"expression": "grel:value",
9+
"onError": "set-to-blank",
10+
"newColumnName": "itemWikidata",
11+
"columnInsertIndex": 1,
12+
"description": "Create column itemWikidata at index 1 based on column signature using expression grel:value"
13+
},
14+
{
15+
"op": "core/column-move",
16+
"columnName": "itemWikidata",
17+
"index": 0,
18+
"description": "Move column itemWikidata to position 0"
19+
},
20+
{
21+
"op": "core/recon",
22+
"engineConfig": {
23+
"facets": [],
24+
"mode": "row-based"
25+
},
26+
"columnName": "itemWikidata",
27+
"config": {
28+
"mode": "standard-service",
29+
"service": "https://wikidata.reconci.link/en/api",
30+
"identifierSpace": "http://www.wikidata.org/entity/",
31+
"schemaSpace": "http://www.wikidata.org/prop/direct/",
32+
"type": {
33+
"id": "Q35120",
34+
"name": "entity"
35+
},
36+
"autoMatch": true,
37+
"batchSize": 10,
38+
"columnDetails": [],
39+
"limit": 0
40+
},
41+
"description": "Reconcile cells in column itemWikidata to type Q35120"
42+
},
43+
{
44+
"op": "core/recon-mark-new-topics",
45+
"engineConfig": {
46+
"facets": [],
47+
"mode": "row-based"
48+
},
49+
"columnName": "itemWikidata",
50+
"shareNewTopics": false,
51+
"description": "Mark to create new items for cells in column itemWikidata, one item for each cell"
52+
}

0 commit comments

Comments
 (0)