Looking at the server response header, it seems like the JSON is returned with content-encoding of gzip. Could this be changed to be delivered as normal text? Web Browsers seem to unzip this automatically but SPARQLMotion will not.

Holger


On 4/23/2014 9:56, Steve Ray (CMU) wrote:

Question: Why is it that I get a Code 500 error when trying to retrieve text from http://ohana-api-demo.herokuapp.com/api/locations within a SPARQLMotion script, when using that same URL in a browser works just fine?

This is a script that I use with other sources of json data just fine, so I don't think it's the "fault" of TBC. But do you think it could be a timeout problem or something? Is there any setting I can change? Any other ideas?

The script works when I copy the data to a local file and use file://localhost/Data/Work/TopBraid/Ontology/projects/sc.r20130211/Scripts/Input/OhanaLocations.txt <file:///%5C%5Clocalhost%5CData%5CWork%5CTopBraid%5COntology%5Cprojects%5Csc.r20130211%5CScripts%5CInput%5COhanaLocations.txt>

to retrieve it.

- Steve

Steven R. Ray, Ph.D.

Distinguished Research Fellow

Carnegie Mellon University

NASA Research Park

Building 23 (MS 23-11)

P.O. Box 1
Moffett Field, CA 94305-0001

Email: [email protected]

Phone: (650) 587-3780

Cell: (202) 316-6481

Skype: steverayconsulting

10yr-logo-sm

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL 
Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to