query-38ebf56c8db0398782bf5b305b525e04

rq turtle/ttl

TODO

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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?date
    {
        {   SELECT ?item ?date
            {
                ?date_node wikibase:timePrecision "11"^^xsd:integer . 
                ?date_node wikibase:timeValue ?date . 
                FILTER (month(?date) = 8 && day(?date) = 8 ) 
                ?item p:P569/psv:P569 ?date_node . 
            }

            LIMIT 1000
        }
        ?item wdt:P31 wd:Q5 .
        ?item wdt:P21 wd:Q6581072 .
      SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
      OPTIONAL {
    ?wiki0 <http://schema.org/about> ?item .
    FILTER(SUBSTR(STR(?wiki0),1,24) = 'https://en.wikipedia.org') .
    }
  FILTER(bound(?wiki0))
    }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?date"):::projected v3("?date_node") v4("?item"):::projected v1("?wiki0") a1((" ")) c6(["11^^xsd:integer"]):::literal c17(["en"]):::literal c13(["wd:Q6581072"]):::iri c15(["bd:serviceParam"]):::iri c11(["wd:Q5"]):::iri f0[["bound(?wiki0)"]] f0 --> v1 f1[["month-from-dateTime(?date) = '8^^xsd:integer'day-from-dateTime(?date) = '8^^xsd:integer'"]] f1 --> v2 v3 --"wikibase:timePrecision"--> c6 v3 --"wikibase:timeValue"--> v2 v4 --"p:P569"--> a1 a1 --"p:statement/value/P569"--> v3 v4 --"p:direct/P31"--> c11 v4 --"p:direct/P21"--> c13 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c15 --"wikibase:language"--> c17 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -.http://schema.org/about.-> v4 end