From 65345372a5fe23b4bc2193aa203eaf68994bdea5 Mon Sep 17 00:00:00 2001 From: Ali Date: Wed, 9 Jan 2019 15:42:34 +0100 Subject: [PATCH] allow import of CSV files --- services/sparql/ImportQuery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/sparql/ImportQuery.js b/services/sparql/ImportQuery.js index c7dc5a54..0fab383e 100644 --- a/services/sparql/ImportQuery.js +++ b/services/sparql/ImportQuery.js @@ -41,7 +41,7 @@ class ImportQuery{ let propsSt = ''; for(let prop in node){ if(prop !== '@type' && prop !=='@id'){ - propsSt = propsSt + `${validUrl.is_web_uri(prop) ? '<'+prop+'>': prop} ${validUrl.is_web_uri(node[prop]) ? '<'+node[prop]+'>': '"""'+node[prop]+'"""'} ; `; + propsSt = propsSt + `${validUrl.is_web_uri(prop) ? '<'+prop+'>': prop} ${validUrl.is_web_uri(node[prop]) ? '<'+node[prop]+'>': '"""'+node[prop]+'"""'} ; `; } } this.query = this.query + `