Property talk:P12627

From Wikidata
Jump to navigation Jump to search

Documentation

British Comedy Guide person ID
Identifier of a person on comedy.co.uk
[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)
List of violations of this constraint: Database reports/Constraint violations/P12627#Type Q5, hourly updated report, SPARQL
Scope is as main value (Q54828448), as reference (Q54828450): 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/P12627#Scope, SPARQL
Format “[a-z_-]+: value must be formatted using this pattern (PCRE syntax). (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/P12627#Format, 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/P12627#Entity types
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P12627#Single value, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P12627#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)

Querys[edit]

Show comedians that are alive and British citizens[edit]

SELECT DISTINCT ?item ?itemLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
  {
    SELECT DISTINCT ?item WHERE {
      ?item p:P106 ?statement0.
      ?statement0 (ps:P106/(wdt:P279*)) wd:Q245068.
      ?item p:P27 ?statement1.
      ?statement1 (ps:P27/(wdt:P279*)) wd:Q145.
      MINUS {
        ?item p:P12627 ?statement2.
        ?statement2 (ps:P12627) _:anyValueP12627.
      }
      MINUS {
        ?item p:P570 ?statement_3.
        ?statement_3 psv:P570 ?statementValue_3.
        ?statementValue_3 wikibase:timeValue ?P570_3.
      }
    }
    LIMIT 100
  }
}
Try it!

Back ache (talk) 14:01, 18 April 2024 (UTC)[reply]