Hi Vinit,
it works for me, try this (using jquery)
$.ajax({url:'
http://dbpedia.org/sparql?query=select%20*%20{?a%20?d%20?bv}&output=json
',success:function(data){console.info(data)}})
you will get a valid response
1. Accept-Ranges:
bytes
2. Access-Control-Allow-Origin:
*
3. Access-Control-Expose-Headers:
Content-Type
4. Connection:
keep-alive
5. Content-Length:
12395136
6. Content-Type:
application/sparql-results+json
7. Date:
Tue, 26 Aug 2014 17:35:28 GMT
8. Server:
Virtuoso/07.10.3211 (Linux) x86_64-redhat-linux-gnu VDB
2014-08-26 18:33 GMT+02:00 Vinit Kumar <vinitbh...@gmail.com>:
> Dear all,
> I am facing a problem and hope smeone will help me in solving this. In one
> of the prototypes I am involved where I am accessing dbpedia using jquery
> by forming ajax query that picks some keywords form an HTML page and builds
> the query and sends it to dbpedia. The resulted data in json form is parsed
> and presented in tables. This was working last year (apx 15months before).
>
> Now again the script is not able to bring any data whereas the query url
> if accessed through a web-browser a JSON file is available for download.
>
> What could be reasons for this? Is there any modifications dbpedia made
> for script based access?
>
> > --
> > Regards
> > Vinit Kumar
> >
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Dbpedia-discussion mailing list
> Dbpedia-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion