org.aksw.commons.jena.sparql
Class Construct

java.lang.Object
  extended by org.aksw.commons.jena.sparql.Construct

public class Construct
extends Object

Author:
Sebastian Hellmann

Constructor Summary
Construct()
           
 
Method Summary
static com.hp.hpl.jena.ontology.OntModel execute(com.hp.hpl.jena.ontology.OntModel model, String sparqlConstruct)
           
static com.hp.hpl.jena.ontology.OntModel execute(com.hp.hpl.jena.ontology.OntModel model, String sparqlConstruct, com.hp.hpl.jena.ontology.OntModel resultModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Construct

public Construct()
Method Detail

execute

public static com.hp.hpl.jena.ontology.OntModel execute(com.hp.hpl.jena.ontology.OntModel model,
                                                        String sparqlConstruct,
                                                        com.hp.hpl.jena.ontology.OntModel resultModel)
Parameters:
model - the model to execute the result on
sparqlConstruct - duh
resultModel - the model to load the result into
Returns:

execute

public static com.hp.hpl.jena.ontology.OntModel execute(com.hp.hpl.jena.ontology.OntModel model,
                                                        String sparqlConstruct)
Parameters:
model -
sparqlConstruct -
Returns:
a new and filled Model with OntModelSpec.OWL_DL_MEM


Copyright © 2011. All Rights Reserved.