public class PredicateExistenceFilter extends AbstractTreeFilter<RDFResourceTree>
| Constructor and Description |
|---|
PredicateExistenceFilter() |
PredicateExistenceFilter(Set<org.apache.jena.graph.Node> existentialMeaninglessProperties) |
| Modifier and Type | Method and Description |
|---|---|
RDFResourceTree |
apply(RDFResourceTree tree)
Apply the filter and return a new filtered tree.
|
boolean |
isMeaningless(org.apache.jena.graph.Node predicate) |
void |
setExistentialMeaninglessProperties(Set<org.apache.jena.graph.Node> existentialMeaninglessProperties) |
getNodes2Keep, setNodes2Keeppublic PredicateExistenceFilter()
public PredicateExistenceFilter(Set<org.apache.jena.graph.Node> existentialMeaninglessProperties)
public void setExistentialMeaninglessProperties(Set<org.apache.jena.graph.Node> existentialMeaninglessProperties)
existentialMeaninglessProperties - the existential meaningless propertiespublic boolean isMeaningless(org.apache.jena.graph.Node predicate)
public RDFResourceTree apply(RDFResourceTree tree)
TreeFiltertree - the input tree
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann