Property talk:P4791
Latest comment: 11 months ago by Vicarage in topic scope as qualifier
Documentation
commanded by
commander of a military unit/army/security service, operation, etc.
commander of a military unit/army/security service, operation, etc.
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “military unit (Q176799), armed organization (Q17149090), vehicle (Q42889), fictional mode of transport (Q6619802), military operation (Q645883), military facility (Q18691599), secret service (Q939616), fictional military unit (Q18011131), fictional military organization (Q18011141), fictional military facility (Q48900561), battle (Q178561), fictional military operation (Q65562770), submarine (Q2811), warship (Q3114762), military junta (Q25424534)”: item must contain property “instance of (P31)” with classes “military unit (Q176799), armed organization (Q17149090), vehicle (Q42889), fictional mode of transport (Q6619802), military operation (Q645883), military facility (Q18691599), secret service (Q939616), fictional military unit (Q18011131), fictional military organization (Q18011141), fictional military facility (Q48900561), battle (Q178561), fictional military operation (Q65562770), submarine (Q2811), warship (Q3114762), military junta (Q25424534)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P4791#Type Q176799, Q17149090, Q42889, Q6619802, Q645883, Q18691599, Q939616, Q18011131, Q18011141, Q48900561, Q178561, Q65562770, Q2811, Q3114762, Q25424534, SPARQL
Value type “human (Q5), fictional human (Q15632617), position (Q4164871)”: This property should use items as value that contain property “instance of (P31)”. On these, the value for instance of (P31) should be an item that uses subclass of (P279) with value human (Q5), fictional human (Q15632617), position (Q4164871) (or a subclass thereof). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P4791#Value type Q5, Q15632617, Q4164871, SPARQL
Scope is as main value (Q54828448), as qualifier (Q54828449): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P4791#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P4791#Entity types
Inverse property of “military unit (P7779)”:
if [item A] has this property (commanded by (P4791)) linked to [item B],
then [item B] should also have property “military unit (P7779)” linked to [item A]. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). if [item A] has this property (commanded by (P4791)) linked to [item B],
then [item B] should also have property “military unit (P7779)” linked to [item A]. (Help)
List of violations of this constraint: Database reports/Constraint violations/P4791#inverse, SPARQL
scope as qualifier edit
I've added qualifier as one of the property scopes, so the participant (P710) in a battle can be qualified with their commander. See example Battle of Trafalgar (Q171416) Vicarage (talk) 22:21, 25 May 2023 (UTC)