public class OntoFocus extends Object
Constructor and Description |
---|
OntoFocus(slib.sglib.model.repo.URIFactory factory,
slib.sglib.model.graph.G graph,
Set<org.openrdf.model.URI> taxonomicPredicates,
Set<org.openrdf.model.URI> predicateToAdd) |
OntoFocus(slib.sglib.model.repo.URIFactory factory,
slib.sglib.model.graph.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,
slib.indexer.IndexHash index,
boolean applyTR,
boolean showLabels) |
slib.sglib.model.graph.G |
performReduction(org.openrdf.model.URI guri_reduction,
Set<org.openrdf.model.URI> urisQuery,
boolean applyTR) |
public OntoFocus(slib.sglib.model.repo.URIFactory factory, slib.sglib.model.graph.G graph, Set<org.openrdf.model.URI> taxonomicPredicates, Set<org.openrdf.model.URI> predicateToAdd) throws slib.utils.ex.SLIB_Ex_Critic, slib.utils.ex.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.utils.ex.SLIB_Ex_Critic
slib.utils.ex.SLIB_Exception
public OntoFocus(slib.sglib.model.repo.URIFactory factory, slib.sglib.model.graph.G graph, Set<org.openrdf.model.URI> taxonomicPredicates, Set<org.openrdf.model.URI> predicatesToAdd, Set<org.openrdf.model.URI> urisToInclude) throws slib.utils.ex.SLIB_Ex_Critic, slib.utils.ex.SLIB_Exception
slib.utils.ex.SLIB_Ex_Critic
slib.utils.ex.SLIB_Exception
public void execQueryFromFile(String queryFile, String outPrefix, slib.indexer.IndexHash index, boolean applyTR, boolean showLabels) throws Exception
Exception
public slib.sglib.model.graph.G performReduction(org.openrdf.model.URI guri_reduction, Set<org.openrdf.model.URI> urisQuery, boolean applyTR) throws slib.utils.ex.SLIB_Ex_Critic, slib.utils.ex.SLIB_Ex_Warning
slib.utils.ex.SLIB_Ex_Critic
slib.utils.ex.SLIB_Ex_Warning
Copyright © 2014. All rights reserved.