Bruce,

As the book's second example, ex002.ttl is extremely simple. Three
resources have two or three properties each, and rdf:type is not declared
for any of them, which is why they don't show up under owl:Thing in TBC.
The resources aren't declared to be of any type, and they have to be
declared to be of type owl:Thing or some subclass of that to show up on
that tree.

If you open ex002.ttl in TBC and then paste the ex003.rq query into the
SPARQL view, the query does run as described in the book, except that you
have to remove the blank lines from the query first because the TBC SPARQL
view's syntax checker doesn't like blank lines. I just ran it with no
problem.

For arq issues, it would be better to ask on the jena mailing list (
http://jena.sourceforge.net/support.html) or email me offline instead of
putting the questions on the TopBraid mailing list.

Bob



On Wed, Jan 25, 2012 at 8:57 PM, Bruce Whealton <brucewheal...@gmail.com>wrote:

> I am wondering why I cannot run the files from the book by Bob
> DuCharme inside of TBC.  I created a project called LearningSparql.  I
> then dragged the exercise files from where I had unzipped them and and
> dropped them inside TBC inside the LearningSparql folder.
>
> What step could I be missing?  I then open up ex002.ttl inside TBC and
> I don't see anything.  I mean starting with owl:Thing there is nothing
> in there.  Needless to say the first query does not work.
> I can do this from the command line.  Although, it doesn't seem to
> accept my path.
> I have to type in c:\arq\bat\arq
> to get arq to run.  I have tried to put into the path c:\arq\bat and
> also c:\arq
> I know this is a bit off topic, though.  I do have the ARQROOT set to
> c:\arq
>
> Anyway, I was curious as to why I cannot open ex002.ttl inside TBC.
> The contents of the file are:
>
> # filename: ex002.ttl
>
> @prefix ab: <http://learningsparql.com/ns/addressbook#> .
>
> ab:richard ab:homeTel "(229) 276-5135" .
> ab:richard ab:email   "richar...@hotmail.com" .
>
> ab:cindy ab:homeTel "(245) 646-5488" .
> ab:cindy ab:email   "cin...@gmail.com" .
>
> ab:craig ab:homeTel "(194) 966-1505" .
> ab:craig ab:email   "craigel...@yahoo.com" .
> ab:craig ab:email   "c.el...@usairwaysgroup.com" .
>
> Thanks,
> Bruce
>
> --
> 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
> topbraid-users@googlegroups.com
> To unsubscribe from this group, send email to
> topbraid-users+unsubscr...@googlegroups.com
> 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
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
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to