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] Selective import

Thomas Schneider schneidt at
Wed Oct 28 20:32:22 PDT 2009

Hi Nacho,

there are several ways of importing a module of an ontology:

(1) You can use the web interface [1] -- enter an ontology (or its  
URI) and a set of terms that you are interested in. The RESTful  
service will then give you a subset of the axioms that preserve all  
consequences of the original ontology that can be formulated using the  
specified terms. There will be an update soon to align the module  
types to the ones used in (2).

(2) The underlying module extraction procedures are implemented in the  
class SyntacticLocalityModuleExtractor in the package of the OWL API. Just invoke one of  
the methods extract(...), see Javadoc.

(3) There is a prototype of a plugin for Protégé 4 that does the same  
job, which currently only works with a special edition of one of the  
previous builds. This can be found at [2] (download We  
hope to turn this into a proper plugin for P4 soon.

If you need any further clarification, just let me know.




On 28 Oct 2009, at 12:37, Nacho Mayorga wrote:

> Hi folks,
> Does anybody know whether there is any way of selectively importing  
> [*] and using [**] a part of an ontology without minding the rest of  
> it?
> As an example use case, suppose you have got some useful axioms (for  
> your subject, such as ontological patterns as in NeOn or some N&S  
> class definitions) but you do not care about some other part of the  
> original ontology (and this one is not defined in a modular way).  
> Even suppose that, because of a new axiom that you have written,  
> including a definite part (set of axioms) of the original ontology  
> would make the resulting one inconsistent.
> Thanks,
>                 Nacho
> P.S. [*] Both using the GUI and programmatically.
> P.P.S. [**] For definition and reasoning purposes.
> -- 
> Nacho Mayorga
> _______________________________________________
> p4-feedback mailing list
> p4-feedback at

|  Dr Thomas Schneider                    schneider (at)  |
|  School of Computer Science  |
|  Kilburn Building, Room 2.114                 phone +44 161 2756136  |
|  University of Manchester                                            |
|  Oxford Road                                             _///_       |
|  Manchester M13 9PL                                      (o~o)       |

The rain it raineth on the just
And also on the unjust fella;
But chiefly on the just, because
The unjust steals the just's umbrella.

         Charles Bowen, Baron Bowen (1835-1894), English judge and  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Thomas Schneider.vcf
Type: text/directory
Size: 39108 bytes
Desc: not available
URL: <>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the p4-feedback mailing list