VIVO Documentation
Old Release
This documentation relates to an old version of VIVO, version 1.10.x. Looking for another version? See all documentation.
The Data Distribution API uses RDF statements (examples in Turtle format) to specify the configuration for an action. Each distributor has a type (specifed by "a" see below), and action name, and may use additional predicates to indicate relations to other entities.
Predicate | Type | Usage |
---|---|---|
a | O | Specify the type of data distributor |
actionName | D | Associates the instance with an HTTP request. |
child | ||
childGraphBuilder | ||
constructQuery | D | The SPARQL CONSTRUCT query |
contentType | D | The MIME type to be sent in the HTTP response header. |
drillDownQuery | ||
emptyResponse | D | A string to be served as an “empty data set”, if the file is not found. |
filepathTemplate | D | A template for constructing the file path from the selection value. If the constructed path is relative, it is relative to the Vitro home directory. |
graphBuilder | O | Creates an internal RDF graph |
literalBinding | D | The name of a request parameter whose value should be bound in the query as a plain literal. |
parameterName | D | The request parameter name. Used in various contexts by the distributors. See the examples. |
parameterPattern | D | A regular expression to extract the file selector from the parameter value. |
parameterValue | D | A that will be added to the named parameter, each value will be used in a run of childGraphBuilder |
path | D | The location of a file to be served by the FileDistributor. If a relative path, it is relative to the Vitro home directory. |
query | D | The SPARQL SELECT query. |
script | ||
supportingScript | ||
topLevelGraphBuilder | ||
uriBinding | D | The name of a request parameter whose value should be bound in the query as a URI. |
Overview
Content Tools