Q0.6

From BITPlan cr Wiki
Revision as of 12:25, 21 March 2023 by Th (talk | contribs)
Jump to navigation Jump to search

Query

Query
edit
id  6
name  
title  All institutions
description  List all institutions from which at least one scholar has once (co-)authored a paper or proceeding that has been published through CEUR-WS.
sparql  
# Q0.6 List all institutions
SELECT DISTINCT ?institution ?institutionLabel
  (SAMPLE(?_logoImage) as ?logoImage) 
  (SAMPLE(?_shortName) as ?shortName) 
  (SAMPLE(?_country) as ?country) 
  (SAMPLE(?_coordinateLocation) as ?coordinateLocation) 
  (SAMPLE(?_officialWebsite) as ?officialWebsite)
  (SAMPLE(?_gndId) as ?gndId)  
WHERE{
  ?proceeding wdt:P31 wd:Q1143604.
  ?proceeding wdt:P179 wd:Q27230297.
  {
    # authors
    ?paper wdt:P1433 ?proceeding.
    ?paper p:P50/pq:P1416 ?institution.
  }UNION{
    # editors
    ?proceeding p:P98/pq:P1416 ?institution.
  }
  
  OPTIONAL{?institution rdfs:label ?institutionLabel. Filter(lang(?institutionLabel)="en")} 
  OPTIONAL{?institution wdt:P154 ?_logoImage.} 
  OPTIONAL{?institution wdt:P1816 ?_shortName.} 
  OPTIONAL{?institution wdt:P17 ?_country.} 
  OPTIONAL{?institution wdt:P625 ?_coordinateLocation.} 
  OPTIONAL{?institution wdt:P856 ?_officialWebsite.}  
  OPTIONAL{?institution wdt:P227 ?_gndId.} 
}
GROUP BY ?institution ?institutionLabel
tryiturl  →z7hnKG
wdqsurl  6UFN→6UKK
scholia  →
relevance  1
comment  
task  Task0→Task0

Freitext