[Dbpedia-discussion] How do I run the tests?

2010-06-24 Thread Jimmy O'Regan
Sorry for the stupid question, but I'm trying to add support for Polish dates (untested patches attached), and can't find anything about running surefire with scala. Also; is it ok to add periods in the era regex? I was kind of expecting to see the German "v. Chr." in there. -- jimregan, that's

Re: [Dbpedia-discussion] Cross Domain Sparql Requests

2010-06-24 Thread Joe Presbrey
Hi Manuel, yes. You should use JSON-P aka. JSON w/ callback. DBpedia/Virtuoso's JSON output module supports ?callback=foobar query string parameter, eg. http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&should-sponge=&query=SELECT+DISTINCT+%3Fs+WHERE+%7B%0D%0A%3Fs+%3Chttp%3A%2F

[Dbpedia-discussion] Cross Domain Sparql Requests

2010-06-24 Thread Manuel Schölling
Hi, is there any possibility to access dbpedia from another domian? This code snippet does not work, because the dbpedia server does not support Access-Control-Allow-Origin in the response header: var req = new XMLHttpRequest(); req.open("GET", "http://dbpedia.org/sparql";); req.send