On Oct 31, 2011, at 10:59 PM, PaulZH wrote:
> TBCME 3.5.2.v20110828-2200R on Mac OSX 10.7.2
>
> I do a SPARQL query using inferencing which takes a lot of time.
> I do get the wished result in the results pane of the SPARQL View.
> When I ask then to Export the results to file ... the query restarts,
> taking the same long time as previously, to finally get at the save
> as ... widget.
>
> Is there no way to serialize the result one does already have to the
> file system?
No currently this isn't possible in TBC. The issue is that the implementation
of this serialization starts with a Jena ResultSet, and those ResultSets are
already consumed to exhaustion when printed on the screen, so I need to let it
start from the beginning again. Another problem is that the SPARQL view in TBC
may not display all results, depending on the preferences.
The best thing you can do right now is to check whether you can optimize
performance of your queries. A common mistake is that SPARQL queries are
executed from the inside to the outside, e.g. UNION, GRAPH, sub-queries etc are
executed first, without taking the variable bindings of the surrounding blocks
into account. This may cause significantly different performance numbers. See
http://www.mail-archive.com/[email protected]/msg01778.html
Holger
--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion 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