Strange behavior of content negotiation concerning SPARQL CONSTRUCT query
问题 When issuing a SPARQL CONSTRUCT query to a specific endpoint, Apache Jena library 3.14.0 issues an error message as follows. Endpoint returned Content Type: application/sparql-results+xml which is not a valid RDF syntax The code I wrote is as follows. QueryEngineHTTP qeh = new QueryEngineHTTP(endpointUrl, rq); qeh.setAcceptHeader("application/rdf+xml"); Model m = qeh.execConstruct(); The endpoint is https://id.nlm.nih.gov/mesh/sparql . The query is as follows. CONSTRUCT {?s <http://id.nlm.nih