Transitivity can easily be modeled using owl:TransitiveProperty. For example, if you have a transitive relationship ":relatedTo",
you can add the following assertions to your graph (ontology). The native inference engine of Oracle will take care of finding
the hidden relationships.
:relatedTo rdf:type owl:TransitiveProperty
:relatedTo rdf:type owl:ObjectProperty
The following document may be useful to you.
In addition, you can take a look at the property path in SPARQL 1.1.
Hope it helps,