Page MenuHomePhabricator

SparqlQuery.select() with full_data=False should return ID, not entity
Open, Needs TriagePublic

Description

SparqlQuery.select(query, full_data, ...) method returns either raw values (somewhat helpful but bad for IDs), or full objects. I suspect it would be more convenient for many users if in the full_data=False the entities would return as raw IDs: Q123 instead of http://www.wikidata.org/entity/Q123.

Event Timeline

Yurik renamed this task from SparqlQuery's full_data parameter has inverse meaning to SparqlQuery.select() full_data parameter has inverse meaning.Feb 3 2017, 2:38 AM
Yurik updated the task description. (Show Details)
Yurik renamed this task from SparqlQuery.select() full_data parameter has inverse meaning to SparqlQuery.select() with full_data=False should return ID, not entity.Feb 3 2017, 2:44 AM
Yurik updated the task description. (Show Details)