PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

{?C rdfs:subClassOf ?D. ?X a ?C} => {?X a ?D}.
{?C rdfs:subClassOf ?D. ?D rdfs:subClassOf ?E} => {?C rdfs:subClassOf ?E}.
{?C rdfs:subClassOf ?D. ?P rdfs:domain ?C} => {?P rdfs:domain ?D}.
{?C rdfs:subClassOf ?D. ?P rdfs:range ?C} => {?P rdfs:range ?D}.
