Skip to content

Instantly share code, notes, and snippets.

@lindenb
Last active November 13, 2022 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lindenb/57d2de9036ac6d52c5144eea96d0d8c7 to your computer and use it in GitHub Desktop.
Save lindenb/57d2de9036ac6d52c5144eea96d0d8c7 to your computer and use it in GitHub Desktop.
find scientists (bioinformatics | biostatistics | genetics ) having a mastodon account using SPARQL + wikidata.
SELECT DISTINCT ?person ?personLabel ?workLabel ?mastodon
WHERE {
?person wdt:P31 wd:Q5 .
?person wdt:P101 ?work .
?person wdt:P4033 ?mastodon .
FILTER (?work IN (wd:Q128570 , wd:Q7162 , wd:Q214746 ) ) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment