1.5.41.How can I incorporate Content Negotiation into RDF bulk loaders?

The examples from below demonstrate how to incorporate Content Negotiation into RDF bulk loaders:

  • Using the DB.DBA.RDF_LOAD_RDFXML function:

    DB.DBA.RDF_LOAD_RDFXML (http_get ('http://purl.org/ontology/mo/', null, 'GET', 'Accept: application/rdf+xml', null, null, 3), 'http://purl.org/ontology/mo/', 'http://purl.org/ontology/mo/') .
    
  • Using the DB.DBA.TTLP function: The call to http client should be modified to ask for appropriate content type as for ex:

    DB.DBA.TTLP (http_get ('http://purl.org/ontology/mo/', null, 'GET', 'Accept: text/n3', null, null, 3), 'http://purl.org/ontology/mo/', 'http://purl.org/ontology/mo/'), '...', '...');