Skip to content
Snippets Groups Projects
Commit e720fd56 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

WIP add nsdb

parent 4191c03c
No related branches found
No related tags found
No related merge requests found
......@@ -807,6 +807,10 @@
"tgn": {
"label": "The Getty Thesaurus of Geographic Names (TGN)",
"aboutLink": "http://www.getty.edu/research/tools/vocabularies/tgn/about.html"
},
"nsdb": {
"label": "Norwegian Place Name Database",
"aboutLink": "http://www.getty.edu/research/tools/vocabularies/tgn/about.html"
}
},
"inputPlaceHolder": "Search place names",
......
......@@ -42,22 +42,16 @@
"boundingboxSearch": {}
},
"datasets": {
"kotus": {
"endpoint": "https://ldf.fi/kotus-names-archive/sparql",
"selected": true
},
"pnr": {
"endpoint": "https://ldf.fi/pnr-keyword-index/sparql",
"selected": true
},
"warsa_karelian_places": {
"endpoint": "https://ldf.fi/warsa/sparql",
"selected": false
"nsdb": {
"endpoint": "https://sd-33591800.stardog.cloud:5820/archive/query",
"selected": true,
"useAuth": true
},
"tgn": {
"endpoint": "https://vocab.getty.edu/sparql.json",
"selected": false
}
},
"maps": {
"boundingboxSearch": {
......
......@@ -9,7 +9,7 @@ export const runSelectQuery = async ({
postprocess = null,
previousSelections = null, // not in use
resultFormat,
useAuth = false
useAuth = true
}) => {
const MIMEtype = resultFormat === 'json'
? 'application/sparql-results+json; charset=utf-8'
......
export const federatedSearchSparqlQueries = {
nsdb: {
resultQuery: `
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
SELECT ?id ?prefLabel WHERE {
?id crm:P1i_identifies ?place ;
rdfs:label ?prefLabel .
}
`
},
tgn: {
......
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