@NotThreadSafe public class ClassifiedStatements extends Object
classify() will accumulate statements in this class.| Modifier and Type | Field and Description |
|---|---|
Set<org.openrdf.model.Statement> |
aboutStatements
Not entity, not statement, not value and not reference.
|
List<org.openrdf.model.Statement> |
entityStatements
Subject is any statement.
|
List<org.openrdf.model.Statement> |
statementStatements
Subject is entity.
|
| Constructor and Description |
|---|
ClassifiedStatements(WikibaseUris uris) |
| Modifier and Type | Method and Description |
|---|---|
void |
classify(Collection<org.openrdf.model.Statement> statements,
String entityId)
Sort statements into a set of specialized collections, by subject.
|
void |
clear() |
long |
getDataSize() |
public final List<org.openrdf.model.Statement> statementStatements
public final List<org.openrdf.model.Statement> entityStatements
public final Set<org.openrdf.model.Statement> aboutStatements
public ClassifiedStatements(WikibaseUris uris)
public void clear()
public void classify(Collection<org.openrdf.model.Statement> statements, String entityId)
statements - List of statements to processentityId - Entity identifier (e.g. Q-id)public long getDataSize()
Copyright © 2019. All rights reserved.