semantique.mapping.Semantique#
- class semantique.mapping.Semantique(rules=None)[source]#
Semantique specific mapping configuration.
This mapping configuration allows to formulate mapping rules by constructing processing chains with the same building blocks as used for the construction of query recipes.
- Parameters:
rules (
dict
) – Dictionary containing the names of semantic concepts as keys and the rules that map them to data in an EO data cube as values. May have a nested structure formalizing a categorization of semantic concepts. IfNone
, an empty mapping instance is constructed.
Methods
__init__
([rules])lookup
(*reference)Lookup the mapping rules of a referenced semantic concept.
translate
(*reference[, property, eval_obj])Translate a semantic concept reference into a semantic array.