Difference between revisions of "University Logos"

From BITPlan cr Wiki
Jump to navigation Jump to search
(Created page with "<source lang='sparql'> # University Logos # WF 2023-03-11 SELECT ?item ?itemLabel ?logo WHERE { ?item wdt:P31 wd:Q3918. ?item rdfs:label ?itemLabel. FILTER(LANG(?itemLa...")
 
Line 12: Line 12:
 
ORDER BY ?itemLabel
 
ORDER BY ?itemLabel
 
</source>
 
</source>
 +
[https://query.wikidata.org/#%23%20University%20Logos%0A%23%20WF%202023-03-11%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Flogo%0AWHERE%20%0A%7B%0A%20%20%3Fitem%20wdt%3AP31%20wd%3AQ3918.%0A%20%20%3Fitem%20rdfs%3Alabel%20%3FitemLabel.%0A%20%20FILTER%28LANG%28%3FitemLabel%29%3D%22en%22%29%0A%20%20%3Fitem%20wdt%3AP154%20%3Flogo%0A%7D%20%0AORDER%20BY%20%3FitemLabel try it!]

Revision as of 09:04, 11 March 2023

# University Logos
# WF 2023-03-11
SELECT ?item ?itemLabel ?logo
WHERE 
{
  ?item wdt:P31 wd:Q3918.
  ?item rdfs:label ?itemLabel.
  FILTER(LANG(?itemLabel)="en")
  ?item wdt:P154 ?logo
} 
ORDER BY ?itemLabel

try it!