I ve created an ontology for a tourism application...i ve created in d manner that under the superclass THING activity(is a class) ->Shopping(subclass of activity) ->SpencerPlaza(is a member/individual) Destination (is a class) -> city (subclass of Destination) ->Chennai (is a member/individual) ->Madurai(is a member/individual) now in object property assertion for chennai i ve added that hasPart SpencerPlaza.. i need to know how to write a query to display al the shopping malls in chennai...I'm using TopBraid Composer-ME
is this detail is enough sir......
Your data is a little fragmented, perhaps you forgot to include your whole model. But, essentially what you need is some predicate to link Shopping Malls to their City. For instance if your data included the statement:
Then you could write SPARQL query to find all Shopping Malls in a given City. e.g.
A few things to notice.
answered 02 Feb '13, 14:02