org.eaglei.datatools.etl.server
Class ETLSPARQLQueryUtil
java.lang.Object
org.eaglei.datatools.etl.server.ETLSPARQLQueryUtil
public class ETLSPARQLQueryUtil
- extends java.lang.Object
|
Method Summary |
static java.lang.String |
forRegex(java.lang.String aRegexFragment)
|
static java.lang.String |
getEIResourcesByAllPropertiesQuery(com.hp.hpl.jena.rdf.model.Model rdfModel)
Returns the a sparql query that asks the repo for the URI of a resource
of Model |
static java.lang.String |
getEIResourcesByOnlyTypeANDRdfsLabel(com.hp.hpl.jena.rdf.model.Model rdfModel)
Returns the a sparql query that asks the repo for the URI of a resource
of Model ,It builds query of properties containing only rdfs:type and
rdfs:lable as predicate |
static java.lang.String |
getEIResourcesQueryButnotWithPassProperty(com.hp.hpl.jena.rdf.model.Model rdfModel,
com.hp.hpl.jena.rdf.model.Property property)
Returns the a sparql query that asks the repo for the URI of a resource
of Model |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ETLSPARQLQueryUtil
public ETLSPARQLQueryUtil()
getEIResourcesByAllPropertiesQuery
public static java.lang.String getEIResourcesByAllPropertiesQuery(com.hp.hpl.jena.rdf.model.Model rdfModel)
- Returns the a sparql query that asks the repo for the URI of a resource
of Model
getEIResourcesQueryButnotWithPassProperty
public static java.lang.String getEIResourcesQueryButnotWithPassProperty(com.hp.hpl.jena.rdf.model.Model rdfModel,
com.hp.hpl.jena.rdf.model.Property property)
- Returns the a sparql query that asks the repo for the URI of a resource
of Model
getEIResourcesByOnlyTypeANDRdfsLabel
public static java.lang.String getEIResourcesByOnlyTypeANDRdfsLabel(com.hp.hpl.jena.rdf.model.Model rdfModel)
- Returns the a sparql query that asks the repo for the URI of a resource
of Model ,It builds query of properties containing only rdfs:type and
rdfs:lable as predicate
forRegex
public static java.lang.String forRegex(java.lang.String aRegexFragment)
Copyright © 2009-2010 Eagle-I. All Rights Reserved.