[Pellet-users] Inconsistent results??

Evren Sirin evren at clarkparsia.com
Mon Feb 11 01:02:44 UTC 2008


I'm sorry it is quite hard to understand what is happening and what is 
supposed to happen from the given information. I see that ontologies are 
on-line but there are a number of them with many definitions. Is it 
possible to create a minimal test case showing the problem? Supposedly 
the problem is related to the definition of two classes and some related 
individuals so a small ontology containing that information might be 
enough to demonstrate the issue. It is very hard for someone who doesn't 
know anything about these ontologies (i.e. someone like me) to create 
such a test case.

Cheers,
Evren

On 2/8/08 11:50 AM, João Paulo Sousa wrote:
> Hi,
>
> When I run this query I have the above results. But they are wrong.  
> But if i move the individuals from class acti:ColocatedAction to a  
> subclass acti:ColocatedActionOnObject e run the second query the  
> results are fine. All de ontologies are on-line.
>
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX acti: <http://icas.ipb.pt/secom/activity#>
> PREFIX dacti: <http://icas.ipb.pt/secom/data/activity.owl#>
> PREFIX dsev: <http://icas.ipb.pt/secom/data/sevent.owl#>
> PREFIX spac: <http://icas.ipb.pt/secom/spatial#>
> PREFIX dspa: <http://icas.ipb.pt/secom/data/spatial.owl#>
> SELECT ?action
> WHERE {
> ?action rdf:type acti:ColocatedAction .
> }
>
> Results:
>
> |  
> action 
>                                                                             |
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ========================================================================
> |  
> dspa:Room_individual_1 
>                                                             |
> |  
> dspa:Room_study 
>                                                                    |
> |  
> dspa:Room_individual_2 
>                                                             |
> | <http://icas.ipb.pt/secom/data/sEvent.owl#virtual_context_aware_conference_2008 
>  > |
> |  
> dspa:vila_real 
>                                                                     |
> |  
> dspa:berlin 
>                                                                        |
> | <http://icas.ipb.pt/secom/data/ 
> tEvent.owl#IntervalEvent_ECASA_2008>              |
> |  
> dspa:auditorium 
>                                                                    |
> |  
> dacti:ColocatedAction_Runs_SECASA_2008 
>                                             |
> |  
> dacti:ColocatedAction_play_tennis 
>                                                  |
> | <http://icas.ipb.pt/secom/data/ 
> sEvent.owl#SECASA_2008>                           |
> |  
> dspa:Bar 
>                                                                           |
> |  
> dspa:braga 
>                                                                         |
> |  
> dspa:Rectory 
>                                                                       |
> |  
> dspa:Room_office_1 
>                                                                 |
> | <http://icas.ipb.pt/secom/data/ 
> tEvent.owl#IntervalEvent_tennis_course>           |
> |  
> dspa:Lybrary 
>                                                                       |
> |  
> dspa:utad_campus 
>                                                                   |
> |  
> dspa:Room_media 
>                                                                    |
> |  
> dspa:Building_engineerings 
>                                                         |
> |  
> dspa:minho 
>                                                                         |
> |  
> dspa:tras_os_montes 
>                                                                |
> | <http://icas.ipb.pt/secom/data/tEvent.owl#FrequencyDescription_ECASA_2008 
>  >       |
> | <http://icas.ipb.pt/secom/data/ 
> sEvent.owl#cofee_break>                           |
> | <http://icas.ipb.pt/secom/data/ 
> tEvent.owl#IntervalEvent_tennis_lesson>           |
> ------------------------------------------------------------------------------------
>
>
> Second query after moving the individuals from class  
> acti:ColocatedAction to a subclass acti:ColocatedActionOnObject :
>
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX acti: <http://icas.ipb.pt/secom/activity#>
> PREFIX dacti: <http://icas.ipb.pt/secom/data/activity.owl#>
> PREFIX dsev: <http://icas.ipb.pt/secom/data/sevent.owl#>
> PREFIX spac: <http://icas.ipb.pt/secom/spatial#>
> PREFIX dspa: <http://icas.ipb.pt/secom/data/spatial.owl#>
> SELECT ?action
> WHERE {
> ?action rdf:type acti:ColocatedActionOnObject .
> }
>
> results: (OK)
>
> ------------------------------------------
> | action                                 |
> ==========================================
> | dacti:ColocatedAction_Runs_SECASA_2008 |
> | dacti:ColocatedAction_play_tennis      |
> ------------------------------------------
>
>
> What is the problem?
>
> Chears,
>
> João Paulo. 
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>   



More information about the Pellet-users mailing list