On 27/04/2020 18:02, Kingsley Idehen wrote:
[1] https://w.wiki/PBi <https://w.wiki/PBi>Do these CONSTRUCT queries return any of the following document content-types?
RDF-Turtle, RDF-XML, JSON-LD ?
you can use content negotiation on the sparql endpoint
~ query="CONSTRUCT { ... }"
~ curl -H "Accept: application/rdf+xml" https://query.wikidata.org/sparql --data-urlencode query=$query
~ curl -H "Accept: text/turtle" -G https://query.wikidata.org/sparql --data-urlencode query=$query
Okay.
Any reason why that isn't a UI option also re WDQS?
We have an instance at:
https://wikidata.demo.openlinksw.com/sparql that does support
DESCRIBE and CONSTRUCT queries that return solutions using a
variety of document types (RDF-Turtle, RDF-XML, JSON-LD, etc..),
hence my question.
-- Regards, Kingsley Idehen Founder & CEO OpenLink Software Home Page: http://www.openlinksw.com Community Support: https://community.openlinksw.com Weblogs (Blogs): Company Blog: https://medium.com/openlink-software-blog Virtuoso Blog: https://medium.com/virtuoso-blog Data Access Drivers Blog: https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers Personal Weblogs (Blogs): Medium Blog: https://medium.com/@kidehen Legacy Blogs: http://www.openlinksw.com/blog/~kidehen/ http://kidehen.blogspot.com Profile Pages: Pinterest: https://www.pinterest.com/kidehen/ Quora: https://www.quora.com/profile/Kingsley-Uyi-Idehen Twitter: https://twitter.com/kidehen Google+: https://plus.google.com/+KingsleyIdehen/about LinkedIn: http://www.linkedin.com/in/kidehen Web Identities (WebID): Personal: http://kingsley.idehen.net/public_home/kidehen/profile.ttl#i : http://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl#this