Hi Miguel,
I’m currently playing with an Wikibase installment, too. I’m not sure but perhaps such the importing prefixes are related to the implementation of your SPARQL executor/library? I mean, some SPARQL executor allows you to import the prefixes beforehand, so that you can directly use them in your query text. Xinyan From: [email protected] [mailto:[email protected]] On Behalf Of Miguel Paraz Sent: Sunday, December 10, 2017 8:24 PM To: Wikidata technical discussion <[email protected]> Subject: [Wikidata-tech] Prefixes on Custom Wikibase Install Hi, I'm running my own custom Wikibase install with my own prefixes. Right now, I need to write the query with the defined prefixes at the beginning, like: prefix p: <https://mparaz.com/wiki/Property:P> PREFIX ps: <http://mparaz.com/prop/> prefix q: <https://mparaz.com/wiki/Item:Q> prefix pp: <http://mparaz.com/prop/P> PREFIX pr: <http://mparaz.com/prop/reference/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns# <http://www.w3.org/1999/02/22-rdf-syntax-ns> > PREFIX prov: <http://www.w3.org/ns/prov# <http://www.w3.org/ns/prov> > PREFIX pq: <http://mparaz.com/prop/qualifier/> Could I possibly pre-define these prefixes to replace the Wikibase default ones? Thanks! Miguel
_______________________________________________ Wikidata-tech mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
