You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I tried loading in the data from my csv hosted on a gist on Github. I got an error related to gist, so I put the csv file locally.
SPARQL data
I am fetching my SPARQL query data with an asynchoronous function;
async function runQuery(queryUrl, query){
let getData = await fetch(queryUrl+"?query="+ encodeURIComponent(query) +"&format=json")
let responseData = await getData.json()
let data = responseData.results.bindings
console.log(data)
return data
}
I await the fetch results before I put it in a variable and turn it into JSON.