Old Release

This documentation relates to an old version of VIVO, version 1.10.x. Looking for another version? See all documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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.

PredicateTypeUsage
aOSpecify the type of data distributor
actionNameDAssociates the instance with an HTTP request.
child

childGraphBuilder

constructQueryDThe SPARQL CONSTRUCT query
contentTypeDThe MIME type to be sent in the HTTP response header.
drillDownQuery

emptyResponseDA string to be served as an “empty data set”, if the file is not found.
filepathTemplateDA template for constructing the file path from the selection value. If the constructed path is relative, it is relative to the Vitro home directory.
graphBuilderOCreates an internal RDF graph
literalBindingDThe name of a request parameter whose value should be bound in the query as a plain literal.
parameterNameDThe request parameter name. Used in various contexts by the distributors. See the examples.
parameterPatternDA regular expression to extract the file selector from the parameter value.
parameterValueD A that will be added to the named parameter, each value will be used in a run of childGraphBuilder
pathDThe location of a file to be served by the FileDistributor. If a relative path, it is relative to the Vitro home directory.
queryDThe SPARQL SELECT query.
script

supportingScript

topLevelGraphBuilder

uriBindingDThe name of a request parameter whose value should be bound in the query as a URI.




  • No labels