Private Graphs Collection

From n² wiki

Jump to: navigation, search

This is the Platform API documentation for the Metabox Private Graphs Collection.

A Metabox may have zero or more "private" graphs associated with it. These are separate RDF graphs that exist alongside the main default graph stored in the Metabox.

Contents

[edit] URI Pattern

http://api.talis.com/stores/{storename}/meta/graphs

[edit] Resource Operations

URI Pattern Method Request Body Semantics Capability required
/meta/graphs GET List the Private Graphs None

[edit] Request Parameters

None

[edit] Managing Private Graphs

[edit] Adding a Private Graph

Note: Currently creation of additional private graphs is available on request only.

[edit] List The Private Graphs

The private graph collection is an unordered list of graphs associated with the store. A GET request on the private graph collection will return an RDF document listing each of the currently configured graphs:

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:config="http://schemas.talis.com/2006/bigfoot/configuration#" > 
  <rdf:Description rdf:about="http://api.talis.com/stores/ldodds-dev1/meta/graphs">
    <config:graph rdf:resource="http://api.talis.com/stores/ldodds-dev1/meta/graphs/2"/>
    <config:graph rdf:resource="http://api.talis.com/stores/ldodds-dev1/meta/graphs/1"/>
    <rdf:type rdf:resource="http://schemas.talis.com/2006/bigfoot/configuration#GraphCollection"/>
  </rdf:Description>
</rdf:RDF>

Private graph URIs can be included in SPARQL queries sent to the Store Multisparql Service.

For a list of the supported operations on these graphs see Private Graphs.

Personal tools