org.dllearner.kb.aquisitors
Class BlankNodeCollector
java.lang.Object
org.dllearner.kb.aquisitors.BlankNodeCollector
public class BlankNodeCollector
- extends Object
BlankNodeCollector
public BlankNodeCollector()
getNextGlobalBNodeId
public static int getNextGlobalBNodeId()
addBlankNode
public static void addBlankNode(int id,
RDFNodeTuple t)
getBlankNode
public static SortedSet<RDFNodeTuple> getBlankNode(int id)
getBlankNodeMap
public static Map<Integer,SortedSet<RDFNodeTuple>> getBlankNodeMap()
testResultSet
public static boolean testResultSet(com.hp.hpl.jena.query.ResultSetRewindable rsw,
int depth)
- Parameters:
rsw - depth -
- Returns:
- true if there are more blanknodes
makeQuery
public static String makeQuery(String uri,
String predicate,
int maxDepth)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann