public class OntoFocus extends Object
Constructor and Description |
---|
OntoFocus(URIFactory factory,
G graph,
Set<org.openrdf.model.URI> taxonomicPredicates,
Set<org.openrdf.model.URI> predicateToAdd) |
OntoFocus(URIFactory factory,
G graph,
Set<org.openrdf.model.URI> taxonomicPredicates,
Set<org.openrdf.model.URI> predicatesToAdd,
Set<org.openrdf.model.URI> urisToInclude) |
Modifier and Type | Method and Description |
---|---|
void |
execQueryFromFile(String queryFile,
String outPrefix,
IndexHash index,
boolean applyTR,
boolean showLabels) |
G |
performReduction(org.openrdf.model.URI guri_reduction,
Set<org.openrdf.model.URI> urisQuery,
boolean applyTR) |
public OntoFocus(URIFactory factory, G graph, Set<org.openrdf.model.URI> taxonomicPredicates, Set<org.openrdf.model.URI> predicateToAdd) throws SLIB_Ex_Critic, SLIB_Exception
factory
- The factory used to generate the URIsgraph
- The graph in which the reduction must be performedtaxonomicPredicates
- the predicates to consider as taxonomic
relationshipspredicateToAdd
- predicates of the relationships to add at
post-processing, i.e., all relationships of the specified types which are
specified between pairs of nodes contained in the Cartesian product of
the set of nodes which compose the reduction will be addedSLIB_Ex_Critic
SLIB_Exception
public OntoFocus(URIFactory factory, G graph, Set<org.openrdf.model.URI> taxonomicPredicates, Set<org.openrdf.model.URI> predicatesToAdd, Set<org.openrdf.model.URI> urisToInclude) throws SLIB_Ex_Critic, SLIB_Exception
SLIB_Ex_Critic
SLIB_Exception
public void execQueryFromFile(String queryFile, String outPrefix, IndexHash index, boolean applyTR, boolean showLabels) throws Exception
Exception
public G performReduction(org.openrdf.model.URI guri_reduction, Set<org.openrdf.model.URI> urisQuery, boolean applyTR) throws SLIB_Ex_Critic, SLIB_Ex_Warning
SLIB_Ex_Critic
SLIB_Ex_Warning
Copyright © 2014. All rights reserved.