Description
The ReversePropertySelector is not retrieving the requested subjects properly when, and only when the parameters "path" and "resultPahts" are provided.
Code snippet as currently implemented in ReversePropertySelector:
ReversePropertySelector.java - select
... if(path != null && resultPaths != null) { Collection<Node> results = rdfBackend.listSubjects(context, property); ... return results; } else { return rdfBackend.listSubjects(property, context); } ...
The wrong if part of the method is only used in marmotta-search (previously lmf-search) when parsing LDPath search programs, the else functionality is frequently used when parsing LDPath queries.
however, the calls to listSubjects should be equal in if and else.
Attachments
Issue Links
- is duplicated by
-
MARMOTTA-673 LDPath: Inverse selection won't work when provided a path
- Closed