query-25ba732ebb95a2bd982c08e5cb207c43

rq turtle/ttl

title:musical works/compositions with a Wikisource link

credit: Mahir256

select ?i ?name ?lang { ?i wdt:P31 wd:Q105543609 . ?sitelink schema:about ?i ; schema:name ?name ; schema:inLanguage ?lang ; schema:isPartOf/wikibase:wikiGroup "wikisource" . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:musical works/compositions with a Wikisource link
#credit: Mahir256

select ?i ?name ?lang {
  ?i wdt:P31 wd:Q105543609 .
 ?sitelink schema:about ?i ;
 schema:name ?name ;
 schema:inLanguage ?lang ;
 schema:isPartOf/wikibase:wikiGroup "wikisource" .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?i"):::projected v4("?lang"):::projected v3("?name"):::projected v2("?sitelink") a1((" ")) c10(["bd:serviceParam"]):::iri c2(["wd:Q105543609"]):::iri c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal c8(["wikisource"]):::literal v1 --"wdt:P31"--> c2 v2 --"schema:about"--> v1 v2 --"schema:name"--> v3 v2 --"schema:inLanguage"--> v4 v2 --"schema:isPartOf"--> a1 a1 --"wikibase:wikiGroup"--> c8 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end