query-bc0056ed4834bf57dcd0933d37a9aa43

rq turtle/ttl

title:Autori latini presenti in almeno uno tra PHI Latin Texts, Musisque Deoque e DigilibLT SELECT ?item ?it ?la (GROUP_CONCAT(DISTINCT ?phi1; separator=", ") as ?phi) (GROUP_CONCAT(DISTINCT ?digilib1; separator=", ") as ?digilib) (GROUP_CONCAT(DISTINCT ?mqdq1; separator=", ") as ?mqdq) (GROUP_CONCAT(DISTINCT ?dll1; separator=", ") as ?dll) (GROUP_CONCAT(DISTINCT ?perseus1; separator=", ") as ?perseus) (GROUP_CONCAT(DISTINCT ?corpuscorporum1; separator=", ") as ?corpuscorporum) (GROUP_CONCAT(DISTINCT ?viaf1; separator=", ") as ?viaf) (GROUP_CONCAT(DISTINCT ?isni1; separator=", ") as ?isni) WHERE { { ?item wdt:P6941 ?phi1 . } UNION { ?item wdt:P6862 ?digilib1 . } UNION { ?item wdt:P6999 ?mqdq1 . } OPTIONAL { ?item wdt:P8122 ?dll1 . } OPTIONAL { ?item wdt:P7041 ?perseus1 . } OPTIONAL { ?item wdt:P7935 ?corpuscorporum1 . } OPTIONAL { ?item wdt:P214 ?viaf1 . } OPTIONAL { ?item wdt:P213 ?isni1 . } ?item rdfs:label ?it . FILTER(LANG(?it) = 'it') . ?item rdfs:label ?la . FILTER(LANG(?la) = 'la') . } GROUP BY ?item ?it ?la ORDER BY ?it

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#title:Autori latini presenti in almeno uno tra PHI Latin Texts, Musisque Deoque e DigilibLT
SELECT ?item ?it ?la
 (GROUP_CONCAT(DISTINCT ?phi1; separator=", ") as ?phi)
 (GROUP_CONCAT(DISTINCT ?digilib1; separator=", ") as ?digilib)
 (GROUP_CONCAT(DISTINCT ?mqdq1; separator=", ") as ?mqdq)
 (GROUP_CONCAT(DISTINCT ?dll1; separator=", ") as ?dll)
 (GROUP_CONCAT(DISTINCT ?perseus1; separator=", ") as ?perseus)
 (GROUP_CONCAT(DISTINCT ?corpuscorporum1; separator=", ") as ?corpuscorporum)
 (GROUP_CONCAT(DISTINCT ?viaf1; separator=", ") as ?viaf)
 (GROUP_CONCAT(DISTINCT ?isni1; separator=", ") as ?isni)
WHERE
{
   { ?item wdt:P6941 ?phi1 . } UNION { ?item wdt:P6862 ?digilib1 . } UNION { ?item wdt:P6999 ?mqdq1 . }
   OPTIONAL { ?item wdt:P8122 ?dll1 . }
   OPTIONAL { ?item wdt:P7041 ?perseus1 . }
   OPTIONAL { ?item wdt:P7935 ?corpuscorporum1 . }
   OPTIONAL { ?item wdt:P214 ?viaf1 . }
   OPTIONAL { ?item wdt:P213 ?isni1 . }
   ?item rdfs:label ?it . FILTER(LANG(?it) = 'it') .
   ?item rdfs:label ?la . FILTER(LANG(?la) = 'la') .
}
GROUP BY ?item ?it ?la
ORDER BY ?it

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v17("?corpuscorporum") v9("?corpuscorporum1"):::projected v13("?digilib") v5("?digilib1"):::projected v15("?dll") v7("?dll1"):::projected v19("?isni") v11("?isni1"):::projected v1("?it"):::projected v3("?item"):::projected v2("?la"):::projected v14("?mqdq") v6("?mqdq1"):::projected v16("?perseus") v8("?perseus1"):::projected v12("?phi") v4("?phi1"):::projected v18("?viaf") v10("?viaf1"):::projected f0[["?la = 'la'"]] f0 --> v2 f1[["?it = 'it'"]] f1 --> v1 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; v3 --"wdt:P6999"--> v6 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P6862"--> v5 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P6941"--> v4 end union0r <== or ==> union0l end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P8122".-> v7 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P7041".-> v8 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P7935".-> v9 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P214".-> v10 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P213".-> v11 end v3 --"rdfs:label"--> v1 v3 --"rdfs:label"--> v2 bind10[/"?phi1"/] v4 --o bind10 bind10 --as--o v12 bind11[/"?digilib1"/] v5 --o bind11 bind11 --as--o v13 bind12[/"?mqdq1"/] v6 --o bind12 bind12 --as--o v14 bind13[/"?dll1"/] v7 --o bind13 bind13 --as--o v15 bind14[/"?perseus1"/] v8 --o bind14 bind14 --as--o v16 bind15[/"?corpuscorporum1"/] v9 --o bind15 bind15 --as--o v17 bind16[/"?viaf1"/] v10 --o bind16 bind16 --as--o v18 bind17[/"?isni1"/] v11 --o bind17 bind17 --as--o v19