list_uri_prefixes: Bugfix
This commit is contained in:
parent
3be5e85ef7
commit
0872ca1335
2 changed files with 4 additions and 1 deletions
|
|
@ -23,6 +23,9 @@ function list_prefixes() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTriplestorePrefixes($engine, &$prefixes) {
|
function getTriplestorePrefixes($engine, &$prefixes) {
|
||||||
|
// some adapters don't support a query method!
|
||||||
|
if (!method_exists($engine, 'directQuery')) return NULL;
|
||||||
|
|
||||||
$results = $engine->directQuery('
|
$results = $engine->directQuery('
|
||||||
select distinct ?base where {
|
select distinct ?base where {
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,5 @@ urn:
|
||||||
http://d-nb.info/gnd/
|
http://d-nb.info/gnd/
|
||||||
http://erlangen-crm.org/
|
http://erlangen-crm.org/
|
||||||
http://id.gnm.de/ont/
|
http://id.gnm.de/ont/
|
||||||
http://zotero.org/
|
http://www.zotero.org/
|
||||||
https://api.zotero.org/
|
https://api.zotero.org/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue