User:Witia/Help

Help PagesEdit

ToolsEdit

PetScanEdit

Polish literary worksEdit

Categories in plwiki:

Polish writersEdit

Categories in plwiki:

QueriesEdit

Subclasses of specified classEdit

  • wdt:P279 = property "subclass of"
  • wd:Q36180 - change to any item with subclasses
  • language "pl" - change language code

The following query uses these:

  • Properties: subclass of (P279)     
    1 SELECT ?item ?itemLabel
    2 WHERE
    3 {
    4 	?item wdt:P279 wd:Q36180 . 
    5 	SERVICE wikibase:label { bd:serviceParam wikibase:language "pl" }
    6 }
    

Missing labels for a target languageEdit

Search for labels in other languages that do not exist in a target language. Can be input for QuickStatements.

Example: instance of human with country of citizenship Belgium with missing Italian label:

SELECT ?item ?itemLabel ?itemDescription WHERE {
 ?item wdt:P31 wd:Q5.
 ?item wdt:P27 wd:Q31.

 SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en,de,it,es,no,pt". }
 FILTER(NOT EXISTS {
   ?item rdfs:label ?lang_label.
   FILTER(LANG(?lang_label) = "it")
 })
}
ORDER BY ?itemLabel

Try it!

Missing description for a target languageEdit

Search for missing descriptions in a target language. Can be input for QuickStatements.

Example: instance of human with country of citizenship Belgium with missing Dutch description:

SELECT ?item ?itemLabel ?genderLabel ?occupationLabel ?domainLabel ?positionLabel ?itemDescription WHERE {
  ?item wdt:P31 wd:Q5.
  ?item wdt:P27 wd:Q31.
optional{ ?item wdt:P21 ?gender.}
optional{ ?item wdt:P106 ?occupation.}
optional{ ?item wdt:P101 ?domain.}
optional{ ?item wdt:P39 ?position.}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en,de,it,es,pt,no". }
  FILTER(NOT EXISTS {
    ?item schema:description ?itemdesc.
    FILTER(LANG(?itemdesc) = "nl")
  })
}
order by ?itemLabel

Try it!

Links to queriesEdit

Augustów
Piotrków Trybunalski
Radom