Skip to content
Snippets Groups Projects
Commit 2bb2d217 authored by Alvaro Graves's avatar Alvaro Graves
Browse files

When using a DESCRIBE query, send http accept application/rdf+xml

parent a0101551
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ class Endpoint{
if($output == 'xml'){
$accept = 'application/sparql-results+xml';
}elseif($output == 'rdf'){
$accept = 'application/rdf+xml';
}
$c = curl_init();
$context = array();
......
......@@ -2,13 +2,13 @@
include_once('settings.inc.php');
$conf['endpoint']['select']['output'] = 'json';
$conf['endpoint']['describe']['output'] = 'xml';
$conf['endpoint']['describe']['output'] = 'rdf';
$conf['endpoint']['config']['output'] = $conf['endpoint']['select']['output'];
$conf['endpoint']['config']['named_graph'] = '';
$conf['endpoint']['config']['show_inline'] = 0;
$conf['metaendpoint']['select']['output'] = 'json';
$conf['metaendpoint']['describe']['output'] = 'xml';
$conf['metaendpoint']['describe']['output'] = 'rdf';
$conf['metaendpoint']['config']['output'] = $conf['metaendpoint']['select']['output'];
$conf['metaendpoint']['config']['show_inline'] = 0;
$conf['metaendpoint']['config']['named_graph'] = 'http://lodspeakr.org/metadata';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment