Question

I was wondering if it is possible to not load the whole schema.org ontology so as to use it with the GoodRelations ontology, in a way that would involve OWL DL reasoning.

I do not want to get the whole vocabulary, I want just a slice of it. For instance the product type ontology is as such but that ontology does not suit my needs.

Was it helpful?

Solution

No, there is not. Ontology modularization is a non-trivial task. In a nutshell, it is easy only if the creator of the ontology implements it at design time. The reason is that there can be complex dependencies between the axioms for the various conceptual elements.

I designed www.productontology.org specifically in this way so that one can use only the subset of axioms related to a single class. I am not aware of any other broadly used ontology that uses the same pattern.

This having said, what you can do is use any of the OWL transcriptions of schema.org:

and extract only the type definition and the necessary property axioms. This could be done in a Python script or similar.

Another approach is to take the RDFa version of the current vocabulary

and manually generate class and property declarations in OWL for the types that you need. The patterns would be similar to those found in www.productontology.org.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top