I am playing around with TopBraid Composer to learn how to make ontologies using Semantic Web technologies.
What I did:
- I created an ontology of airplanes, cities, airports, states etc.
- Now that the ontology is getting a bit complicated, I ran into a problem
Ontology
The graph of my current ontology can be found on my drive.
What I want:
Since I am learning, I thought it would be great to try to have a property hasCity both for the country and the airport. This should result in linking the aiport with the city and also the city with a country only having one property.
What I tried (and failed to understand)
- I modified the hasCity property to be in the domain Airport
- Another modification I did was that the property hasCity is also a functionalInverseOf hasAirport
In TopBraid you can run inferences to see what happened with your data. Included printscreen
It seems, that by modifying the hasCity property I stated that Object rdfs:type is also Aiport.
Can somebody, please, point me in the right direction?