Package com.stardog.stark
Class ExtractionQuery
- java.lang.Object
-
- com.stardog.stark.ExtractionQuery
-
public final class ExtractionQuery extends java.lang.Object
Utility class to generate a SPARQL CONSTRUCT query that will extract all resources that have specified types or predicates. The generated query is a UNION of triple patterns in the form
?s a TYPE
or?s PROPERTY ?o
whereTYPE
andPROPERTY
are specified by the user.
-
-
Constructor Summary
Constructors Constructor Description ExtractionQuery()
No instances
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
generate(java.util.Collection<IRI> types, java.util.Collection<IRI> properties)
static java.lang.String
generate(java.util.Collection<IRI> types, java.util.Collection<IRI> properties, java.util.Collection<IRI> graphs)
-