Olaf, Andra, Lydia,

On Thu, Nov 29, 2018 at 4:01 AM Lydia Pintscher <Lydia.Pintscher@wikimedia.de> wrote:
Are we talking about https://phabricator.wikimedia.org/T194180? I'm
happy to push that into one of the next sprints if so.

I think my yesterday's patch fixes this issue on the server side, without touching the frontend -- all you need to do is set the prefixes.conf file to point "wd:" to the original wikidata prefixes, set conceptUri to your schema, and add your own prefixes.  Here's an example of OSM prefixes configuration.  Instead of "wd:" I used "osmd". Similarly replaced all other "w" for "osm", and added "osm" when there was no "w":

OSM prefixes.conf:  https://github.com/Sophox/wikidata-query-rdf/blob/master/dist/src/script/prefixes.conf
Patch:  https://gerrit.wikimedia.org/r/c/wikidata/query/rdf/+/476398