Hi Icaro and Percy,

We are looking into this issue and i hope to have an answer for both of you 
shortly.

Patrick
---
OpenLink


> 
> I am experiencing the same problem.
> 
> Can anyone help us?
> 
> Best Regards,
> Ícaro Medeiros.
> 
> On Tue, Mar 13, 2012 at 10:56 AM, Percy Enrique Rivera Salas 
> <[email protected]> wrote:
> All,
> 
> Any suggestions?
> 
> Best Regards,
> 
> Percy
> 
> 
> 2012/3/7 Percy Enrique Rivera Salas <[email protected]>
> Dear All,
> 
> I was using the MINUS clause together with the TRANSITIVE option, 
> and I found an incorrect behavior.
> 
> 1) I insert some triples as follow:
> 
> insert into <teste> 
> {
> <GRANDFATHER> a owl:Class.
> <FATHER> a owl:Class.
> <SON> a owl:Class.
> <SON> rdfs:subClassOf <FATHER>
> <FATHER> rdfs:subClassOf <GRANDFATHER>
> }
> 
> 2) I list the owl:Class subjects 
> 
> SELECT ?s
> FROM <teste>
> WHERE 
> {
> ?s a owl:Class.
> }
> 
> s
> FATHER
> GRANDFATHER
> SON
> 
> 3) I list the subClass of the subject <FATHER> with the TRANSITIVE option 
> enable
> 
> SELECT ?s
> FROM <teste>
> WHERE 
> {
> ?s rdfs:subClassOf <FATHER> OPTION (TRANSITIVE, t_distinct, t_step('step_no') 
> as ?n, t_min (0) ).
> }
> 
> s
> FATHER
> SON
> 
> 4) I applied the MINUS clause in order to obtain the owl:Class subject 
> "minus" the ones obtained in the query #3
> 
> SELECT ?s
> FROM <teste>
> WHERE 
> {
> ?s a owl:Class.
> MINUS
> {
> ?s rdfs:subClassOf <FATHER> OPTION (TRANSITIVE, t_distinct, t_step('step_no') 
> as ?n, t_min (0) ).
> }
> }
> 
> Result: NONE
> 
> I was expecting just GRANDFATHER
> 
> Am I doing something wrong?
> 
> Best Regards,
> 
> Percy

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to