Hi All,

When doing descendant lookups (e.g. friend of a friend of a friend), The
parents keep showing up in the child results. Is this a bug in my query, the
API or the data?

Here is an example for the query "dog
breeds<http://www.razorbase.com/?qid=10000091244118359011>
":

http://www.razorbase.com/?qid=10000091244118359011

Here is the query:

    select distinct ?s5 as ?c1  where { ?s1 &lt;
> http://www.w3.org/2000/01/rdf-schema#label&gt; ?o1 . ?o1 bif:contains
> &#39;(DOG AND BREEDS)&#39;  . ?s1 &lt;
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; ?s2 . filter (?s1 =
> &lt;http://dbpedia.org/resource/Category:Dog_breeds&gt;) .  ?s3 &lt;
> http://www.w3.org/2004/02/skos/core#subject&gt; ?s1 . filter (?s1 = &lt;
> http://dbpedia.org/resource/Category:Dog_breeds&gt;) .  ?s4 &lt;
> http://www.w3.org/2004/02/skos/core#broader&gt; ?s1 . ?s4 &lt;
> http://www.w3.org/2004/02/skos/core#broader&gt; ?s5 . filter (?s1 = &lt;
> http://dbpedia.org/resource/Category:Dog_breeds&gt;) .  } order by desc
> (&lt;LONG::IRI_RANK&gt; (?s5))  limit 25  offset 0
>


The string "dog breeds" returned a skos:Category for DogBreed in the results
set, so I selected it and went to its skos:broader property. I then used the
>> descendants button to walk up the broader path, but because the parent is
showing up in the children results, the results contain redundant and
therefore incorrect resources. This happens for all descendants.

To reproduce, just enter dog breeds, then open the Information Explorer (the
blue down arrow on the gray bar), then Open the Reverse Properties Explorer
(the red and green "swap" arrows), then click the blue plus sign next to
"... is a skos:broader of". Now to walk the descendants path, click the
double blue arrows (>>).

-- 

Thanks,
-sherman

I pray that you may prosper in all things and be healthy, even as your soul
prospers
(3 John 1:2)

Reply via email to