Difference between revisions of "Q0.6"

From BITPlan cr Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
{{Query
 
{{Query
 
|id=6
 
|id=6
|name=All_institutions
+
|name=AllInstitutions
 
|title=All [[Concept:Institution| institutions]]
 
|title=All [[Concept:Institution| 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.
 
|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.

Revision as of 14:02, 21 March 2023

Query

Query
edit
id  6
name  AllInstitutions
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  DtK3UQ→z7hnKG
wdqsurl  6UGm→6UKK
scholia  →
relevance  1
comment  
task  Task0→Task0

Freitext