Help:Special property Subproperty of

The Subproperty of property is a special property in Semantic MediaWiki with a built-in meaning: it lets you indicate that one property is a subproperty of another.

It means that a query for pages with the property should also return pages that have the subproperty. For example, querying for the property "spouse" should also find pages with the properties "wife" and "husband", if those properties have the special property. You can query on all subproperties by querying on the head property. For instance,

returns all pages that use the head property ("spouse") and its subproperties ("wife" and "husband"). If the head property is chosen for an additional printout statement in a query, the corresponding results will be the values of the head property only. To ensure that those of its subproperties are included as well, the relevant subproperties must be explicitly specified. For instance,

will print the values of the head property ("spouse") as well as those of the two sub-properties ("wife" and "husband").

On systems where the first letter of an article does not get capitalized make sure that the property is maintained with an capital S  otherwise the system does not recognize it as a special property.

This special property also agrees with rdfs:subPropertyOf:
 * If property P is a subproperty of property P', then all pairs of resources which are related by P are also related by P'.