Class SparqlWrapperMethods

  • java.lang.Object
    • org.qmul.eecs.c4dm.sparql.utilities.SparqlWrapperMethods


  • public class SparqlWrapperMethods
    extends java.lang.Object
    • Constructor Detail

      • SparqlWrapperMethods

        public SparqlWrapperMethods()
    • 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 -