Feature "Specify how to set an entity's "HasEntityType""
C2081521920
- Set a final fallback value if all processEPPOFieldDirectives return "" (LEX2009301543)
eppo:
mappings:
HasEntityType:
defaultString: MediaWikiPage
directives:
1:
fromAnnotation:
2:
havingPredicate: HasEntityType
1:
havingPredicate: IsInNamespace
ifObjectValueIsOneOf: [ Property, Template ]
3:
boolAND:
ifAnnotationPredicateValueOneOf: [ HasCategory ]
ifAnnotationObjectValueOneOf: [ EntityType ]
setTo:
string: EntityType
4:
setToString: Topic