Lets assume a very simple axiom in an ontology that says that All cheesypizza are pizzas that have topping of cheese. In OWL representation, the cheeseypizza would be represented as a subclass of restriction on the has-topping property. However, I would like to extract in the following triples dataset format :
- CheesyPizza1 sub-class Pizza1
- Pizza1 has-topping CheeseTopping1
assuming that Pizza1 is a dynamic instantiation (not the true individual of the Pizza class in the ontology but just a random variable while writing in the triples format) of Pizza class and similarly, CheesyPizza1 is a dynamic instantiation of CheesyPizza class and CheeseTopping1 is a dynamic instantiation of CheeseTopping class.
How can I get the above representation?