Lucas_Werkmeister_WMDE added a comment.

  Isn’t that what the SPARQL endpoint entry in the Link menu is?
  
  F33913963: Screenshot from 2020-11-13 17-38-35.png 
<https://phabricator.wikimedia.org/F33913963>
  
  I tried it for the “cats” query and it seems to have encoded all question 
marks and quotation marks:
  
    SELECT ?item ?itemLabel WHERE {
      ?item wdt:P31 wd:Q146.
      SERVICE wikibase:label { bd:serviceParam wikibase:language 
"[AUTO_LANGUAGE],en". }
    }
  
  
https://query.wikidata.org/sparql?query=SELECT%20%3Fitem%20%3FitemLabel%20WHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP31%20wd%3AQ146.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%2Cen%22.%20%7D%0A%7D
  
  The URL tab in the Code menu should also be equivalent:
  
  F33913965: Screenshot_2020-11-13 Wikidata Query Service.png 
<https://phabricator.wikimedia.org/F33913965>
  
  (Hm, actually, I get a slightly different URL 
<https://query.wikidata.org/sparql?query=SELECT%20%3Fitem%20%3FitemLabel%20WHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP31%20wd%3AQ146.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D>,
 where the `[AUTO_LANGUAGE]` hasn’t been replaced yet – but I don’t think 
that’s relevant to this task.)

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Susannaanas, CBogen, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, 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]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to