<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>TopBraid Composer Users Google Group</title>
  <link>http://groups.google.com/group/topbraid-composer-users</link>
  <description>Discussion forum for users of TopBraid Composer.</description>
  <language>en</language>
  <item>
  <title>Re: [tbc-users] Re: Auto add spin subclass inferences</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/89b788acdcc49374?show_docid=89b788acdcc49374</link>
  <description>
  Sure. Of course any DB-backed solution will be slower than an in-memory one. You can work around some slowness with careful engineering. For example, &lt;br&gt; - compute the class-to-rule mapping only once (walking the SPIN RDF syntax expressions might be slow on a DB). &lt;br&gt; - if there are no cycles in your rules, then the inferred triples can be written to an in-memory model to prevent many small update requests.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/89b788acdcc49374?show_docid=89b788acdcc49374</guid>
  <author>
  hol...@topquadrant.com
  (Holger Knublauch)
  </author>
  <pubDate>Mon, 21 Dec 2009 12:21:30 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] Re: Auto add spin subclass inferences</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/f67d083fa46c1292?show_docid=f67d083fa46c1292</link>
  <description>
  Just a quick point before I look into how to use union graphs. &lt;br&gt; The SDB backed model I was using wasn&#39;t an OntModel, it was just &lt;br&gt; produced by copying the OntModel into it. e.g. &lt;br&gt; _store = SDBFactory.connectStore(&amp;quot;sdb.t tl&amp;quot;); &lt;br&gt; Model _sdbModel = &lt;br&gt; SDBFactory.connectNamedModel(_ store, URI);
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/f67d083fa46c1292?show_docid=f67d083fa46c1292</guid>
  <author>
  j...@netbrackets.com
  (Jeffrey Schmitz)
  </author>
  <pubDate>Sun, 20 Dec 2009 23:49:26 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] registerAllSPINModules exception</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/d6172863b16c6fc1/489107cdc759d2a3?show_docid=489107cdc759d2a3</link>
  <description>
  The problem seems to be that I wasn&#39;t following the note: &lt;br&gt; public void registerAll(Model model) &lt;br&gt; Registers all functions and templates from a given Model. Note that &lt;br&gt; the Model should be an OntModel that also imports the system &lt;br&gt; namespaces spin.owl and sp.owl - otherwise the system may not be able &lt;br&gt; to transform the SPIN RDF into the correct SPARQL string.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/d6172863b16c6fc1/489107cdc759d2a3?show_docid=489107cdc759d2a3</guid>
  <author>
  j...@netbrackets.com
  (Jeffrey Schmitz)
  </author>
  <pubDate>Sun, 20 Dec 2009 13:59:09 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] registerAllSPINModules exception</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/d6172863b16c6fc1/00af2addc33778c5?show_docid=00af2addc33778c5</link>
  <description>
  Hi Jeff, &lt;br&gt; could you send me the spl.spin.owl file from your distribution? Also, which Jena version are you using? &lt;br&gt; Thanks &lt;br&gt; Holger
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/d6172863b16c6fc1/00af2addc33778c5?show_docid=00af2addc33778c5</guid>
  <author>
  hol...@topquadrant.com
  (Holger Knublauch)
  </author>
  <pubDate>Sun, 20 Dec 2009 07:32:53 UT
</pubDate>
  </item>
  <item>
  <title>Re: SparqlMotion script not retrieving all subclasses from an ontology that imports other ontologies</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/afae7fd03be30ebc/c3db97f341867962?show_docid=c3db97f341867962</link>
  <description>
  TK; It&#39;s not entirely clear from the description what the count is &lt;br&gt; for, but using an aggregate may be an effective way to do this. The &lt;br&gt; following gets all subclasses of owl:Thing and a count of the number &lt;br&gt; of subclasses. &lt;br&gt; SELECT ?cls (count(?subc) as ?subClasses) &lt;br&gt; WHERE { &lt;br&gt; ?cls rdfs:subClassOf+ owl:Thing .
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/afae7fd03be30ebc/c3db97f341867962?show_docid=c3db97f341867962</guid>
  <author>
  shennin...@topquadrant.com
  (Scott Henninger)
  </author>
  <pubDate>Sat, 19 Dec 2009 18:28:08 UT
</pubDate>
  </item>
  <item>
  <title>registerAllSPINModules exception</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/d6172863b16c6fc1/f5024c6031985feb?show_docid=f5024c6031985feb</link>
  <description>
  Hello, &lt;br&gt; I&#39;m getting an exception on the call to registerAllSPINModules &lt;br&gt; (stack trace below). Stepping through the code, it&#39;s happeining on &lt;br&gt; the following spin:Function defined in the spl ontology (spl.spin.owl): &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://spinrdf.org/spl#hasValue&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; I&#39;m not quite sure how to debug this one. I believe I have the latest
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/d6172863b16c6fc1/f5024c6031985feb?show_docid=f5024c6031985feb</guid>
  <author>
  j...@netbrackets.com
  (Jeffrey Schmitz)
  </author>
  <pubDate>Sat, 19 Dec 2009 15:06:29 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] Re: Auto add spin subclass inferences</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/fdaf31ab97ac6659?show_docid=fdaf31ab97ac6659</link>
  <description>
  Jeff, &lt;br&gt; whenever you have a MultiUnion graph (or OntModel) that consists of more than one sub-graph, then the performance of the SPARQL engine might go down significantly. This is because the triple matches may need to dynamically merge partial results from multiple sub-graphs. On the other hand, if you just have a single graph (incl a single SDB graph), then the system can exploit native optimizations and do complex graph patterns with a single, optimized operation. In practice my guess is that you will have best performance if you put all sub-graphs into the same SDB (possibly split into named graphs) and then operate on the union graph (via the named graph &amp;lt;urn:x-arq:UnionGraph&amp;gt;).
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/fdaf31ab97ac6659?show_docid=fdaf31ab97ac6659</guid>
  <author>
  hol...@topquadrant.com
  (Holger Knublauch)
  </author>
  <pubDate>Sat, 19 Dec 2009 13:08:19 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] Re: Auto add spin subclass inferences</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/8c38948ae3438bc1?show_docid=8c38948ae3438bc1</link>
  <description>
  Well, I was doing things so fast and furiously that I&#39;m not for sure &lt;br&gt; what it was that helped, but I wasn&#39;t tweaking any of my queries so it &lt;br&gt; wasn&#39;t anything like that. I think it had mostly to do with making &lt;br&gt; sure I was using an &amp;quot;in memory&amp;quot; model instead of a database backed &lt;br&gt; model. When I created an Ontology model like:
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/8c38948ae3438bc1?show_docid=8c38948ae3438bc1</guid>
  <author>
  j...@netbrackets.com
  (Jeffrey Schmitz)
  </author>
  <pubDate>Sat, 19 Dec 2009 05:40:02 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] SparqlMotion script not retrieving all subclasses from an ontology that imports other ontologies</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/afae7fd03be30ebc/e476095418d131fe?show_docid=e476095418d131fe</link>
  <description>
  Please make sure that the file explicitly asserts all rdfs:subClassOf triples. When you open files in TBC, the system will add &amp;quot;trivial&amp;quot; inferences to make sure that each named class has at least one named superclass. These are then inferred triples, which would not be available by default if your file is loaded through SPARQLMotion. Also, you may want to import the system triples to get the same environment like in TBC.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/afae7fd03be30ebc/e476095418d131fe?show_docid=e476095418d131fe</guid>
  <author>
  hol...@topquadrant.com
  (Holger Knublauch)
  </author>
  <pubDate>Sat, 19 Dec 2009 05:23:35 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] Re: Auto add spin subclass inferences</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/9da14d354ade5d27?show_docid=9da14d354ade5d27</link>
  <description>
  I am glad to hear that. If you have any lessons learnt on the &amp;quot;dumb things&amp;quot; then we would appreciate if you could share them with others on this mailing list. For example, changing the order of clauses can reduce many orders of magnitude off query execution times, e.g. see &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://ascensionsemantica.blogspot.com/2009/11/bad-bad-sparql-pattern-good-spintrace.html&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/9da14d354ade5d27?show_docid=9da14d354ade5d27</guid>
  <author>
  hol...@topquadrant.com
  (Holger Knublauch)
  </author>
  <pubDate>Sat, 19 Dec 2009 05:14:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] Magic Properties vs Spin Rules</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/4e388fe109b1d3ba/e4ddf29e254b54b5?show_docid=e4ddf29e254b54b5</link>
  <description>
  Hi Arthur, &lt;br&gt; by default, magic properties are not available as &amp;quot;inferred&amp;quot; triples while browsing a model in TopBraid. They are computed on demand in SPARQL queries only. However, you can add a SPIN rule such as &lt;br&gt; CONSTRUCT { &lt;br&gt; ?a my:magicProperty ?b . &lt;br&gt; WHERE { &lt;br&gt; ?a my:magicProperty ?b . &lt;br&gt; to make them explicit. This way you avoid duplicating the definitions of the body. I am sure this could be generalized into a single rule for all magic properties, at least with a bit of Java coding (e.g. write a meta magic property that runs all other magic properties). If that&#39;s of interest I can add something to 3.3
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/4e388fe109b1d3ba/e4ddf29e254b54b5?show_docid=e4ddf29e254b54b5</guid>
  <author>
  hol...@topquadrant.com
  (Holger Knublauch)
  </author>
  <pubDate>Sat, 19 Dec 2009 05:07:28 UT
</pubDate>
  </item>
  <item>
  <title>SparqlMotion script not retrieving all subclasses from an ontology that imports other ontologies</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/afae7fd03be30ebc/1cd35c7cc2244b0f?show_docid=1cd35c7cc2244b0f</link>
  <description>
  I have written a SparqlMotion script that imports an ontology, say &lt;br&gt; &amp;quot;Main,&amp;quot; using the &amp;quot;Import RDF From Workspace&amp;quot; module. (Now, &amp;quot;Main,&amp;quot; &lt;br&gt; itself, imports several sub-ontologies.) Following this module, I have &lt;br&gt; a Sparql query that attempts to retrieve all subclasses of &lt;br&gt; &amp;quot;owl:Thing&amp;quot;--from &amp;quot;Main&amp;quot; and from all ontologies that &amp;quot;Main&amp;quot; imports.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/afae7fd03be30ebc/1cd35c7cc2244b0f?show_docid=1cd35c7cc2244b0f</guid>
  <author>
  thomas.carpen...@ctg.com
  (TKC)
  </author>
  <pubDate>Fri, 18 Dec 2009 22:31:55 UT
</pubDate>
  </item>
  <item>
  <title>Magic Properties vs Spin Rules</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/4e388fe109b1d3ba/80e2557cd7b00125?show_docid=80e2557cd7b00125</link>
  <description>
  I am looking into SPIN to compute derived quantities in an analytical model. I studied the blog on magic properties, and tried it out the grandParent magic property on kennedys.owl and it works as promised. I understand that these magic properties are intended to extend SPARQL, however, since they are properties, could they be extended to be used for late binding properties on objects, so that the values could be computed on access? I tried unsuccessfully to do this, and concluded that were not meant to be used in this way and that I should use spin rules for computing derived properties on objects. Is that correct?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/4e388fe109b1d3ba/80e2557cd7b00125?show_docid=80e2557cd7b00125</guid>
  <author>
  arthur.a.k...@gmail.com
  (Arthur Keen)
  </author>
  <pubDate>Sat, 19 Dec 2009 00:37:23 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] Re: Auto add spin subclass inferences</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/3b8d6dfae7ce935d?show_docid=3b8d6dfae7ce935d</link>
  <description>
  Actually, after fixing a few dumb things I was doing, the speed has &lt;br&gt; improved immensely. In the end, I don&#39;t think supressing the spin &lt;br&gt; model inferences really buys much since inferences are now running in &lt;br&gt; under a second, even with those in. &lt;br&gt; Jeff
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/3b8d6dfae7ce935d?show_docid=3b8d6dfae7ce935d</guid>
  <author>
  j...@netbrackets.com
  (Jeffrey Schmitz)
  </author>
  <pubDate>Fri, 18 Dec 2009 20:47:56 UT
</pubDate>
  </item>
  <item>
  <title>Re: [tbc-users] Re: Auto add spin subclass inferences</title>
  <link>http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/9a8216fd36e8f122?show_docid=9a8216fd36e8f122</link>
  <description>
  Thanks for the suggestions, just a couple comments below... &lt;br&gt; There are some class/subclass hierarchies, but currently very little &lt;br&gt; instance data (that will change). Looking at the inferences produced, &lt;br&gt; most of the them are from the spin models themselves. e.g. &lt;br&gt; [&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://spinrdf.org/spin#_arg5&quot;&gt;[link]&lt;/a&gt;, &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/topbraid-composer-users/browse_frm/thread/42fd1bb77dcf4f1b/9a8216fd36e8f122?show_docid=9a8216fd36e8f122</guid>
  <author>
  j...@netbrackets.com
  (Jeffrey Schmitz)
  </author>
  <pubDate>Fri, 18 Dec 2009 20:05:03 UT
</pubDate>
  </item>
  </channel>
</rss>
