OpenLink AJAX Toolkit (OAT) Wiki Web

OATWikiWeb.OATDOCrdfbrowser

  • Topic
  • Discussion
  • OATWikiWeb.OATDOCrdfbrowser(Last) -- DAVWikiAdmin? , 2008-09-23 09:49:18 Edit WebDAV System Administrator 2008-09-23 08:49:18

    rdfbrowser.js

    Multi-purpose RDF Browser.

    Objects

    OAT.RDFBrowser(div,options)

    Creates an RDF Browser object. Contents will be displayed inside div . You don't need to specify div if you have previously created (and appended) all elements with CSS IDs mentioned before. options may contain:

    • maxLength - maximum length of tree node label (defaul t30)
    • maxURILength - maximum length of displayed URI (default 60)
    • maxDistinctValues - maximum number of leaves in one tree node (default 100)
    • imagePath - include trailing slash (default OAT.Preferences.imagePath)
    • defaultURL - to be shown in input area (default "")
    • endpoint - SPARQL query endpoint (default "/sparql?query=")

    Methods

    OAT.RDFBrowser::store.addURL(url)

    Adds data from ur lto the Browser.

    OAT.RDFBrowser::store.addTriples(triples, label, href)

    Adds a set of triples to the Browser. One should specify a label and originating URI as href.

    CSS IDs

    #rdf_side

    ToBeDone

    #rdf_cache

    ToBeDone

    #rdf_tabs

    ToBeDone

    #rdf_filter

    ToBeDone

    #rdf_content

    ToBeDone

    CategoryDocumentation CategoryOAT CategoryOpenSource CategoryToBeDone