query-653c79dc50e726e39e951a5c3eeea080

rq turtle/ttl

11:37, 3 November 2019 (UTC)) talk (TheklanThanks! -: Theklan@

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription ?m
{

    ?item wdt:P31 wd:Q8502 .
    ?item p:P2044 / psn:P2044 / wikibase:quantityAmount ?m .
    FILTER (?m > 8000)
    MINUS { ?item wdt:P376 [] }
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?m"):::projected a3((" ")) a1((" ")) a2((" ")) c9(["bd:serviceParam"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal c3(["wd:Q8502"]):::iri f0[["?m > '8000^^xsd:integer'"]] f0 --> v1 v2 --"p:direct/P31"--> c3 v2 --"p:P2044"--> a1 a1 --"p:statement/value-normalized/P2044"--> a2 a2 --"wikibase:quantityAmount"--> v1 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v2 --"p:direct/P376"--> a3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end