Closed ppKrauss closed 6 years ago
The taxonomy could be pruned to all nodes having a mapping or a transitive child with mapping with aditional option --prune-mappings
. I'll first do #26, then this feature request.
Implemented in 0.6.3:
wdtaxonomy -m P1709 Q732577 --prune mappings
This also comes with an (undocumented) tool to extract all mappings with a given URI namespace:
wdmappings http://schema.org/
The "grep external ontology" have many applications, see one example here.
The problem of simple
grep
is with intermediate branches... Example ofwdtaxonomy -m P1709 Q732577 | grep schema.org
:The real branch for atlas is not news article: