afs commented on code in PR #3441: URL: https://github.com/apache/jena/pull/3441#discussion_r2355482782
########## jena-examples/src/main/java/rdfconnection/examples/RDFConnectionExampleDBpedia01.java: ########## @@ -0,0 +1,55 @@ +package rdfconnection.examples; + +import java.util.List; + +import org.apache.jena.query.QueryExecution; +import org.apache.jena.query.ResultSet; +import org.apache.jena.query.ResultSetFormatter; +import org.apache.jena.rdfconnection.RDFConnection; +import org.apache.jena.rdfconnection.RDFConnectionRemote; +import org.apache.jena.riot.WebContent; +import org.apache.jena.sparql.resultset.ResultsFormat; + +/** + * Example that showcases querying DBpedia with disabled parse check and + * different accept headers. + * <p> + * + * The expected output should be similar to this snippet: + * <pre> + * Trying to query with content type: application/sparql-results+thrift + * Request failed: Not Acceptable + * + * Trying to query with content type: application/sparql-results+json + * ------------------------- + * | l | + * ========================= + * | "Jena (Framework)"@de | + * -------------------------< Review Comment: ```suggestion * ------------------------- ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org For additional commands, e-mail: pr-h...@jena.apache.org