Talk:Q285453

From Wikidata
Jump to navigation Jump to search

Missing result when querying for "statistical service" in Switzerland[edit]

Something is strange about the "instance of" statements for this item. I was trying to query for statistical services (Q480242) in Switzerland. Despite that this entry is attributet with this property, it did not show in the results see:

<code>
SELECT ?item ?itemLabel 
WHERE {
  wd:Q285453 wdt:P31 ?item.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". ?item rdfs:label ?itemLabel}
}
</code>

If I then try to query P31 explicitly, it only shows wd:Q1005418 (federal office of Switzerland) a result.

<code>
SELECT ?item ?itemLabel 
WHERE 
{
  wd:Q285453 wdt:P31 ?item.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". ?item rdfs:label ?itemLabel}
}
</code>

Could somebody please tell me the reason? MatthiasHinz (talk) 21:00, 23 September 2020 (UTC)[reply]