Wikidata Query/Examples/Belgian Enterprise number

From Wikimedia Belgium
Jump to navigation Jump to search

Search Belgian enterprise by number

[edit]
SELECT ?item ?itemLabel ?bentnumber WHERE {

  VALUES ?kbolist {
    "0405123864"
    ...
    "0885928615"
  }

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
  ?item wdt:P3376 ?kbolist.
  OPTIONAL { ?item wdt:P3376 ?bentnumber. }

See https://w.wiki/5Pv7