Stephane
Thank you for clarifying this
Szymon
On Mar 13, 6:17 pm, Stéphane Campinas <
stephane.campi...@gmail.com>
wrote:
> Hi Soheila,
>
> you get the same nodes because you are querying for the edges, and one node
> possibly has multiple edges: the node foaf:Person has several properties,
> e.g., name, age, .... Therefore, you will have mutiple rows with that same
> node name.
>
> Look at this query
>
> PREFIX an: <
http://vocab.sindice.net/analytics#>
> PREFIX any23: <
http://vocab.sindice.net/>
> SELECT ?node ?predicate ?target
> FROM <
http://sindice.com/analytics>
> WHERE {
> ?node any23:domain_uri ?Source_domain .
> ?edge an:source ?node .
> ?edge an:label ?predicate .
> ?edge an:target ?target}
>
> LIMIT 10
>
>
>
>
>
>
>
> On Tuesday, 13 March 2012 16:25:00 UTC, sally wrote:
>
> > and when i add the DISTINCT keyword i get the different nodes :-/
>
> > On Tue, Mar 13, 2012 at 4:23 PM, Soheila Dehghanzadeh <
sally...@gmail.com>wrote:
>
> >> and the other 7 are also the same :-/
>
> >> On Tue, Mar 13, 2012 at 4:22 PM, Soheila Dehghanzadeh <
sally...@gmail.com
> >> > wrote:
>
> >>> Hi Szydan,
> >>> thanks for correction but I run ur query and the 3 first nodes are the
> >>> same :-/
>
> >>>> > > I run this query last week athttp://
sparql.sindice.com/andget 5000
> >>>> > > results:
>
> >>>> > > PREFIX an: <
http://vocab.sindice.net/analytics#>
> >>>> > > PREFIX any23: <
http://vocab.sindice.net/dataset#>
> >>>> > > SELECT DISTINCT ?node
> >>>> > > WHERE {
> >>>> > > ?node any23:domain_uri ?domain .
> >>>> > > ?node an:source ?edge.
> >>>> > > }
> >>>> > > and now when i run it again, i get no result :-/
> >>>> > > Does anyone know what is the problem ?
>
> >>>> > > -Soheila D.
>
> >>>> > > --
> >>>> > > You received this message because you are subscribed to the Google
> >>>> > > Groups "Sindice Developers" group.
> >>>> > > To post to this group, send email to
sindi...@googlegroups.com
> >>>> > > To unsubscribe from this group, send email to
> >>>> > >
sindice-dev...@googlegroups.com
> >>>> > > For more options, visit this group at
> >>>> > >
http://groups.google.com/group/sindice-dev?hl=en
>
> >>>> > >http://sindice.comhttp://sig.mahttp://
www.deri.ie
>
> >>>> --
> >>>> You received this message because you are subscribed to the Google
> >>>> Groups "Sindice Developers" group.
> >>>> To post to this group, send email to
sindi...@googlegroups.com
> >>>> To unsubscribe from this group, send email to
> >>>>
sindice-dev...@googlegroups.com