query-970df8a78f50b1e53cc679220b4a3d69

rq turtle/ttl

French people with a BNF ID and no spoken language SELECT ?item ?itemLabel ?Bnf ?Naissance WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P268 ?Bnf . ?item wdt:P27 wd:Q142 . ?item wdt:P569 ?Naissance . FILTER NOT EXISTS { ?item wdt:P1412 ?foo . } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr, en" . } . } ORDER BY DESC(?birthDate)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# French people with a BNF ID and no spoken language
SELECT ?item ?itemLabel ?Bnf ?Naissance WHERE {
  ?item wdt:P31 wd:Q5 .
  ?item wdt:P268 ?Bnf .
  ?item wdt:P27 wd:Q142 .
  ?item wdt:P569 ?Naissance .
  FILTER NOT EXISTS { ?item wdt:P1412 ?foo . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr, en" . } .
} ORDER BY DESC(?birthDate)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?Bnf"):::projected v5("?Naissance"):::projected v1("?birthDate") v3("?foo") v2("?item"):::projected c11(["fr, en"]):::literal c9(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c6(["wd:Q142"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P1412"--> e0v2 e0v2("?foo"):::projected e0v1("?item"):::projected end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> v3 v2 --"wdt:P1412"--> v3 v2 --"wdt:P31"--> c3 v2 --"wdt:P268"--> v4 v2 --"wdt:P27"--> c6 v2 --"wdt:P569"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end