query-6bf375d8f7569160d9939aff282fc5b2
Help with WDGS but I'm failing to re-write this for the scholarly graph. I've tried https://w.wiki/B6Ct and will need to re-write them due to the Graph Split. My SPARQL knowledge is basic and the queries produced were achieved by trial and error / modifying others' queries / kind help from the community. In preparation for trying to learn how I might re-write those queries I tried, using the Federation Guide, to write federated queries which would pick up all research outputs produced by an academic - this includes not only scholarly articles, but also book chapters, version edition translations, blog posts, chapters and articles. In the main graph as it was all these can be picked up in one query Wikidata:WikiProject LSEThesisProjectHi, I have a number of queries written as part of a project
Use at
- https://query.wikidata.org/sparql
PREFIX wdsubgraph: <https://query.wikidata.org/subgraph/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemType ?itemTypeLabel
WHERE
{
?item wdt:P50 wd:Q17508688.
SERVICE wdsubgraph:wikidata_main {
?item wdt:P50 wd:Q17508688.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en". } # Helps get the label in your language, if not, then default for all languages, then en language
}