semantique.event#
- semantique.event(*reference, property=None)[source]#
Reference to a semantic concept being an event.
- Parameters:
*reference (
str
) – The index of the semantic concept within the “event” category of 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.event("flood")