Package com.stardog.stark
Class ExtractionQuery
java.lang.Object
com.stardog.stark.ExtractionQuery
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
where TYPE and PROPERTY are specified by the user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringgenerate(Collection<IRI> types, Collection<IRI> properties) static Stringgenerate(Collection<IRI> types, Collection<IRI> properties, Collection<IRI> graphs)
-
Constructor Details
-
ExtractionQuery
public ExtractionQuery()No instances
-
-
Method Details
-
generate
-
generate
public static String generate(Collection<IRI> types, Collection<IRI> properties, Collection<IRI> graphs)
-