Skip to content

Commit d90640f

Browse files
authored
Merge pull request #238 from nklsbckmnn/graphdb-sparqlstar-mime-type
Update Wrapper.py
2 parents 2a6e2d3 + fdc7f9e commit d90640f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SPARQLWrapper/Wrapper.py

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
_SPARQL_DEFAULT = ["application/sparql-results+xml", "application/rdf+xml", "*/*"]
154154
_SPARQL_XML = ["application/sparql-results+xml"]
155155
_SPARQL_JSON = [
156+
"application/x-sparqlstar-results+json", # prevents serialization of quoted/embedded triples in GraphDB, see https://graphdb.ontotext.com/documentation/10.7/rdf-sparql-star.html
156157
"application/sparql-results+json",
157158
"application/json",
158159
"text/javascript",

0 commit comments

Comments
 (0)