Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Background

Triple Pattern Fragments is a method for query a triple store to retrieve a set of triples matching a specified pattern.  The pattern is always of the form subject predicate object, where any or all of the elements of the pattern may be unspecified, that is, wildcards.

So, for example the pattern <uri> * * finds all the triples which have the specified uri as a subject.  The pattern * <uri> * finds all the triples with the specified predicate, and * * <uri> finds all the triples with the specified object.

Triple pattern fragments is a very fast, very simple means for querying a triple store.  The triple pattern fragments API in VIVO puts little load on the server, providing a simple means for getting data from the triple store.  The API has a web interface for manual use, can be used from the command line via curl, and can be used by programs.  Each mode of usage is described below.

Note
titleOpen API

Triple Pattern Fragments, as delivered in VIVO, is an open API. This means that anyone, and any software can access the Triple Pattern Fragments endpoint of your VIVO without logging on, that is, without authorization. All the data in your full graph is accessible to the API and to those who use it. VIVO is built for data sharing, and the Triple Pattern Fragments API makes it very easy for your VIVO to share data with others. Please be sure your VIVO does not contain restricted data that should not be shared with others

Manual Query

Curl

Programmatic Access

References

  1. Linked Data Fragments In-depth http://linkeddatafragments.org/in-depth/
  2. Verborgh, R. et al. Triple Pattern Fragments: A low cost knowledege graph interface for the web https://www.sciencedirect.com/science/article/pii/S1570826816000214?via%3Dihub
  3. Verborgh, R. The Future is Federated.  Invited presentation at 2016 VIVO Conference, Denver, Colorado. http://openvivo.org/display/doi10.6084/m9.figshare.3680310