Tihah; Just looking at the error message, it seems the path is not correct - note there are two C: drives in the message.

In general the sml:sourceFilePath should be relative to the script location or start at the root of the workspace.  For example if you have a project named test.example.com and have the path SNaP/Event/Attack_on_Camp_Holloway.txt, then the full path to specify would be:
  /
test.example.com/SNap/Event/Attack_on_Camp_Holloway.txt

-- Scott

On 4/8/2014, 10:45 PM, Tihah wrote:

Greeting,

I have created an ontology and now I want to import the text file into topbraid. I am trying so many time to use SPARQLMortion to import text file document but I got some syntax error. I'm not familiar with SPAQLMotion syntax. Kindly please give me some idea to solve this problem. Attached is the syntax error:

Error: org.topbraid.spin.sparqlmotion.modules.SMException: Failed to get contents of file C:\Users\Lenovo\TBCSEWorkspace\SNaP\Event\C:\Users\Lenovo\TBCSEWorkspace\SNaP\Event\Attack_on_Camp_Holloway.txt
--
-- 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.



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