Hi Sanjeev,

The error looks like the ImportRDFFromURL module can’t work out what RDF format 
the remote content is. Something must have changed since the tutorial was 
written, either in the way the module guesses the format, or in the way the 
server that hosts the file is set up.

The URL (http://download.topquadrant.com/countries) doesn’t provide any clue 
about the format such as a .rdf or .ttl extension. But when I download the file 
in my browser it is in RDF/XML format.

I don’t have version 5.3.2 handy to try it myself, but one thing to try is to 
explicitly tell the module what format to expect. This can be done by setting 
the sml:serialization argument of the ImportRDFFromURL module to sml:RDFXML.

Hope that helps,
Richard



> On 29 Jun 2018, at 13:02, sanjeev devireddy <[email protected]> 
> wrote:
> 
> Hi,
>       I created the exercise1 project given in the SPARQL Motion Tutorial ( 
> https://www.topquadrant.com/resources/technology/docs/SPARQLMotionTutorial.pdf
>  ) in my local Composer Maestro EditionV5.3.2. When I run the script the 
> following exception is thrown, Caused by: org.apache.jena.riot.RiotException: 
> Failed to determine the RDF syntax (.lang or .base required). The exception 
> is thrown by the Import RDF from URL module (LoadCountries). Could someone 
> please help?
> 
> <Auto Generated Inline Image 1.jpeg>
> 
> 
> 
> 
> Thanks,
> Sanjeev
> 
> -- 
> 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 
> <https://groups.google.com/d/optout>.
> <Auto Generated Inline Image 1.jpeg>

-- 
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