query-46dd763ae299c2a4576eef1645c835af
Females billionaires, but I don't know how. (P2284)price . Do someone know how to convert currency in the results ? I suppose it will work with (P2218)net worth I'm not satisfied by the SPARQL query, mainly because it take any unit for of the French article about it.on the talk pageI use the Wikidata list model to create a list of females billionaires Hi,
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
select distinct ?item ?situation where {?item wdt:P31 wd:Q5 ;
wdt:P21 wd:Q6581072 ;
p:P2218 ?s .
?s ps:P2218 ?situation ;
rdf:type wikibase:BestRank .
filter (?situation >= 1000000000)
}
order by desc (?situation)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?s")
v1("?situation"):::projected
c3(["wd:Q5"]):::iri
c9(["wikibase:BestRank"]):::iri
c5(["wd:Q6581072"]):::iri
f0[["?situation >= '1000000000^^xsd:integer'"]]
f0 --> v1
v2 --"p:direct/P31"--> c3
v2 --"p:direct/P21"--> c5
v2 --"p:P2218"--> v3
v3 --"p:statement/P2218"--> v1
v3 --"a"--> c9