Topic on Talk:Quarry

Jump to navigation Jump to search

Wikidata value not returned from page properties

Kanzat (talkcontribs)

I tried to run the following code to get page properties

select page_id, page_title, pp_propname, pp_value

from page

left join page_props on page_id = pp_page

where page_title = 'Шипайло'

And expected that it will return property wikibase_item with value Q106255766 . However, it didn't return it. The property can be seen in Wikipedia page:Шипайло?action=info

Why? Most of other pages behave correctly.

Matěj Suchánek (talkcontribs)

For some reason, you need to specify pp_propname = 'wikibase_item'.

Reply to "Wikidata value not returned from page properties"