Package | Description |
---|---|
eu.fbk.rdfpro |
RDFpro library.
|
Modifier and Type | Field and Description |
---|---|
static RDFSource |
RDFSources.NIL
The null
RDFSource that returns no statements, namespaces and comments. |
Modifier and Type | Method and Description |
---|---|
static RDFSource |
RDFSources.query(boolean parallelize,
boolean preserveBNodes,
String endpointURL,
String query)
Returns an
RDFSource that retrieves data from a SPARQL endpoint using SPARQL
CONSTRUCT or SELECT queries. |
static RDFSource |
RDFSources.read(boolean parallelize,
boolean preserveBNodes,
String baseURI,
org.openrdf.rio.ParserConfig config,
String... locations)
Returns an
RDFSource that reads files from the locations specified. |
static RDFSource |
RDFSources.wrap(Iterable<? extends org.openrdf.model.Statement> statements)
Returns an
RDFSource providing access to the statements in the supplied collection. |
static RDFSource |
RDFSources.wrap(Iterable<? extends org.openrdf.model.Statement> statements,
Iterable<? extends org.openrdf.model.Namespace> namespaces)
Returns an
RDFSource providing access to the statements and namespaces in the
supplied collections. |
static RDFSource |
RDFSources.wrap(Iterable<? extends org.openrdf.model.Statement> statements,
Map<String,String> namespaces)
Returns an
RDFSource providing access to the statements and namespaces in the
supplied collection and map. |
default RDFSource |
RDFProcessor.wrap(RDFSource source)
Wraps the supplied
RDFSource so to post-process data of the source with this
RDFProcessor before returning it. |
Modifier and Type | Method and Description |
---|---|
default void |
RDFProcessor.apply(RDFSource input,
org.openrdf.rio.RDFHandler output,
int passes)
Applies the processor to the supplied
RDFSource , emitting output data to the
specified RDFHandler in one or more passes. |
default CompletableFuture<Void> |
RDFProcessor.applyAsync(RDFSource input,
org.openrdf.rio.RDFHandler output,
int passes)
Asynchronously applies the processor to the supplied
RDFSource , emitting output
data to the specified RDFHandler in one or more passes. |
static RDFProcessor |
RDFProcessors.inject(RDFSource source)
Creates an
RDFProcessor that injects in the RDF stream the data loaded from the
specified RDFSource . |
static RDFProcessor |
RDFProcessors.rdfs(RDFSource tbox,
org.openrdf.model.Resource tboxContext,
boolean decomposeOWLAxioms,
boolean dropBNodeTypes,
String... excludedRules)
Creates an
RDFProcessor that computes the RDFS closure of the RDF stream based on
the TBox separately supplied. |
static RDFProcessor |
RDFProcessors.rules(Ruleset ruleset,
Mapper mapper,
boolean dropBNodeTypes,
boolean deduplicate,
RDFSource tboxData,
boolean emitTBox,
org.openrdf.model.URI tboxContext)
Returns an
RDFProcessor that expands the ruleset based on the supplied TBox and
applies the resulting ruleset on input statements either as a whole or partitioned based on
an optional Mapper . |
default RDFSource |
RDFProcessor.wrap(RDFSource source)
Wraps the supplied
RDFSource so to post-process data of the source with this
RDFProcessor before returning it. |
Copyright © 2015–2016 FBK-irst. All rights reserved.