Versions Compared

Key

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

...

Code Block
@prefix : <http://vitro.mannlib.cornell.edu/ns/vitro/ApplicationSetup#> .
  
:data_distributor_hello
    a   <java:edu.cornell.library.scholars.webapp.controller.api.distribute.DataDistributor> ,
        <java:edu.cornell.library.scholars.webapp.controller.api.distribute.examples.HelloDistributor> ;
    :actionName "hello" .

Second, restart Tomcat.  VIVO will reread its everytime content.  The assertions in the Turtle file will be added to VIVO's content triple store.  The API is now ready for use.

Visit the URL:  http://mydomain.edu/api/datarequest/hello

You should see:

Code Block
Hello, World

in your browser

Managing Configuration Files

...

  1. VIVO Data Distribution API on GitHub https://cul-it.github.io/vivo-data-distribution-api/
  2. Turtle - Terse RDF Triple Language https://www.w3.org/TeamSubmission/turtle/

  3. SPARQL

  4. VIVO Ontology Reference