Property talk:P7174

Documentation

school class
(qualifier) class of a given year/time period to which the person belonged in an educational institution
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “human (Q5): item must contain property “instance of (P31)” with classes “human (Q5)” 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/P7174#Type Q5, SPARQL
Scope is 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/P7174#Scope, SPARQL
Value type “class (Q18204), year (Q577), calendar year (Q3186692): 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 class (Q18204), year (Q577), calendar year (Q3186692) (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/P7174#Value type Q18204, Q577, Q3186692, 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/P7174#Entity types

Queries edit

SELECT ?item ?itemLabel ?itemDescription ?r ?dob ?dod
{

    ?st ps:P69 wd:Q273579 ; pq:P7174 wd:Q51541339 .
    ?item p:P69 ?st .
    OPTIONAL { ?st pq:P1352 ?r }
    OPTIONAL { ?item wdt:P569 ?dob }
    OPTIONAL { ?item wdt:P570 ?dod }
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr". }
}

Try it!

Discussion edit

Return to "P7174" page.