Hannah_Bast added a comment.

  @dcausse @Gehel @WolfgangFahl QLever can now also produce 
`application/sparql-results+xml`. Here is an example:
  
    curl -s https://qlever.cs.uni-freiburg.de/api/wikidata -H "Accept: 
application/sparql-results+xml" -H "Content-type: application/sparql-query" 
--data "PREFIX wd: <http://www.wikidata.org/entity/> SELECT * WHERE { VALUES 
(?country ?country_name ?mountain ?mountain_name ?height) { (wd:Q837 
\"Nepal\"@en wd:Q513 \"Mount Everest\"@de 8850) } }"
  
  For comparison, here is the analogous request to the WDQS, which gives an 
identical result (modulo formatting):
  
    curl -s https://query.wikidata.org/sparql -H "Accept: 
application/sparql-results+xml" -H "Content-type: application/sparql-query" 
--data "PREFIX wd: <http://www.wikidata.org/entity/> SELECT * WHERE { VALUES 
(?country ?country_name ?mountain ?mountain_name ?height) { (wd:Q837 
\"Nepal\"@en wd:Q513 \"Mount Everest\"@de 8850) } }"

TASK DETAIL
  https://phabricator.wikimedia.org/T339347

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Gehel, Hannah_Bast
Cc: dcausse, Hannah_Bast, Gehel, EBernhardson, RKemper, bking, Aklapper, 
WolfgangFahl, Danny_Benjafield_WMDE, Astuthiodit_1, AWesterinen, BTullis, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to