Error: No SPARQLMotion scripts found in this model

13 views
Skip to first unread message

Phil

unread,
Sep 3, 2009, 10:14:27 AM9/3/09
to TopBraid Composer Users
I am getting an error indicating that TopBraid cannot find a
sparqlmotion script in a model. What causes this error to occur? I
have a .owl file that contains sparqlmotion scripts to process XML
files into RDF that I ultimately store in an oracle database. I
started off creating a .owl file that contains these scripts and
everything works fine. I then copied the .owl file to a ".sms.owl"
file so that I could create a web service interface for invoking the
load. I had this up and running several weeks ago and haven't touched
the file since (at least, I don't remember doing so).

Anyway, is there a way for me to manually add something to the file
that would make TopBraid recognize the modules as sparqlmotion? I can
open the file with TopBraid and I can see my modules as instances of
the various "sm:Modules" classes. But it won't let me edit them using
the "Edit SparqlMotion script" option.

Any assistance would be greatly appreciated.

Phil

Scott Henninger

unread,
Sep 3, 2009, 10:31:40 AM9/3/09
to TopBraid Composer Users
Phil; Perhaps your sparqlmotion imports were removed or the libraries
were removed? Make sure that sparqlmotionlib and
sparqlmotionfunctions are imported in your script file. If not, then
either import them manually or use Scripts > Create SPARQLMotion
Script, which will ask to import the files if they are not already
present.

The sparqlmotion file to import are in the TopBraid library in the TBC
folder. If the project is closed, the library will be unavailable,
which seems a likely cause of the problem. If the files have been
removed, then use Import > RDF/OWL Library from the Web to get them
back into your workspace (this must be done for each workspace you
use).

-- Scott

Phil

unread,
Sep 3, 2009, 10:58:31 AM9/3/09
to TopBraid Composer Users
Hi, Scott.

I've checked the .sms.owl file and it has all of the sparql motion
libraries imported into it (at least, I assume it's all of them - I
guess I dont' know exactly which ones it needs, but there are several
listed under the imports window of this file). I've also verified via
the navigator that the libraries exist.

Any other thoughts?

Phil

On Sep 3, 10:31 am, Scott Henninger <shennin...@topquadrant.com>
wrote:
> > Phil- Hide quoted text -
>
> - Show quoted text -

Scott Henninger

unread,
Sep 3, 2009, 11:23:52 AM9/3/09
to TopBraid Composer Users
Phil; That's pretty much what's needed. Are there any specific errors
in the Error Log?

If you can see the instances, you can open one of those instances in
the form and open the Graph View. That will display the SPARQLMotion
script the instance occurs in.

-- Scott

Jack Hodges

unread,
Jul 22, 2019, 12:14:06 PM7/22/19
to TopBraid Suite Users
I know that this is an ancient thread but I didn't want to create a new one if I could find an old reference. I just transferred a project from home to work (only the project) and I imported it into a clean workspace and then tried to open my one SM script to do some work on it. It was fine at home last night but this morning I am told what Phil saw and that there are no SM scripts in this model. Very strange. Of course, the first thing I did was to refresh system registries, and the second thing I did was to restart TBCME. The third thing I did was to create a new script from scratch. And TBCME doesn't see any of them as a script.

So maybe this is a bug in v6.2.2? I may try to revert to an earlier version to test this hypothesis, but it was working on v6.2.2 at home, both on OSX though the one at home is HighSierra and this one is Mojave.

Jack

Holger Knublauch

unread,
Jul 22, 2019, 6:14:32 PM7/22/19
to topbrai...@googlegroups.com

Hi Jack,

I am sorry but I don't think we can help on this topic without seeing the actual files. Feel free to email them to me directly, off list.

Holger

--
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/126f0882-dbcd-4de4-be1d-e835fefabaf8%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages