Traverse Link Relation
Description
Combines the functionalities of Traverse relation and Cross dataset blocks.
Like Cross dataset, it allows to map objects from a dataset onto another.
However, rather than comparing their identifiers to determine a mapping,
it relies on a third dataset (a "link dataset" LS) which contains explicit mappings in the form of additional triples.
The predicate to consider in the link dataset can be specified as a parameter. Mapping links can be traversed forward and backward.
Input
A [OBJ]: a list of objectsLS [OBJ]: a dataset containing objects from bothAandBand mappings in the form of triplesB [OBJ]: a list of objects
Output
PAIR [OBJ,OBJ]: a successful mapping where the first column comes fromAand the second column comes fromBresA [OBJ]: the first column ofPAIRresB [OBJ]: the second column ofPAIR
Parameters
Predicate: the predicate of a graph triple(subject,predicate,object)Use sub-predicates: when set totrue, the values of all sub-predicates are also included. Sub-predicates can be defined in the data with therdfs:subPropertyOfrelation.Direction: the direction to use when traversing the relation with the givenPredicateandSOURCEForward:(A, Predicate, B = ?)Backward:(A = ?, Predicate, B)Either: the result contains the union ofForwardandBackwardresults
Output scores can be aggregated and/or normalized.