semantique.concept#
- semantique.concept(*reference, property=None)[source]#
Reference to a semantic concept.
- Parameters:
*reference (
str
) – The index of the semantic concept in the mapping against which the query is processed.property (
str
) – Name of a property of the referenced semantic concept. If given, only this property of the semantic concept is translated. IfNone
, all properties of the semantic concept are translated and combined into a single semantic array.
- Returns:
ArrayProxy
– A textual reference to the concept that can be solved by the query processor.
Examples
>>> import semantique as sq >>> sq.concept("entity", "water")