query-082185b4c275e3ed1c093c1e5b8ac353

rq turtle/ttl

Requêtes Autrice ou collectrice de contes de langue française morte avant 1952

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 psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
  {
    SELECT DISTINCT ?item WHERE {
      ?item p:P31 ?statement0.
      ?statement0 (ps:P31/(wdt:P279*)) wd:Q5.
      ?item p:P21 ?statement1.
      ?statement1 (ps:P21/(wdt:P279*)) wd:Q6581072.
      {
        ?item p:P106 ?statement2.
        ?statement2 (ps:P106/(wdt:P279*)) wd:Q26203955.
      }
      UNION
      {
        ?item p:P106 ?statement3.
        ?statement3 (ps:P106/(wdt:P279*)) wd:Q64733534.
      }
      ?item p:P570 ?statement_4.
      ?statement_4 psv:P570 ?statementValue_4.
      ?statementValue_4 wikibase:timePrecision ?precision_4.

      FILTER(?precision_4 >= 9 )
      ?statementValue_4 wikibase:timeValue ?P570_4.

      FILTER(?P570_4 < "+1952-00-00T00:00:00Z"^^xsd:dateTime)
      ?item p:P1412 ?statement5.
      ?statement5 (ps:P1412/(wdt:P279*)) wd:Q150.
    }
    LIMIT 500
  }
 }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?P570_4") v3("?item"):::projected v2("?precision_4") v4("?statement0") v5("?statement1") v6("?statement2") v7("?statement3") v10("?statement5") v9("?statementValue_4") v8("?statement_4") a1((" ")) a2((" ")) a3((" ")) a4((" ")) a5((" ")) c16(["wd:Q26203955"]):::iri c17(["wd:Q64733534"]):::iri c13(["wd:Q6581072"]):::iri c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;"]):::literal c10(["wd:Q5"]):::iri c24(["wd:Q150"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end f0[["?P570_4 < '+1952-00-00T00:00:00Z^^xsd:dateTime'"]] f0 --> v1 f1[["?precision_4 >= '9^^xsd:integer'"]] f1 --> v2 v3 --"p:P31"--> v4 v4 --"p:statement/P31"--> a1 a1 --"p:direct/P279"--> c10 v3 --"p:P21"--> v5 v5 --"p:statement/P21"--> a2 a2 --"p:direct/P279"--> c13 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v3 --"p:P106"--> v7 v7 --"p:statement/P106"--> a4 a4 --"p:direct/P279"--> c17 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v3 --"p:P106"--> v6 v6 --"p:statement/P106"--> a3 a3 --"p:direct/P279"--> c16 end union0r <== or ==> union0l end v3 --"p:P570"--> v8 v8 --"p:statement/value/P570"--> v9 v9 --"wikibase:timePrecision"--> v2 v9 --"wikibase:timeValue"--> v1 v3 --"p:P1412"--> v10 v10 --"p:statement/P1412"--> a5 a5 --"p:direct/P279"--> c24