Hello all,
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
>>
>>
>>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
>
--
Atenciosamente,
Ícaro Medeiros.
--------------------------------
(+55 21 2483 6928 / +55 21 8327 0069)
PhD Candidate - *Pontifical Catholic University** *of Rio de Janeiro
MSc - Federal University of Pernambuco (www.cin.ufpe.br)
BSc - Federal University of Alagoas (www.ufal.br)
@icaromedeiros <http://twitter.com/icaromedeiros>
== Scientia Vincere Tenebras ==
------------------------------------------------------------------------------
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