query-4de3014c18005a83622ddfdb22f67271

rq turtle/ttl

Archaic Greek lyric fragmentsI tried to create this query:

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 ?fragment ?authorLabel ?fragmentLabel ?genreLabel ?dialectLabel ?title
WHERE {
  ?fragment wdt:P136/wdt:P279* wd:Q1885775 .
  ?fragment wdt:P136 wd:Q3906966 .
  ?fragment wdt:P136 wd:Q3164714 .
  ?fragment wdt:P50 ?author .
  ?fragment wdt:P136 ?genre .
  ?fragment wdt:P364 ?dialect .
  ?fragment wdt:P1476 ?title .
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en,grc" }    
} ORDER BY ?authorLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?author") v1("?authorLabel"):::projected v5("?dialect") v2("?fragment"):::projected v4("?genre") v6("?title"):::projected a1((" ")) c5(["wd:Q3164714"]):::iri c3(["wd:Q1885775"]):::iri c10(["bd:serviceParam"]):::iri c4(["wd:Q3906966"]):::iri c12(["en,grc"]):::literal v2 --"wdt:P136"--> a1 a1 --"wdt:P279"--> c3 v2 --"wdt:P136"--> c4 v2 --"wdt:P136"--> c5 v2 --"wdt:P50"--> v3 v2 --"wdt:P136"--> v4 v2 --"wdt:P364"--> v5 v2 --"wdt:P1476"--> v6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end