• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/srv/ClioPatria/api/lod.pl
All Application Manual Name SummaryHelp

  • ClioPatria
    • api
      • sesame.pl
      • journal.pl -- RDF DB journal-API
      • sparql.pl
      • json.pl
      • export.pl -- Export data from the server
      • void.pl -- Void vocabulary description of the server
      • rdflib.pl -- Provide access to the ontology library
      • lod_crawler.pl
      • lod.pl -- LOD - Linked Open Data server
        • redirect_uri/3
        • lod_description/2
        • lod_api/2
        • triple_in/5
      • pengines.pl -- Provide pengines Prolog and JavaScript API
 cliopatria:redirect_uri(+Format, +URI, -RedirectURL)[multifile, api(lod)]
Compose a RedirectionURL based on the output Format and the URI that is in our RDF database. For example, this could map the URI http://example.com/employe/bill into Bill's homepage at http://example.com/~bill if Format is html. The default is to a format-specific extension to the path component of URI, returning e.g., http://example.com/employe/bill.rdf if the requested format is RDF.
Arguments:
Format- is one of xmlrdf, =turtle, json or html.
See also
- This hook is used by redirect/3.
ClioPatria (version V3.1.1-51-ga0b30a5)