Closed hoffart closed 6 years ago
I saw that you removed multilingual extraction from fromThemes.CategoryClassHierarchyExtractor. Have you checked whether this removes a lot of facts? Otherwise it looks good to me.
The CategoryClassHierarchyExtractor actually never was multilingual, I think this was an oversight when initially implementing this together with Felix Keller.
Thanks for having a look, I will merge then :)
I extended YAGO to be able to produce a subgraph. The output is like the original YAGO, but contains only a facts for a restricted set of entities.
Usage
Add the following parameters to the yago.ini (both take comma-seprated strings as values): subgraphEntities=,
subgraphClasses=
What was changed
The magic happens in the TypeChecker, which in addition to just checking domain and range now also checks for containedIn(subgraph).
The crucial part was to change the Type extraction, as subgraphClasses only works after the initial transitive type hierarchy has been specified.
Please have a look if this makes sense :)