Extract Vectors

Description

Extracts vector values from an object for a specific property. The property should be provided as a parameter. With additional blocks, the extracted values can be used for vector operations/search.

Input

  • SOURCE [OBJ]: a list of objects

Output

  • PAIR [OBJ,VECTOR]: for each object in the input source the extracted vector value is provided as the second column in [OBJ,VECTOR]. When multiple values can be extracted for an object, each object-value pair is returned as a separate result.

  • RESULT [VECTOR]: the extracted values, disjoint from their parent object. Use the score aggregation parameter to define how occurrences of the same value are handled.

Parameters

  • Property: the property to extract the values from. Use * to extract values from all properties

  • Use sub-properties: when set to true, the values of all sub properties are also included. Sub-properties can be defined in the data with the rdfs:subPropertyOf relation.

Output scores can be aggregated.