Package org.qmul.eecs.c4dm.sia
Class SiaVectorTableElementFactory
- java.lang.Object
-
- org.qmul.eecs.c4dm.sia.SiaVectorTableElementFactory
-
public class SiaVectorTableElementFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description SiaVectorTableElementFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
addToModel(OntModel ontModel, boolean addWResults)
Java version of the two sparql construct queries construct_sia(tec)_vector_table_bnodes.sparql and construct_vector_table_details.sparql for execution time comparison purposes.static void
assertOrder(OntModel ontModel, java.util.List<VectorTableElement> vteList)
static VectorTable
create(java.util.List<Datapoint> datapoints, boolean returnWResults)
static VectorTable
createV(java.util.List<Datapoint> datapoints)
static VectorTable
createW(java.util.List<Datapoint> datapoints)
static Datapoint
findDatapoint(OntModel ontModel, java.util.List<Datapoint> datapoints, Resource resource)
-
-
-
Method Detail
-
createV
public static VectorTable createV(java.util.List<Datapoint> datapoints) throws DimensionException
- Parameters:
datapoints
-- Returns:
- Throws:
DimensionException
-
createW
public static VectorTable createW(java.util.List<Datapoint> datapoints) throws DimensionException
- Parameters:
datapoints
-- Returns:
- Throws:
DimensionException
-
create
public static VectorTable create(java.util.List<Datapoint> datapoints, boolean returnWResults) throws DimensionException
- Parameters:
datapoints
-returnWResults
-- Returns:
- Throws:
DimensionException
-
addToModel
public static void addToModel(OntModel ontModel, boolean addWResults)
Java version of the two sparql construct queries construct_sia(tec)_vector_table_bnodes.sparql and construct_vector_table_details.sparql for execution time comparison purposes.- Parameters:
ontModel
-addWResults
-
-
findDatapoint
public static Datapoint findDatapoint(OntModel ontModel, java.util.List<Datapoint> datapoints, Resource resource)
-
assertOrder
public static void assertOrder(OntModel ontModel, java.util.List<VectorTableElement> vteList)
-
-