query-ec74a995ac95630ec1a68f73c892a42f

rq turtle/ttl

A batch of entities that were imported from Commons that would need to be merged with pre-existing entities A batch of entities that were imported from Commons that would need to be merged with pre-existing entities A batch of entities that were imported from Commons that would need to be merged with pre-existing entities Ensemble d'entités importées de Commons qui devront être fusionnées avec les entités déjà existantes A batch of entities that were imported from Commons that would need to be merged with pre-existing entities Een partij van entiteiten die uit Commons werden ingevoerd en die met al bestaande entiteiten zouden moeten worden samengevoegd A batch of entities that were imported from Commons that would need to be merged with pre-existing entities A batch of entities that were imported from Commons that would need to be merged with pre-existing entities A batch of entities that were imported from Commons that would need to be merged with pre-existing entities A batch of entities that were imported from Commons that would need to be merged with pre-existing entities

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#>
SELECT ?subject ?subjectLabel ?gallery
WHERE {
    ?subject wdt:P31 wd:Q5 .
    ?subject wdt:P935 ?gallery.
    FILTER NOT EXISTS { ?subject wdt:P18 ?x }
    SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" }
    FILTER regex(str(?subject), "Q211", "i")
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?gallery"):::projected v1("?subject"):::projected v2("?x") c8(["bd:serviceParam"]):::iri c5(["wd:Q5"]):::iri c10(["fr,en"]):::literal f0[["regex(str(?subject),'Q211','i')"]] f0 --> v1 f1[["not "]] subgraph f1e0["Exists Clause"] e0v1 --"wdt:P18"--> e0v2 e0v1("?subject"):::projected e0v2("?x"):::projected end f1--EXISTS--> f1e0 f1 --> v1 f1 --> c3 f1 --> v2 v1 --"wdt:P18"--> v2 v1 --"wdt:P31"--> c5 v1 --"wdt:P935"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end