antoniogarrote / rdfstore-js

JS RDF store with SPARQL support
MIT License
564 stars 109 forks source link

Loading remote graph not working #151

Open atrillos opened 7 years ago

atrillos commented 7 years ago

I am developing a javascript library and I use rdfstore-js to load a remote graph (http://dbpedia.org/page/Germany), but it does not return any solution, it doesn't even return errors. I also tried with the example given: store.execute('LOAD http://dbpedialite.org/titles/Lisp_%28programming_language%29\ INTO GRAPH ', function(err){ if(err) { var query = 'PREFIX foaf:http://xmlns.com/foaf/0.1/ SELECT ?o \ FROM NAMED { GRAPH { ?s foaf:page ?o} }'; store.execute(query, function(err, results) { console.log(results.length); // process results }); } }) but it doesn't work either. I don't know what am I missing or if I should do something before?