query-f9977ae9b440e08fc576beee30370f9d
TODO
Use at
- https://query.wikidata.org/sparql
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 psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
{
SELECT DISTINCT ?item WHERE {
?item p:P31 ?statement0.
?statement0 (ps:P31/(wdt:P279*)) wd:Q483110.
?item p:P1083 ?statement1.
?statement1 (psv:P1083/wikibase:quantityAmount) ?numericQuantity.
FILTER(?numericQuantity > "25000"^^xsd:decimal)
?item p:P1619 ?statement_2.
?statement_2 psv:P1619 ?statementValue_2.
?statementValue_2 wikibase:timeValue ?P1619_2.
MINUS {
?item p:P3999 ?statement_3.
?statement_3 psv:P3999 ?statementValue_3.
?statementValue_3 wikibase:timeValue ?P3999_3.
}
?item p:P625 ?statement4.
?statement4 (ps:P625) _:anyValueP625.
}
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?P1619_2")
v10("?P3999_3")
v2("?item"):::projected
v1("?numericQuantity")
v3("?statement0")
v4("?statement1")
v11("?statement4")
v6("?statementValue_2")
v9("?statementValue_3")
v5("?statement_2")
v8("?statement_3")
a3((" "))
a1((" "))
a2((" "))
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;"]):::literal
c9(["wd:Q483110"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
f0[["?numericQuantity > '25000^^xsd:decimal'"]]
f0 --> v1
v2 --"p:P31"--> v3
v3 --"p:statement/P31"--> a1
a1 --"p:direct/P279"--> c9
v2 --"p:P1083"--> v4
v4 --"p:statement/value/P1083"--> a2
a2 --"wikibase:quantityAmount"--> v1
v2 --"p:P1619"--> v5
v5 --"p:statement/value/P1619"--> v6
v6 --"wikibase:timeValue"--> v7
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"p:P3999"--> v8
v8 --"p:statement/value/P3999"--> v9
v9 --"wikibase:timeValue"--> v10
end
v2 --"p:P625"--> v11
v11 --"p:statement/P625"--> a3