Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[p4-feedback] Ontology Metrics

Matthew Horridge matthew.horridge at cs.man.ac.uk
Fri Apr 3 02:10:55 PDT 2009


On 2 Apr 2009, at 22:36, Thomas Schneider wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi José,
>
> (1) You can get all classes, object properties etc. referenced in the
> ontology by using one of the following methods.
>
> java.util.Set<OWLClass> 	getReferencedClasses()
> java.util.Set<OWLDataProperty> 	getReferencedDataProperties()
> java.util.Set<OWLEntity> 	getReferencedEntities()
> java.util.Set<OWLIndividual> 	getReferencedIndividuals()
> java.util.Set<OWLObjectProperty> 	getReferencedObjectProperties()
>
> If you call the method size() for the respective result, it'll give  
> you the
> count.
>
> (2) GCIs (or a superset thereof?) can be obtained with
>
> java.util.Set<OWLClassAxiom> 	getGeneralClassAxioms()
>          Gets the set of general axioms in this ontology.
>
> I haven't found anything for DL expressivity. (Matthew/Nick?)

You can use

DLExpressivityChecker

Cheers,

Matthew

>
>
> (3) Where is the method getAxiomCount specified? I can only see
>
> <T extends OWLAxiom> java.util.Set<T> getAxioms(AxiomType<T>  
> axiomType)
>
> in the Javadoc of the current release (2.2.0)?!?
>
> HTH
>
> Thomas
>
> secevalliv at gmail.com schrieb:
>> Hi all,
>>
>> I'm developing a plug-in for Protege 4.0 and I'm trying to compare  
>> two
>> different ontologies. In order to do so I want to show the ontology  
>> metrics,
>> I realized that I can ask the ontology for many of those metrics  
>> using the
>> following code line:
>>
>> ontology.getAxiomCount(AxiomType);
>>
>>
>> But how may I ask for the missing metrics? (class count, Object  
>> Property
>> count, DL expressivity, CGI count,...)
>>
>> Thanks in advance,
>>
>> José Villaveces
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> p4-feedback mailing list
>> p4-feedback at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
> - --
> + 
> ------------------------------------------------------------------------+
> |  Dr Thomas Schneider                            schneider at cs.man.ac.uk 
>  |
> |  School of Computer Science          http://www.cs.man.ac.uk/~schneidt 
>  |
> |  Kilburn Building, Room 2.114                    phone +44 161  
> 2756136 |
> |  University of  
> Manchester                                              |
> |  Oxford Road                                               _/// 
> _       |
> |  Manchester M13 9PL                                         
> (o~o)       |
> +-------------------------------------------------------oOOO--(_)-- 
> OOOo--+
>
> Kelling (ptcpl.vb.)
>  The action of looking for something all over again in all the places
>  you've already looked.
>
>                     Douglas Adams, John Lloyd: The Deeper Meaning of  
> Liff
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iEYEARECAAYFAknVL+sACgkQV0OGxrlPc81O0gCfV7+TpImhwxB+m2hWi+VVqU3R
> HasAn2pPg85wfRUrsCNzYAy4HaKQQ1K0
> =iqOm
> -----END PGP SIGNATURE-----
> _______________________________________________
> p4-feedback mailing list
> p4-feedback at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback




More information about the p4-feedback mailing list