0

On the entity page it's listed that it's a "city or town" as well as "big city".

And if I query "What is Yekaterinburg?" via statement and specification I see that among other things it's "big city".

Query:

 select ?x ?n where {
   wd:Q887 p:P31 [ps:P31 ?x].
   optional {?x rdfs:label ?n. filter(lang(?n)='en').}
 } limit 1000

However if I query it via wdt I only see that it's "city or town" and not "big city". Query:

 select ?x ?n where {
   wd:Q887 wdt:P31 ?x.
   optional {?x rdfs:label ?n. filter(lang(?n)='en').}
 } limit 1000

Why is that?

I could not find the explicit definition, but I thought that wdt is equivalent to sequence of p/ps turns out it's not.

Should Q887 be edited to make wdt:P31 refer to Yekatrinburg as a big city? If so, then how?

Thank you!

Evgeny
  • 3,064
  • 2
  • 18
  • 19

0 Answers0