query-58adcf839a7b2d9412922a367778a3b1

rq turtle/ttl

title:Filologi romanzi nati nel XIX secolo, con ID Share Catalogue, Parsifal e IdRef, che non hanno una voce in Wikipedia in italiano SELECT ?item ?itemLabel ?yearofbirth ?sharecat_cluster_ID ?parsifal_cluster_ID ?idref_cluster_ID WHERE { ?item wdt:P3987 ?sharecat_cluster_ID; wdt:P12458 ?parsifal_cluster_ID; wdt:P269 ?idref_cluster_ID ; wdt:P106 wd:Q2504617 ; wdt:P569 ?dob . BIND(YEAR(?dob) AS ?yearofbirth) FILTER((?dob >= "1800-01-01T00:00:00"^^xsd:dateTime) && (?dob <= "1899-12-31T23:59:59"^^xsd:dateTime)) OPTIONAL { ?sitelink schema:about ?item . ?sitelink schema:inLanguage "it" } FILTER (!BOUND(?sitelink)) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?yearofbirth

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Filologi romanzi nati nel XIX secolo, con ID Share Catalogue, Parsifal e IdRef, che non hanno una voce in Wikipedia in italiano
SELECT ?item ?itemLabel ?yearofbirth ?sharecat_cluster_ID ?parsifal_cluster_ID ?idref_cluster_ID 
WHERE
{
  ?item wdt:P3987 ?sharecat_cluster_ID;
        wdt:P12458 ?parsifal_cluster_ID;
        wdt:P269 ?idref_cluster_ID ;
        wdt:P106 wd:Q2504617 ;
        wdt:P569 ?dob .
  BIND(YEAR(?dob) AS ?yearofbirth)
  FILTER((?dob >= "1800-01-01T00:00:00"^^xsd:dateTime) && (?dob <= "1899-12-31T23:59:59"^^xsd:dateTime))
  OPTIONAL { ?sitelink schema:about ?item . ?sitelink schema:inLanguage "it" }
  FILTER (!BOUND(?sitelink))
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  }
ORDER BY ?yearofbirth

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?dob") v7("?idref_cluster_ID"):::projected v4("?item"):::projected v6("?parsifal_cluster_ID"):::projected v5("?sharecat_cluster_ID"):::projected v2("?sitelink") v8("?yearofbirth"):::projected c11(["it"]):::literal c7(["wd:Q2504617"]):::iri c13(["bd:serviceParam"]):::iri c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["not bound(?sitelink)"]] f0 --> v2 f1[["?dob >= '1800-01-01T00:00:00^^xsd:dateTime'?dob <= '1899-12-31T23:59:59^^xsd:dateTime'"]] f1 --> v3 v4 --"wdt:P3987"--> v5 v4 --"wdt:P12458"--> v6 v4 --"wdt:P269"--> v7 v4 --"wdt:P106"--> c7 v4 --"wdt:P569"--> v3 bind2[/"year-from-dateTime(?dob)"/] v3 --o bind2 bind2 --as--o v8 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."schema:about".-> v4 v2 --"schema:inLanguage"--> c11 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c13 --"wikibase:language"--> c15 end