query-c2d00b9b660d1386642bfc2bada612b5

rq turtle/ttl

Volumes by Jan Kops SELECT DISTINCT ?volume ?volumeLabel ?author ?authorLabel WHERE { BIND (wd:Q2372924 AS ?writer) # target author = Jan Kops BIND (wd:Q117860156 AS ?fb) #Flora Batava KB ?fb wdt:P527 ?volume. ?volume wdt:P50 ?author. FILTER (?author = ?writer) # filter for target author SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?volumeLabel

Use at

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#>
# Volumes by Jan Kops
SELECT DISTINCT  ?volume ?volumeLabel ?author ?authorLabel
WHERE 
{
  BIND (wd:Q2372924 AS ?writer) # target author = Jan Kops
  BIND (wd:Q117860156 AS ?fb) #Flora Batava KB
  ?fb  wdt:P527 ?volume.
  ?volume wdt:P50 ?author.
  FILTER (?author = ?writer) # filter for target author
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } 
}
ORDER BY ?volumeLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?author"):::projected v4("?fb") v5("?volume"):::projected v1("?volumeLabel"):::projected v4("?writer") c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?author = ?writer"]] f0 --> v2 f0 --> v4 bind1[/"'wd:Q2372924'"/] bind1 --as--o v4 bind2[/"'wd:Q117860156'"/] bind2 --as--o v4 v4 --"wdt:P527"--> v5 v5 --"wdt:P50"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end