query-af878ef8e105055567a4d21b15374051

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?label WHERE
{
  ?item wdt:P31 wd:Q46831 .
filter not exists { ?item wdt:P361 ?val } 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . ?subj rdfs:label ?label } 
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v4("?label"):::projected v3("?subj") v2("?val") c5(["bd:serviceParam"]):::iri c7(["fr,en"]):::literal c3(["wd:Q46831"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P361"--> e0v2 e0v1("?item"):::projected e0v2("?val"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 v1 --"wdt:P361"--> v2 v1 --"wdt:P31"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 v3 --"rdfs:label"--> v4 end