use the --label option in reachable-nodes
" --rootfile $TEMP/P279.roots.tsv\n",
" --selflink \n",
" -i $OUT/derived.P279.tsv.gz\n",
+ " --label P279star\n",
" -o $TEMP/P279.reachable.tsv.gz\"\"\")"
]
},
]
},
{
- "cell_type": "code",
- "execution_count": 24,
+ "cell_type": "raw",
"metadata": {},
- "outputs": [],
"source": [
"!$kypher -i $TEMP/P279.reachable.tsv.gz -o $TEMP/P279star.1.tsv.gz \\\n",
"--match '(n1)-[]->(n2)' \\\n",
"metadata": {},
"outputs": [],
"source": [
- "!$kgtk add-id --id-style wikidata -i $TEMP/P279star.1.tsv.gz -o $OUT/derived.P279star.tsv.gz"
+ "!$kgtk add-id --id-style wikidata -i $TEMP/P279.reachable.tsv.gz -o $OUT/derived.P279star.tsv.gz"
]
},
{
