query-0f44816c7ed885c07670e712b5caf8bb

rq turtle/ttl

Mothers and children in srpELTeC and srpELTeC-extended collection

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#>
SELECT DISTINCT ?mother ?motherLabel ?child ?childLabel
WHERE {
  VALUES ?collection { wd:Q106936149 wd:Q109123373 }
  ?novel wdt:P31 wd:Q7725634;
         wdt:P674 ?mother;
         wdt:P747 ?edition.
    ?mother wdt:P21 wd:Q6581097;
       wdt:P25 ?child.
  ?edition wdt:P1433 ?collection.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "sr". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?child"):::projected v1("?collection") v4("?edition") v3("?mother"):::projected v2("?novel") c10(["bd:serviceParam"]):::iri c6(["wd:Q6581097"]):::iri c2(["wd:Q7725634"]):::iri c12(["sr"]):::literal bind0[/VALUES ?collection/] bind0-->v1 bind00(["wd:Q106936149"]) bind00 --> bind0 bind01(["wd:Q109123373"]) bind01 --> bind0 v2 --"wdt:P31"--> c2 v2 --"wdt:P674"--> v3 v2 --"wdt:P747"--> v4 v3 --"wdt:P21"--> c6 v3 --"wdt:P25"--> v5 v4 --"wdt:P1433"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end