[Pellet-users] Inconsistent results??
João Paulo Sousa
jpaulo at ipb.pt
Fri Feb 8 16:50:11 UTC 2008
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.
More information about the Pellet-users
mailing list