query-3a9c1f233d7330ca63f8768169fe7dab

rq turtle/ttl

¿Cuáles son las literary work publicada por cada peruano? ¿Cuáles son las literary work publicada por cada peruano? ¿Cuáles son las literary work publicada por cada peruano? Wat is literary work die elk Peruaans publiceert?

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#>
#defaultView:Tree
SELECT
  ?peruane
  ?peruaneLabel
  ?libro
  ?libroLabel
{
   {
  SELECT DISTINCT ?libro ?peruane {
     {
  SELECT DISTINCT ?peruane {
    {?peruane wdt:P27 wd:Q419 }
    UNION
    {?peruane wdt:P19/wdt:P131* wd:Q419 }
    UNION
    {?peruane wdt:P1532 wd:Q419}
  }
}
    ?libro wdt:P31 wd:Q7725634;
           wdt:P50 ?peruane.
  }
}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "es". }
}
ORDER BY ASC(?peruaneLabel)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?libro"):::projected v2("?peruane"):::projected v1("?peruaneLabel"):::projected a1((" ")) c10(["bd:serviceParam"]):::iri c7(["wd:Q7725634"]):::iri c2(["wd:Q419"]):::iri c12(["es"]):::literal subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P1532"--> c2 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P19"--> a1 a1 --"wdt:P131"--> c2 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P27"--> c2 end union0r <== or ==> union0l end v3 --"wdt:P31"--> c7 v3 --"wdt:P50"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end