query-004f5404da7783379fb697db1331f6a9

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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?article ?szul WHERE {
  ?item wdt:P31 wd:Q5;
    wdt:P27 wd:Q28;
    wdt:P569 ?birth.
  MINUS { ?item wdt:P570 []. }
  FILTER(?birth <= "1900-01-01"^^xsd:dat)
  FILTER(EXISTS {
    ?article schema:about ?item;
      schema:isPartOf <https://hu.wikipedia.org/>.
  })
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],hu,en". }
  OPTIONAL { ?item wdt:P569 ?szul. }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?article"):::projected v3("?birth") v2("?item"):::projected v4("?szul"):::projected a1((" ")) c14(["#91;AUTO_LANGUAGE#93;,hu,en"]):::literal c8(["wd:Q28"]):::iri c3([https://hu.wikipedia.org/]):::iri c12(["bd:serviceParam"]):::iri c6(["wd:Q5"]):::iri f0[[" "]] subgraph f0e0["Exists Clause"] e0v1 --"schema:about"--> e0v2 e0v1 --"schema:isPartOf"--> e0c3 e0v1("?article"):::projected e0v2("?item"):::projected e0c3([https://hu.wikipedia.org/]):::iri end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 f0 --> c2 f0 --> c3 v1 --"schema:about"--> v2 v1 --"schema:isPartOf"--> c3 f1[["?birth <= s1900-01-01^^<http://www.w3.org/2001/XMLSchema#dat>'"]] f1 --> v3 v2 --"wdt:P31"--> c6 v2 --"wdt:P27"--> c8 v2 --"wdt:P569"--> v3 subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; v2 --"wdt:P570"--> a1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P569".-> v4 end