[Swoop] Re: swoop

Deborah L. McGuinness dlm at ksl.stanford.edu
Sat Oct 23 23:03:31 EDT 2004


thx  for the quick response.  i got 2.2 beta2 (oct 8th 04) from your 
downloads page - http://www.mindswap.org/2004/SWOOP/downloads/
that was the most recent one listed.  ( i did not get the "nightly 
build" since i did not know if that would be useful for an outsider and 
someone naive enough not to know what build directly from SVN means...)

one comment inline below.

by the way, i am a java novice - didnt even have it on my machine at 
home prior to this aft and i do not seem to have all the right things in 
my path but i just gave the command line an explicit path to find the 
java.exe and then started swoop right up.  (i used your error statement 
to know that i had to have ....java -cp lib\swoop.jar 
org.mindswap.swoop.Swoop as the command.
i didnt read any documentation or watch any movies (they did not come up 
on my machine) and i basically put the ontology in about as fast as i 
could click and type.
i did not have to  look for commands - they seemed to be where i 
expected them.
that is probably a pretty good statement in terms of usability.

the one thing i tried to find but did not find was a way to see the 
ontology from just the told information (not once pellet had done its 
reasoning.  i thought maybe if i chose rdfs rather than pellet that i 
would not see the result of the equivalences but this was not the case).

d

Bijan Parsia wrote:

> On Oct 23, 2004, at 9:43 PM, Deborah L. McGuinness wrote:
>
>> i decided to try swoop.
>
>
> Yay.
>
>> i just got 2.2 and did a small ontology that i wanted to test out.
>
>
> I assume a fairly recent beta. (i.e., b2 or 3)
>
>> i am not sure that it is printing out domainof info correctly in the 
>> face of equivalent statements.
>
>
> C'est possible! I'll try to answer as well as forwarding to the 
> mailing list (http://lists.mindswap.org/mailman/listinfo/swoop)
>
>> i have a property called location that has domain terroristEvents.
>> i added emergency situation that was a subclass of terroristattack
>> i clicked on editable and then i added 2 equivalentto classes 
>> (terroristattack (yes - partially redundant since it was already 
>> known to be a subclass ) and also terroristevents.
>
>
> I'll try to recreate it now. We'll soon (Ron!) have a test directory 
> in our webdav site where anyone will be able to post ontologies from 
> swoop. It would be easier to see with the ontology, natch :)
>
> [D'OH! I just reached the bottom of your message where you included 
> the ontology. Thanks1It was worth going through the process anyway. 
> Just ignore the above snottiness ;)]
>
> Hmm. Ok, I'm starting with two top level classes, TerroristAttack and 
> TerroristEvetns.
>
> I have the property, location, and make its domain TerroristAttack.
>
> (Hmm. Aditya, I'm having link following bugs all over. Going back and 
> forthe between the property and the domain is not reliable. Looks like 
> a refresh bug. Acutally, both the abstractsyntax tab and the rdf/xml 
> fail to show the domain. Turtle does show it.)
>
> Ok, I have emergency situation as a subclass of Terrorist attack.
>
> Now I make TAttack and Events equv to emergency situation.
>
> Ok, yep, I see the problem. Showing Inherited doesn't help.
>
>> the property tree shows the domains as i expected
>> but now that emergencysituation and terroristattack and 
>> terroristevents are all equivalent, if i click on the node, i do not 
>> see that is domainof anything.
>
>
> Yep, confirmed. (Folks, see: 
> http://www.mindswap.org/dav/ontologies/test/equivAndDomainBug.owl)
>
>> i do see though in the propertytree that location has terrorist 
>> attack as its domain.
>>
>> am i missing something?
>
>
> No, I would claim that as a bug. I would also claim that the fact that 
> the "top level" heading  (i.e., OWL-Class:  er:EmergencySituation) 
> doens't change when I click on er:TerroristEvents is also a bug.
>
> Ok, I think I understand the bug, though show inherited should fix it.

maybe it does in your newer version but in mine - show inherited is 
checked and i do not see it.

> If you delete the old domain and make the domain go onto   
> nga:EmergencySituation it shows up correctly (the equiv label sorts 
> alphabetically, but the domain retrieval when you have only rdfs 
> reasoning enabled doesn't look things up correctly; hmm, adding pellet 
> doesn't help! eeek) 

i tried deleting the domain of location and then adding the domain of 
emergency situation and that worked  but that is not what needs to be 
modeled.
(yes - i know they are equivalent  but this is a philosophical modeling 
question as well....)

>
>
> Thanks! We'll fix this pronto. Shouldn't be hard.
>
>> (by the way, this ontology is not supposed to be an example of good 
>> modeling. i am testing out something for someone and it is not how i 
>> would model things.. i just thought i would try it in swoop.
>
>
> And in doing so you flushed out a bug :)
>
> Cheers,
> Bijan.
>

-- 
 Deborah L. McGuinness 
 Co-Director Knowledge Systems Laboratory 
 Gates Computer Science Building, 2A Room 241 
 Stanford University, Stanford, CA 94305-9020 
 email: dlm at ksl.stanford.edu
 URL: http://ksl.stanford.edu/people/dlm
 (voice) 650 723 9770    (stanford fax) 650 725 5850   




More information about the Swoop mailing list