Re: [Virtuoso-users] A wrong behavior of SPARQL with transitive relationships.

2018-05-12 Thread Jason Koh
I want to use the subClassOf* to find instances of any subclasses of class2 including itself. I guess example return values would make this case clearer. Before talking about the example, let me explain it in the high level first. Below two lines should be equal for my original graph. ?o a/rdfs:sub

Re: [Virtuoso-users] A wrong behavior of SPARQL with transitive relationships.

2018-05-12 Thread Kingsley Idehen
On 5/12/18 5:11 PM, Jason Koh wrote: > From https://www.w3.org/TR/sparql11-property-paths/, > /elt*/A path of zero or more occurrences of /elt/. > > > > > With regards, > Jason Koh > cseweb.ucsd.edu/~jbkoh You have: You have: ``` sparql prefix :

Re: [Virtuoso-users] A wrong behavior of SPARQL with transitive relationships.

2018-05-12 Thread Jason Koh
>From https://www.w3.org/TR/sparql11-property-paths/, *elt** A path of zero or more occurrences of *elt*. With regards, Jason Koh cseweb.ucsd.edu/~jbkoh On Sat, May 12, 2018 at 2:10 PM, Jason Koh wrote: > Hi Kingsley, > > I put * path modifier, which should also match no subClassOf relationshi

Re: [Virtuoso-users] A wrong behavior of SPARQL with transitive relationships.

2018-05-12 Thread Jason Koh
Hi Kingsley, I put * path modifier, which should also match no subClassOf relationship pattern in my understanding. With regards, Jason Koh cseweb.ucsd.edu/~jbkoh On Sat, May 12, 2018 at 1:57 PM, Kingsley Idehen wrote: > On 5/11/18 4:56 PM, Jason Koh wrote: > > Hi, > > I am using Virtuoso ope

Re: [Virtuoso-users] A wrong behavior of SPARQL with transitive relationships.

2018-05-12 Thread Kingsley Idehen
On 5/11/18 4:56 PM, Jason Koh wrote: > Hi, > > I am using Virtuoso opensource v7.2.4. I found that SPARQLs with > transitive relationships return partial results. Could you confirm > this behavior? Here are the reproducing ISQL queries. > > - Data insertion: > > ``` > sparql > prefix :