query-575ccb748c6a5510b04679654c66f397

rq turtle/ttl

Latin authors, as in PHI + DigilibLT + Musisque Deoque SELECT ?item ?itemLabel (GROUP_CONCAT(DISTINCT ?phi1; separator=", ") as ?Phi) (GROUP_CONCAT(DISTINCT ?digilib1; separator=", ") as ?Digilib) (GROUP_CONCAT(DISTINCT ?mqdq1; separator=", ") as ?Mqdq) (GROUP_CONCAT(DISTINCT ?cc1; separator=", ") as ?Corpuscorporum) (GROUP_CONCAT(DISTINCT ?ciris1; separator=", ") as ?Ciris) (GROUP_CONCAT(DISTINCT ?dll1; separator=", ") as ?Dll) (GROUP_CONCAT(DISTINCT ?pc1; separator=", ") as ?Perseuscatalog) (GROUP_CONCAT(DISTINCT ?viaf1; separator=", ") as ?Viaf) WHERE { { ?item wdt:P6941 ?phi1 . } UNION { ?item wdt:P6862 ?digilib1 . } UNION { ?item wdt:P6999 ?mqdq1 . } OPTIONAL { ?item wdt:P7935 ?cc1 . } OPTIONAL { ?item wdt:P8065 ?ciris1 . } OPTIONAL { ?item wdt:P8122 ?dll1 . } OPTIONAL { ?item wdt:P7041 ?pc1 . } OPTIONAL { ?item wdt:P214 ?viaf1 . } SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en" . } } GROUP BY ?item ?itemLabel ORDER BY ?itemLabel

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Latin authors, as in PHI + DigilibLT + Musisque Deoque
SELECT ?item ?itemLabel 
  (GROUP_CONCAT(DISTINCT ?phi1; separator=", ") as ?Phi)
  (GROUP_CONCAT(DISTINCT ?digilib1; separator=", ") as ?Digilib)
  (GROUP_CONCAT(DISTINCT ?mqdq1; separator=", ") as ?Mqdq)
  (GROUP_CONCAT(DISTINCT ?cc1; separator=", ") as ?Corpuscorporum)
  (GROUP_CONCAT(DISTINCT ?ciris1; separator=", ") as ?Ciris)
  (GROUP_CONCAT(DISTINCT ?dll1; separator=", ") as ?Dll)
  (GROUP_CONCAT(DISTINCT ?pc1; separator=", ") as ?Perseuscatalog)
  (GROUP_CONCAT(DISTINCT ?viaf1; separator=", ") as ?Viaf)
WHERE
{
   { ?item wdt:P6941 ?phi1 . } UNION { ?item wdt:P6862 ?digilib1 . } UNION { ?item wdt:P6999 ?mqdq1 . }
   OPTIONAL { ?item wdt:P7935 ?cc1 . }
   OPTIONAL { ?item wdt:P8065 ?ciris1 . }
   OPTIONAL { ?item wdt:P8122 ?dll1 . }
   OPTIONAL { ?item wdt:P7041 ?pc1 . }
   OPTIONAL { ?item wdt:P214 ?viaf1 . }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en" . }
}
GROUP BY ?item ?itemLabel
ORDER BY ?itemLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v15("?Ciris") v14("?Corpuscorporum") v12("?Digilib") v16("?Dll") v13("?Mqdq") v17("?Perseuscatalog") v11("?Phi") v18("?Viaf") v6("?cc1"):::projected v7("?ciris1"):::projected v4("?digilib1"):::projected v8("?dll1"):::projected v2("?item"):::projected v1("?itemLabel"):::projected v5("?mqdq1"):::projected v9("?pc1"):::projected v3("?phi1"):::projected v10("?viaf1"):::projected c10(["bd:serviceParam"]):::iri c12(["it,en"]):::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:P6999"--> v5 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P6862"--> v4 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P6941"--> v3 end union0r <== or ==> union0l end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P7935".-> v6 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P8065".-> v7 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P8122".-> v8 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P7041".-> v9 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P214".-> v10 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end bind8[/"?phi1"/] v3 --o bind8 bind8 --as--o v11 bind9[/"?digilib1"/] v4 --o bind9 bind9 --as--o v12 bind10[/"?mqdq1"/] v5 --o bind10 bind10 --as--o v13 bind11[/"?cc1"/] v6 --o bind11 bind11 --as--o v14 bind12[/"?ciris1"/] v7 --o bind12 bind12 --as--o v15 bind13[/"?dll1"/] v8 --o bind13 bind13 --as--o v16 bind14[/"?pc1"/] v9 --o bind14 bind14 --as--o v17 bind15[/"?viaf1"/] v10 --o bind15 bind15 --as--o v18