Template talk:Japan properties

Latest comment: 6 years ago by Pigsonthewing in topic Properties with Japanese label or description missing

Properties with Japanese label or description missing edit

Where ca is the code for the target language (note that it occurs twice) and en is the comparison language:

SELECT ?property ?propertyLabel ?propertyDescription ?datatype ?missingLbl ?missingDesc WHERE {
  ?property wikibase:propertyType ?datatype .
  OPTIONAL { ?property rdfs:label ?missingLbl . FILTER(LANG(?missingLbl) = 'ja') }
  OPTIONAL { ?property schema:description ?missingDesc . FILTER(LANG(?missingDesc) = 'ja') }
  FILTER(!BOUND(?missingLbl)|| !BOUND(?missingDesc)) .
  SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' }
}
Try it!

You can change "en" to the code for another language, like "fr" for French, or "ko" for Korean, if you prefer. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:29, 17 April 2018 (UTC)Reply

Return to "Japan properties" page.