Class SparqlWrapperMethods
- java.lang.Object
-
- org.qmul.eecs.c4dm.sparql.utilities.SparqlWrapperMethods
-
public class SparqlWrapperMethods extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description SparqlWrapperMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
askTheModel(java.lang.String query, Model m)
static Model
executeConstructQuery(java.lang.String query, Dataset dataset)
static Model
executeConstructQuery(java.lang.String query, Model m)
static Model
executePelletConstructQuery(java.lang.String query, Model m)
static void
queryDataset(java.lang.String query, Dataset dataset)
static void
queryOntModel(java.lang.String query, OntModel ontModel)
static void
queryPelletOntModel(java.lang.String query, OntModel ontModel)
static ResultSet
querySparqlService(java.lang.String query, java.lang.String service)
static void
queryTheModel(java.lang.String query, Model m)
-
-
-
Method Detail
-
executeConstructQuery
public static Model executeConstructQuery(java.lang.String query, Model m)
- Parameters:
query
-m
-- Returns:
-
executePelletConstructQuery
public static Model executePelletConstructQuery(java.lang.String query, Model m)
- Parameters:
query
-m
-- Returns:
-
executeConstructQuery
public static Model executeConstructQuery(java.lang.String query, Dataset dataset)
- Parameters:
query
-dataset
-- Returns:
-
queryTheModel
public static void queryTheModel(java.lang.String query, Model m)
- Parameters:
query
-m
-
-
queryOntModel
public static void queryOntModel(java.lang.String query, OntModel ontModel)
- Parameters:
query
-ontModel
-
-
queryPelletOntModel
public static void queryPelletOntModel(java.lang.String query, OntModel ontModel)
- Parameters:
query
-ontModel
-
-
queryDataset
public static void queryDataset(java.lang.String query, Dataset dataset)
-
querySparqlService
public static ResultSet querySparqlService(java.lang.String query, java.lang.String service)
-
askTheModel
public static void askTheModel(java.lang.String query, Model m)
- Parameters:
query
-m
-
-
-