Skip to content

Filters ​

Generated

Generated by elody-ui reference from the Elody UI vocabulary 0.6.0 (elody-ui.ttl), its meta-shapes (elody-ui.shapes.ttl) and the generator's bindings. Edit the ontology, not this page.

The advanced filters of a type: their kind, keys, defaults, option search and facets.

Each section is one kind of node: the terms it may carry, the type of each value, how many values it takes and what it means. "unchecked" marks a term the vocabulary defines on this kind of node that the meta-shapes do not constrain yet. "Used by" counts the client declarations that use the term.

Filter ​

elody:Filter: An advanced filter offered on a listing or a picker: its kind, the key it filters on, defaults and visibility. No standard term: shui:searchQuery is SPARQL, Elody filters the document store.

Declared under elody:filter of Entity Ui, elody:filter of Filters Fragment, elody:filter of List Query, elody:filter of Picker.

Constraint

a hidden filter carries a sh:defaultValue, elody:defaultValueAsList true for an empty list, or an option input resolving its value to option ids

TermTypeHow manyMeaningUsed by
elody:aliasxsd:stringat most oneThe GraphQL alias under which a filter (a filter without one is emitted unaliased), action, panel, element, form tab (on an elody:Form; default "name"), submit action (on an elody:submit node; default "createAction") or property is emitted. On a property shape: the field name the fragment reads the value under when it is not the metadata key (title: keyValue(key: "email")); several property shapes may share one sh:path under different aliases. Open string by design. no alias: the one unaliased advancedFilter of its document8 of 8
elody:filterKindan elody:FilterKind valueexactly oneWhich advanced filter. Range changed in 0.1: an elody:FilterKind instance, no longer the string.8 of 8
dash:hiddenxsd:booleanat most oneThe filter or field is not shown; a hidden filter still applies its default value.8 of 8
elody:showTooltipxsd:booleanat most oneShow the platform tooltip on a filter. Replaces the boolean use of the retired elody:tooltip; the tooltip text of a property is sh:description.8 of 8
elody:parentFilterKeyxsd:stringat most oneOn a filter: the parentKey argument of a selection filter ("relations"). On a comments element: the filter key that ties comments to this entity.6 of 8
elody:filterAggregationxsd:stringat most oneThe aggregation a number filter applies to a looked-up list (aggregation: "size").2 of 8
elody:optionsTypexsd:stringat most oneA selection filter offers the entities of this type as its options (advancedFilterInputForRetrievingOptions: a text search on elody:optionsKey, scoped to the type). Left out when the search is scoped by elody:optionsInput nodes alone.6 of 8
elody:optionsLabelxsd:stringat most oneWhere a selection filter's option takes its label from (filterOptionsMapping.label, e.g. "intialValues.access").6 of 8
elody:optionsValuexsd:stringat most oneWhere a selection filter's option takes its value from (filterOptionsMapping.value).6 of 8
elody:selectionOptionxsd:stringat most oneHow a selection filter offers its options (selectionOption: autocomplete, ...).6 of 8
elody:optionsLimitxsd:integerat most oneHow many options a selection filter fetches at most (limitConfig: { optionsLimit: 30 }).1 of 8
elody:keepDefaultValuexsd:booleanat most onetrue keeps the filter's default value when the user changes the filters (doNotOverrideDefaultValue).1 of 8
elody:defaultValueBarexsd:booleanat most onetrue writes the filter's sh:defaultValue unquoted: an enumeration value of the schema (an entity type) rather than a string. A boolean default is bare by itself.4 of 8
elody:includeDefaultsFromxsd:stringany numberAn initial value of the entity shown whose ids are added to the filter's default (includeDefaultValuesFromIntialValues).1 of 8
elody:matchExactxsd:booleanat most oneWhether the filter matches its value exactly (matchExact on the filter itself; elody:optionsMatchExact is the option search's).1 of 8
elody:filterOperatorxsd:stringat most oneHow the filter's values combine (operator: or, and).4 of 8
elody:showTimexsd:booleanat most oneA date filter offers the time of day too (showTimeForDateFilter).5 of 8
elody:matchersTypexsd:stringat most oneWhich matchers the filter offers (matchersType: selectionForMetadata, ...).1 of 8
elody:matcherLabela Matcher Label nodeany numberA matcher's label on the filter, in sh:order: elody:matcher (the Matchers value as written, AnyMatcher) and elody:labelKey.1 of 8
elody:asksBackxsd:stringany numberA field the filter asks back without passing it (parentKey on a filter without a parent): the client's selection, kept as written.2 of 8
elody:useOldWayToFetchOptionsxsd:booleanat most oneWhether the selection filter fetches its options the older way (useOldWayToFetchOptions).2 of 8
elody:lookupa Lookup nodeat most oneThe join the filter needs before it can match.3 of 8
elody:optionsLookupa Lookup nodeat most oneThe join the option search needs before it can match (lookup on the first input of advancedFilterInputForRetrievingOptions); elody:lookup on an elody:OptionsInput is a further input's.1 of 8
elody:optiona Filter Option nodeany numberA fixed option of a selection filter, offered as declared instead of fetched (elody:optionsType). Its label is elody:labelKey, its value elody:value.2 of 8
elody:selectionSpreadxsd:stringat most oneThe name of a shared fragment that is the filter's selection set (...advancedFilter) in place of the fields asked back one by one; fields with arguments (defaultValue, hidden, tooltip) are still emitted.3 of 8
elody:keysa reference by nameat most oneAn ordered RDF list of the keys a filter searches (key: ["a", "b"]) when there are several; elody:key holds one.2 of 8
elody:optionsKeyxsd:stringat most oneThe key searched for the options of a selection filter ("pim:1|properties.name.value").7 of 8
elody:optionsMatchExactxsd:booleanat most oneWhether the option search matches exactly (match_exact). Default false.7 of 8
elody:optionsDistinctByxsd:stringat most oneThe key the option search is made distinct by (distinct_by).5 of 8
elody:optionsOperatorxsd:stringat most oneThe operator of the option search on elody:optionsKey (advancedFilterInputForRetrievingOptions[].operator: or, and).1 of 8
elody:optionsTypeOperatorxsd:stringat most oneThe operator of the type input scoping the option search ({ type: type, value: ..., operator: and }).1 of 8
elody:optionsTypeBarexsd:booleanat most onetrue writes elody:optionsType as an enum value ({ type: type, value: user }) rather than a string.3 of 8
elody:optionsKeysa reference by nameat most oneSeveral keys the option search searches (key: [...] on the text input), an RDF list; one key is elody:optionsKey.1 of 8
elody:optionsItemTypesxsd:stringany numberAn entity type the option search is limited to (item_types on the text input), one per value.3 of 8
elody:optionsLabelKeyxsd:stringat most oneThe metadata key labelling the options found (metadata_key_as_label on the text input).1 of 8
elody:itemTypesxsd:stringany numberAn entity type a relation filter picks from (itemTypes: [...]), one per value.1 of 8
elody:defaultMatcherxsd:stringat most oneThe matcher a text filter starts with (defaultMatcher: ExactInputMatcher), a Matchers value.1 of 8
elody:allowedMatchersa reference by nameat most oneThe matchers a text filter offers (allowedMatchers: [...]), an RDF list of Matchers values.1 of 8
elody:valueMappinga Value Mapping nodeany numberA mapping of the default value, in sh:order: elody:value lists the values, elody:mapping what they become.1 of 8
elody:faceta Facet nodeany numberA facet, in sh:order: elody:inputKind and elody:value, or elody:key with elody:lookup nodes, and nested elody:facet nodes.1 of 8
elody:optionsInputa Options Input nodeany numberA further input of the option search, in sh:order, rendered between the search on elody:optionsKey and the type input. elody:key and elody:value say what it matches; an input of kind elody:TypeFilter is the type input kept at its place among the others (instead of elody:optionsType).3 of 8
elody:hiddenretired—elody:hidden is retired: use dash:hidden—
elody:tooltipretired—elody:tooltip is retired: use elody:showTooltip—
elody:defaultValueretired—elody:defaultValue is retired: use sh:defaultValue—
elody:defaultValueAsListxsd:booleanuncheckedEmit the sh:defaultValue(s) as a list literal.7 of 8
elody:displayedByDefaultxsd:booleanuncheckedThe filter is open when the listing loads.8 of 8
elody:keyAsListxsd:booleanuncheckedEmit the filter key as a one-element list (default true; the type selection filter needs a bare string).7 of 8

Filter Option ​

elody:FilterOption: One fixed option of a selection filter (options: [{ label, value }]): a label key and a value, in sh:order.

Declared under elody:option of Filter.

TermTypeHow manyMeaningUsed by
elody:labelKeyxsd:stringexactly oneThe Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes).8 of 8
elody:valuerdfs:Literalexactly oneA config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value.8 of 8
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8

Lookup ​

elody:Lookup: A join a filter needs: the collection looked up, the local and the foreign field, and the name the joined documents get (lookup: { from, local_field, foreign_field, as }).

Declared under elody:lookup of Filter, elody:optionsLookup of Filter, elody:lookup of Facet, elody:lookup of Options Input.

TermTypeHow manyMeaningUsed by
elody:lookupFromxsd:stringexactly oneThe collection looked up.3 of 8
elody:lookupLocalFieldxsd:stringexactly oneThe field on this side of the join.3 of 8
elody:lookupForeignFieldxsd:stringexactly oneThe field on the looked-up side of the join.3 of 8
elody:lookupAsxsd:stringexactly oneThe name the joined documents get.3 of 8
elody:lookupResolveToSourceIdsxsd:booleanat most onetrue resolves the looked-up documents to the ids of the source entities (resolve_to_source_ids).1 of 8

Value Mapping ​

elody:ValueMapping: Values a filter's default is mapped from (defaultValueMapping: a list of values and what they map to).

Declared under elody:valueMapping of Filter, elody:valueMapping of Options Input.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
elody:valuea reference by nameexactly oneA config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value.8 of 8
elody:mappingxsd:stringexactly oneWhat the listed values map to (mapping: "jeugd").1 of 8

Facet ​

elody:Facet: A facet of a filter (facets): a kind and value, or a key reached over lookups, with facets of its own.

Declared under elody:facet of Filter, elody:facet of Facet.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
elody:inputKindan elody:FilterKind valueat most oneThe kind of the input (type: text, selection, ...), an elody:FilterKind instance.4 of 8
elody:valuexsd:stringat most oneA config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value.8 of 8
elody:keyxsd:stringat most oneA platform key: a config entry's name, a filter's document key, a step's key, a card field's value key when it differs from sh:name.8 of 8
elody:lookupa Lookup nodeany numberThe join the filter needs before it can match.3 of 8
elody:faceta Facet nodeany numberA facet, in sh:order: elody:inputKind and elody:value, or elody:key with elody:lookup nodes, and nested elody:facet nodes.1 of 8

Visible Filter Label ​

Constraint

a visible filter carries an rdfs:label

TermTypeHow manyMeaningUsed by

Options Input ​

elody:OptionsInput: A further input narrowing a selection filter's option search (advancedFilterInputForRetrievingOptions beyond the search on elody:optionsKey and the type): a key, the value it must hold (a string or an RDF list of strings), and how it matches.

Declared under elody:optionsInput of Filter, elody:staticFilter of Picker Search.

TermTypeHow manyMeaningUsed by
elody:inputKindan elody:FilterKind valueexactly oneThe kind of the input (type: text, selection, ...), an elody:FilterKind instance.4 of 8
elody:keyxsd:stringat most oneA platform key: a config entry's name, a filter's document key, a step's key, a card field's value key when it differs from sh:name. no key on a type input kept among the inputs (elody:inputKind elody:TypeFilter)8 of 8
elody:valuea nodeexactly oneA config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value.8 of 8
elody:inputMatchExactxsd:booleanat most oneWhether the input matches exactly (match_exact).3 of 8
elody:inputDistinctByxsd:stringat most oneThe key the input's matches are made distinct by (distinct_by).1 of 8
elody:inputResolveDefaultValueToOptionIdsxsd:booleanat most onetrue resolves the input's value (session-$id) to the ids of the options it matches, which become the filter's default (resolveDefaultValueToOptionIds).1 of 8
elody:inputOperatorxsd:stringat most oneThe input's operator (operator: or, and).1 of 8
elody:bareValuesxsd:booleanat most onetrue writes the input's values as enum values (value: [car, part]) rather than strings.—
elody:valueMappinga Value Mapping nodeany numberA mapping of the default value, in sh:order: elody:value lists the values, elody:mapping what they become.1 of 8
elody:lookupa Lookup nodeat most oneThe join the filter needs before it can match.3 of 8
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8

Metadata Match ​

elody:MetadataMatch: A metadata key and the value it must hold for a bulk operation to be offered (matchMetadataValue).

Declared under elody:matchMetadataValue of Bulk Operation Context.

TermTypeHow manyMeaningUsed by
elody:matchKeyxsd:stringexactly oneThe metadata key matched (matchKey).1 of 8
elody:matchValuexsd:stringexactly oneThe value the key must hold, as a string (matchValue).1 of 8
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8

Matcher Label ​

elody:MatcherLabel: The label a filter shows for one of its matchers (matcherLabels: [{ matcher: AnyMatcher, label: ... }]).

Declared under elody:matcherLabel of Filter.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
elody:matcherxsd:stringexactly oneThe Matchers value the label is for (AnyMatcher, NoneMatcher, ...).1 of 8
elody:labelKeyxsd:stringexactly oneThe Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes).8 of 8

Powered by Elody - Open Source Semantic Data Platform