Guil; Probably best to start a new thread when changing topics.  It
appears we need to update the SPARQLMotion tutorial a bit.  That query
should use the SERVICE keyword:

CONSTRUCT
{  ?capital a region:Capital .
   ?capital rdfs:label ?name.
}
WHERE
{  SERVICE <http://dbpedia.org/sparql>
   {  ?dbpediaURI <http://dbpedia.org/property/capital> ?capital.
      ?capital rdfs:label ?name.
   }
}

We will get that fixed.

On the "download URI" question, an important part to understand here
is that you are using a SPARQL endpoint defined for DBPedia.  The
SERVICE keyword will submit the graph pattern (contained in the curly
braces) to a remote endpoint that will process the query and send back
the results.  Downloading the entire data set in this case doesn't
make sense, as DBPedia has over 600 million triples.  And that's where
the value of SPARQL endpoints come in - you can offload processing to
a server that owns some large (or small) data set.

-- Scott

On Mar 9, 5:14 am, Guilherme Scomparim <[email protected]> wrote:
> Hi Scott and Holger,
>
>   I am having problem when I am prototyping the Exercise 4 on the
> SPARQLMotionTM Tutorial Version 2.0.2. Understanding this example is
> important to understand how I solve the problem I have been working
> on.
>
>   When I execute the following query I do not get any result
>
> CONSTRUCT {?capital a region:Capital. ?capital rdfs:label ?name.}
> FROM <http://dbpedia.org/sparql>
> WHERE {<http://dbpedia.org/resource/Andorra> <http://dbpedia.org/
> property/capital> ?capital.
> ?capital rdfs:label ?name. }
>
>  I believe is the problem is "FROM <http://dbpedia.org/sparql>"
>
> Can I download this URI somehow and use it instead of looking on the
> net?
>
> Thanks in Advance,
> Guil
>
> On Mar 5, 2:41 am, Scott Henninger <[email protected]> wrote:
>
> > Guil; Seehttp://www.topquadrant.com/products/SPARQLMotion.html, in
> > particular the examples and tutorial found on the right-hand side.
>
> > -- Scott
>
> > On Mar 4, 3:00 am, Guilherme Scomparim <[email protected]> wrote:
>
> > > Hi Scott and Holger,
>
> > >    Thank you for the Tips.
>
> > >    I will try to solve this problem using SPARQLMotion with some of
> > > the things you mention and then I will let you know the result later.
>
> > >    Do you have any complex examples of SPARQLMotion for me to have a
> > > look?
>
> > > Thanks again,
> > > Guil

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

Reply via email to