Page MenuHomePhabricator

rdf:type of statement in WDQS seems to be missing
Closed, InvalidPublic


I have a hard time understanding the ontology of the properties as appearing in the Wikidata Query Service (WDQS) in connection with the statements. In the nt generated from the website I get:

<> <> <> .
<> <> <> .

This is in accordance with the documentation at

But using the WDQS with

SELECT ?p1 ?value 
WHERE {  <> ?p1 ?value . }

I get rdf:type wikibase:BestRank but not wikibase:Statement. I would have expected rdf:type wikibase:Statement too. When I check the data on it is normal ranked So furthermore the "best rank" seems strange to me.

Event Timeline

Fnielsen created this task.Dec 23 2017, 3:49 PM
Restricted Application added projects: Wikidata, Discovery. · View Herald TranscriptDec 23 2017, 3:49 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Yet another related issue is SELECT * WHERE { wd:Q80 a ?object . } should give a wikibase:Item returned if I understand the documentation correctly here with its example of wd:Q3 a wikibase:Item ;.