# 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:P1813 ?_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