@tillgrallert@digitalcourage.social
Post #3378749
2025-03-11 11:11 UTC
@Mareike2405@fedihum.org @NFDI4Memory@nfdi.social @DigitalHistory@fedihum.org @DHd@fedihum.org
Ohne geographischen Filter sieht es so aus: https://query-main.wikidata.org/embed.html#%23title%3A%20Digital%20Historians%20and%20Digital%20Humanists%20on%20Mastodon%0A%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fcoords%22%5D%2C%20%22markercluster%22%3A%20%22true%22%7D%0ASELECT%20DISTINCT%0A%20%20%3Fpers%20%0A%20%20%28IRI%28REPLACE%28STR%28%3FmastoHandle%29%2C%20%22%5E%28.%2B%29%40%28.%2B%29%24%22%2C%20%22https%3A%2F%2F%242%2F%40%241%22%2C%20%22i%22%20%29%29%20AS%20%3Fmastodon%29%20%23%20turn%20handle%20into%20link%0A%20%20%28CONCAT%28%3FpersLabel%2C%20%22%20%28%22%2C%20%3ForgLabel%2C%20%22%29%22%29%20AS%20%3Flabel%29%0A%20%20%3Fcoords%0A%23%20get%20researchers%20in%20specific%20fields%20of%20work%3A%20potentially%20very%20large%20number%20of%20results%0AWITH%20%7B%0A%20%20SELECT%20DISTINCT%0A%20%20%20%20%3Fpers%20%3Forg%0A%20%20WHERE%20%7B%0A%20%20%20%20%23BIND%28wd%3AQ124745332%20AS%20%3Fpers%29.%20%23%20debugging%20Q99529696%0A%20%20%20%20%3Fpers%20wdt%3AP31%20wd%3AQ5%3B%20%20%20%20%20%20%20%20%20%20%23%20humans%0A%20%20%20%20%20%20wdt%3AP101%20%3FfieldOfWork%3B%20%20%20%20%20%20%23%20having%20a%20field%20of%20work%0A%20%20%20%20%20%20wdt%3AP108%7Cwdt%3AP1416%20%3Forg.%20%20%20%20%23%20employer%0A%20%20%20%20%23%20limit%20to%20fields%20of%20work%0A%20%20%20%20VALUES%20%3FfieldOfWork%20%7B%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20wd%3AQ336387%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%20digital%20history%0A%20%20%20%20%20%20wd%3AQ1026962%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%20digital%20humanities%0A%20%20%20%20%7D%0A%20%20%7D%20LIMIT%2020000%0A%7D%20as%20%25researchers%0A%23%20get%20affiliations%20and%20the%20latest%20start%20and%20end%20date%0AWITH%20%7B%0A%20%20SELECT%20DISTINCT%0A%20%20%20%20%3Fpers%20%3Forg%0A%20%20%20%20%28max%28%3Fonset%29%20as%20%3FonsetLatest%29%0A%20%20%20%20%28max%28%3Fterminus%29%20as%20%3FterminusLatest%29%0A%20%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25researchers%20.%0A%20%20%20%20%3Fpers%20p%3AP108%20%7C%20p%3AP1416%20%3ForgStmt.%0A%20%20%20%20%3ForgStmt%20ps%3AP108%7Cps%3AP1416%20%3Forg.%0A%20%20%20%20OPTIONAL%20%7B%3ForgStmt%20pq%3AP580%7Cpq%3AP585%20%3Fonset.%7D%0A%20%20%20%20OPTIONAL%20%7B%3ForgStmt%20pq%3AP582%20%3Fterminus.%7D%0A%20%20%7D%0A%20%20GROUP%20BY%20%3Fpers%20%3Forg%0A%7D%20as%20%25affiliations%0A%23%20filter%20past%20affiliations%0AWITH%20%7B%0A%20%20SELECT%20DISTINCT%0A%20%20%20%20%3Fpers%20%3Forg%20%0A%20%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25affiliations%0A%20%20%20%20%23%20remove%20affiliations%20which%20have%20been%20explicitly%20terminated%0A%20%20%20%20BIND%28IF%28bound%28%3FterminusLatest%29%2C%20%3FterminusLatest%2C%20now%28%29%29%20AS%20%3Fterminus%29%0A%20%20%20%20FILTER%28%3Fterminus%20%3E%3D%20now%28%29%29.%0A%20%20%20%20%23%20retain%20only%20the%20latest%20affiliation%20IN%20THE%20GROUP%0A%20%20%20%20BIND%28IF%28bound%28%3FonsetLatest%29%2C%20%3FonsetLatest%2C%20now%28%29%29%20AS%20%3Fonset%29%0A%20%20%20%20%23FILTER%28%3Fonset%20%3C%3D%20max%28%3FonsetLatest%29%29%0A%20%20%20%7D%0A%20%20GROUP%20BY%20%3Fpers%20%3Forg%0A%7D%20as%20%25affilLatest%0AWHERE%20%7B%0A%20%20INCLUDE%20%25affilLatest%0A%20%20%3Forg%20wdt%3AP625%20%3Fcoords.%0A%20%20%3Fpers%20wdt%3AP4033%20%3FmastoHandle.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%0A%20%20%20%20%3Fpers%20rdfs%3Alabel%20%3FpersLabel.%0A%20%20%20%20%3Forg%20rdfs%3Alabel%20%3ForgLabel.%0A%20%20%7D%0A%7D%0AORDER%20BY%20%3FpersLabel%20DESC%28%3FonsetLatest%29
mensch kann natürlich implizite Indikatoren für DH annehmen, dann ändert sich die Ergebnismenge, allerdings wird es dann ganz schnell ein Spiel um die Timeouts des SPARQL Endpoints.
Replies (1)
-
@Mareike2405@fedihum.org 2025-03-11 12:08
@tillgrallert@digitalcourage.social ah super, vielen Dank! mir ging es tatsächlich um Personen, nicht Einrichtungen… @NFDI4Memory@nfdi.social @DigitalHistory@fedihum.org @DHd@fedihum.org