PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?person ?dod ?archive_inst WHERE {
  ?person wdt:P21 wd:Q6581072 ; wdt:P570 ?dod ; wdt:P31 wd:Q5 .
  FILTER ( ?dod < "1948-01-01T00:00:00Z" ^^ xsd:dateTime ) {
    ?person wdt:P19 ?place .
    ?place wdt:P131 * wd:Q3240 .
  } UNION {
    ?person wdt:P20 ?place2 .
    ?place2 wdt:P131 * wd:Q3240 .
  }
  OPTIONAL {
    ?person p:P485 / ps:P485 ?archive_inst .
  }
}

Here are distinct female individuals who were either born or died in Bouches-du-Rhône and died before January 1, 1948, along with their date of death and the institution holding their archives (if available). Most do not have an archive institution listed, but the query returns the Wikidata identifier, date of death, and archive institution if present.

Which distinct female individuals were either born or died in Bouches-du-Rhône, and who died before January 1, 1948? Please include their date of death and the institution holding their archives (if available).

[System]
You are a question answering assistant. Your job is to generate a SPARQL query to answer a given user question.

You have access to the following knowledge graphs:
wikidata at https://qlever.cs.uni-freiburg.de/api/wikidata-sebastian with notes:
1. For P39 legislative memberships, filter by pq:P2937 (legislative term) on the p:P39 statement; don’t use P793 for term filtering. For UK MPs, avoid a generic Q16707842-only scan; rely on term qualifiers and proper date overlap on pq:P580/pq:P582.
2. For residence (P551), time bounds are qualifiers on the statement: p:P551/ps:P551 place, pq:P580 start, pq:P582 end. To include containing areas (e.g., NYC boroughs), expand via wdt:P551/wdt:P131*. Durations usually need client-side calc on QLever.
3. Ticker symbols are pq:P249 on p:P414 statements; query via the statement node (?org p:P414 ?st . ?st ps:P414 ?ex ; pq:P249 ?ticker). Use VALUES to pre-limit orgs/exchanges. Don’t expect wdt:P249 on the org. Prefer qualifiers for time-bound tickers.
4. Archives: use p:P485/ps:P485 for the holding institution. Inventory numbers are qualifiers pq:P217 on that P485 statement. Don’t expect wdt:P217 directly on the person/work. “Archive descriptions” may be separate collection items (P195).
5. When listing contained municipalities or similar, prefer wdt:P150* (has parts) from the parent to enumerate children, then join other relations (e.g., twin towns via wdt:P190). Avoid broad wdt:P131+ scans from children; they are slow and can timeout.
6. On QLever, avoid SERVICE wikibase:label (frequent 301). Use OPTIONAL rdfs:label with LANG filters or fetch QIDs then labels separately. For property mapping, (?prop wikibase:directClaim ?p). Pre-limit with subselect/VALUES to avoid timeouts.
7. Employer constraints: to find people employed by UN or international orgs, use wdt:P108 directly for UN (wd:Q1065), or traverse employer to part of (wdt:P361*) UN, or employer wdt:P31 wd:Q484652 (international organization). Combine with other occupations.
8. For sports/events/editions, prefer explicit edition items (e.g., Q47345468) with wdt:P361 linking to the parent series/tour and filter by wdt:P585/P571 for year; avoid P641/P2139 that model sports played or participants, not the edition metadata.
9. For author/creator queries, use occupation wdt:P106 (e.g., author/writer) rather than P31 typing. To list works, prefer the reverse path ^wdt:P50 ?work; P800 (notable work) is incomplete and curated, not a full bibliography.
10. Awards: use p:P166/ps:P166 and constrain award via wdt:P31/wdt:P279* to a target class (e.g., Cannes awards Q28444913). Recipients can be films or people; don’t assume film-specific properties exist. Count/group by recipient type if needed.
11. To select current/active codes or memberships on QLever, use statement nodes (p:/ps:) and MINUS { ?st pq:P582 [] }. For time series counts (e.g., daily members), generate a date series (VALUES/UNNEST), then test overlap with pq:P580/pq:P582 per date.
12. For people’s native names, use wdt:P1559 (name in native language) on the person, not rdfs:label. Return multiple if multiple native languages exist; pick a preferred language client-side if needed.
13. For multi-valued props (e.g., P1082), GROUP BY entity and aggregate (MAX/MIN/SAMPLE) to avoid duplicates; DISTINCT won’t collapse multiple statements. For category/gender counts, prefer indicator sums: SUM(IF(cond,1,0)) over COUNT on OPTIONAL vars.
14. Avoid SERVICE wikibase:label on QLever; it often 301s. Use OPTIONAL rdfs:label with LANG filters, or fetch QIDs first and labels in a follow-up. Pre-limit with subselect/VALUES to avoid timeouts when joining many labels.
15. For P551 duration comparisons, avoid unsupported date arithmetic. If needed, compute overlaps client-side. On-endpoint, you can only compare presence/counts or use simple MIN/MAX of dates (casting and arithmetic are limited in QLever).
16. When excluding specific entities from a relation (e.g., siblings), use FILTER to drop explicit QIDs or FILTER NOT EXISTS with a VALUES list. Ensure you use the exact sibling QIDs returned by the KG, not assumed ones.

General notes for all knowledge graphs:
1. When checking date interval overlaps, handle open intervals (missing start/end) and use xsd:dateTime. Use OR conditions to cover start within, end within, or spanning the whole range.
2. For P39 queries, qualifiers (e.g., P2937 term, P768 electoral district, P4100 parliamentary group) live on the p:P39 statement node. Do not expect them as wdt: properties on the person or use ps: for non-main values.
3. To get sitelink counts, use wikibase:sitelinks on the entity; it returns a single numeric value, so GROUP BY the entity and avoid COUNT over ?sitelink.
4. Use subclass expansion for types: wdt:P31/wdt:P279* target (e.g., dams, educational institutions). This captures items modeled with subclasses.
5. For locations, prefer hierarchies via wdt:P131+ to reach a containing region/state, and wdt:P17 for country. If HQ is a building, P159 ps points to a city; specific site is qualifier pq:P276 on the P159 statement.
6. When excluding or selecting by a legislative term on P39, check pq:P2937 on the relevant statement. Use FILTER NOT EXISTS over p:P39 with ps:P39 target and pq:P2937 value to exclude a term.
7. QLever endpoints may not support Wikidata’s “WITH {…} AS %name” and “INCLUDE %name” syntax. Avoid named subqueries; use nested SELECTs or VALUES instead.
8. The wikibase:label SERVICE often fails on QLever. Prefer rdfs:label with FILTER(LANG(..)="en") or get QIDs only and resolve labels client-side.
9. Avoid COUNT over OPTIONAL variables that may be unbound for all rows; prefer EXISTS/BOUND checks or aggregate over DISTINCT entities to prevent misleading zeros.
10. On QLever, heavy OPTIONAL label/property joins often time out. Pre-limit with a subselect/VALUES over IDs (ORDER BY + LIMIT), then join labels/properties. Or fetch QIDs first and labels in a second, smaller query.
11. For precise date filtering on Wikidata (birth/death), prefer p/psv time nodes and wikibase:timeValue plus timePrecision checks over wdt:P569/P570 to include values with year/month precision and avoid silent drops.
12. When filtering by exact day of birth or event, avoid STRSTARTS on wdt:P569; instead bound an interval [day, next day) with xsd:dateTime to include all precisions. On QLever, add hint:Prior hint:rangeSafe true to improve performance on time ranges.

You can use the following SPARQL prefixes implicitly in all functions:
cc: <http://creativecommons.org/ns#
data: <https://www.wikidata.org/wiki/Special:EntityData/
dct: <http://purl.org/dc/terms/
geo: <http://www.opengis.net/ont/geosparql#
geof: <http://www.opengis.net/def/function/geosparql/
imdb: <https://www.imdb.com/
math: <http://www.w3.org/2005/xpath-functions/math#
ontolex: <http://www.w3.org/ns/lemon/ontolex#
owl: <http://www.w3.org/2002/07/owl#
p: <http://www.wikidata.org/prop/
pq: <http://www.wikidata.org/prop/qualifier/
pqn: <http://www.wikidata.org/prop/qualifier/value-normalized/
pqv: <http://www.wikidata.org/prop/qualifier/value/
pr: <http://www.wikidata.org/prop/reference/
prn: <http://www.wikidata.org/prop/reference/value-normalized/
prov: <http://www.w3.org/ns/prov#
prv: <http://www.wikidata.org/prop/reference/value/
ps: <http://www.wikidata.org/prop/statement/
psn: <http://www.wikidata.org/prop/statement/value-normalized/
psv: <http://www.wikidata.org/prop/statement/value/
qfn: <http://qlever.cs.uni-freiburg.de/function#
ql: <http://qlever.cs.uni-freiburg.de/builtin-functions/
qlss: <https://qlever.cs.uni-freiburg.de/spatialSearch/
rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: <http://www.w3.org/2000/01/rdf-schema#
ref: <http://www.wikidata.org/reference/
s: <http://www.wikidata.org/entity/statement/
schema: <http://schema.org/
skos: <http://www.w3.org/2004/02/skos/core#
v: <http://www.wikidata.org/value/
wd: <http://www.wikidata.org/entity/
wdno: <http://www.wikidata.org/prop/novalue/
wdt: <http://www.wikidata.org/prop/direct/
wdtn: <http://www.wikidata.org/prop/direct-normalized/
wikibase: <http://wikiba.se/ontology#
xsd: <http://www.w3.org/2001/XMLSchema#
foaf: <http://xmlns.com/foaf/0.1/
dc: <http://purl.org/dc/elements/1.1/
gn: <http://www.geonames.org/ontology#
bd: <http://www.bigdata.com/rdf#
hint: <http://www.bigdata.com/queryHints#
qb: <http://purl.org/linked-data/cube#
void: <http://rdfs.org/ns/void#

You should follow a step-by-step approach to generate the SPARQL query:
1. Determine possible entities and properties implied by the user question.
2. Search for the entities and properties in the knowledge graphs. Where applicable, constrain the searches with already identified entities and properties.
3. Gradually build up the SPARQL query using the identified entities and properties. Start with simple queries and add more complexity as needed. Execute intermediate queries to get feedback and to verify your assumptions. You may need to refine or rethink your current plan based on the query results and go back to step 2 if needed, possibly multiple times.
4. Use the answer or cancel function to finalize your answer and stop the generation process.

Additional rules:
1. Explain your thought process before and after each step and function call.
2. Do not just use or make up entity or property identifiers without verifying their existence in the knowledge graphs first.
3. Always execute your final SPARQL query before giving an answer to make sure it returns the expected results.
4. The SPARQL query should always return the actual identifiers / IRIs of the items in its result. It additionally may return labels or other human-readable information, but they are optional and should be put within optional clauses unless explicitly requested by the user.
5. Do not stop early if there are still obvious improvements to be made to the SPARQL query. For example, keep refining your SPARQL query if its result contains irrelevant items or is missing items you expected.
6. Do not perform additional computation (e.g. filtering, sorting, calculations) on the result of the SPARQL query to determine the answer. All computation should be done solely within SPARQL.
7. For questions with a "True" or "False" answer the SPARQL query should be an ASK query.
8. Do not use 'SERVICE wikibase:label { bd:serviceParam wikibase:language ...' in SPARQL queries. It is not SPARQL standard and unsupported by the used QLever SPARQL endpoints. Use rdfs:label or similar properties to get labels instead.

[User] Which distinct female individuals were either born or died in Bouches-du-Rhône, and who died before January 1, 1948? Please include their date of death and the institution holding their archives (if available).

[Assistant]
Let's break down the question:

1. We want distinct female individuals.
2. They were either born or died in Bouches-du-Rhône.
3. They died before January 1, 1948.
4. For each, include their date of death and the institution holding their archives (if available).

Step 1: Find the entity for "Bouches-du-Rhône".
Step 2: Find the property for "place of birth" and "place of death".
Step 3: Find the property for "sex or gender" and the entity for "female".
Step 4: Find the property for "date of death".
Step 5: Find the property for "archives at" or "holding institution".
Step 6: Build a query that gets all distinct females who were either born or died in Bouches-du-Rhône, died before 1948-01-01, and returns their date of death and archive holding institution if available.

Let's proceed step by step.

First, search for "Bouches-du-Rhône".

[Tool]
Top 10 entity alternatives:
1. Bouches-du-Rhône, also known as Bouches du Rhone, Bouches-du-Rhone, Mouths of the Rhône (wd:Q3240): French department in Provence-Alpes-Côte d'Azur, instance of department of France
2. geography of Bouches-du-Rhône, also known as Bouches-du-Rhône geography (wd:Q3123398): instance of geography of geographic location
3. conseil de préfecture des Bouches-du-Rhône, also known as CP Bouches-du-Rhône, CP des Bouches-du-Rhône (wd:Q63168094)
4. general council of Bouches-du-Rhône, also known as general council of Bouches-du-Rhone, conseil général des Bouches-du-Rhône, conseil general des Bouches-du-Rhone, Bouches-du-Rhone general council, Bouches-du-Rhône general council (wd:Q2994039): instance of General council
5. departmental council of Bouches-du-Rhône, also known as Bouches-du-Rhône departmental council, conseil départemental des Bouches-du-Rhône (wd:Q23782140): instance of departmental council, deliberative assembly in France
6. OK Corral, also known as OK Corral (Bouches-du-Rhône) (wd:Q3349991): instance of amusement park, amusement park in France
7. demographics of Bouches-du-Rhône (wd:Q3044316)
8. Aix-en-Provence (Bouches-du-Rhône). Notre-Dame-de-Consolation (wd:Q107408985): instance of scholarly article, scientific article
9. Arles (Bouches-du-Rhône). Saint-Trophime (wd:Q107408452): instance of scholarly article, scientific article
10. EDUCATION BOUCHES-DU-RHONE project (wd:Q100345200): instance of project

[Assistant]
The main entity for the French department Bouches-du-Rhône is wd:Q3240.

Next, let's find the properties for "place of birth" and "place of death".

[Tool]
Top 10 property alternatives:
1. place of birth, also known as location born, POB, location of birth, born in, born at (wd:P19 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): most specific known birth location of a person, animal or fictional character, subproperty of location
2. date of birth, also known as year of birth, DOB, born on, birthyear, born (wd:P569 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): date on which the subject was born, subproperty of inception
3. country of citizenship, also known as subject of (country), nation of citizenship, national of, nationality, nation (wd:P27 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): the object is a country that recognizes the subject as its citizen, subproperty of country
4. birthday, also known as birth day, b-day, bday (wd:P3150 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): item for day and month on which the subject was born. Used when full "date of birth" (P569) isn't known., subproperty of date of birth
5. birth name, also known as name at birth, name before marriage, ne, né, nee (wd:P1477 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): full name of a person at birth, if different from their current, generally used name, subproperty of name
6. category for people born here, also known as category for place of birth, category of people born here (wd:P1464 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): category item that groups people born in this place, subproperty of related category
7. valid in place, also known as country, valid in territory, valid in location, true in, applies to place (wd:P3005 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): place where a statement is valid, subproperty of applies to part
8. country of origin, also known as comes from, place of origin, origin country, originates from, country (wd:P495 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): country of origin of this item (creative work, food, phrase, product, etc.), subproperty of significant place, subproperty of country
9. country, also known as state, sovereign state, land, host country (wd:P17 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): sovereign state that this item is in (not to be used for human beings), subproperty of located in the administrative territorial entity
10. commemorates, also known as anniversary of, monument to, memorial to, memorializes, marks (wd:P547 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): what the place, monument, memorial, or holiday, commemorates, subproperty of main subject

[Tool]
Top 10 property alternatives:
1. place of death, also known as POD, location of death, killed in, died in, died (wd:P20 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): most specific known (e.g. city instead of country, or hospital i... city) death location of a person, animal or fictional character, subproperty of location
2. place of burial, also known as interment location, interment, interment place, interred at, location of burial (wd:P119 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): location of grave, resting place, place of ash-scattering, etc. ...veral places: e.g., re-burials, parts of body buried separately., subproperty of location
3. date of death, also known as DOD, deathdate, died, died on, year of death (wd:P570 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): subproperty of dissolved, abolished or demolished date, date on which the subject died, subproperty of end time
4. category for people who died here, also known as category of people who died here, category for place of death (wd:P1465 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): category item for people who died in this location, subproperty of related category
5. manner of death, also known as circumstance of death, death manner, death type, nature of death, type of death (wd:P1196 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): general circumstances of a person's death; e.g. natural causes, ...ysiological mechanism, e.g. heart attack, trauma, pneumonia etc.
6. number of deaths, also known as dead, qty fatalities, qty deaths, number of fatalities, fatalities (wd:P1120 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): total (cumulative) number of people who died since start as a direct result of an event or cause
7. category for people buried here, also known as buried here: Wikimedia category for, category for burials, category for place of burial, category of people buried here (wd:P1791 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): Wikimedia category for people with a burial site within this area, subproperty of related category
8. cause of death, also known as death cause, murder method, method of murder, die of, die from (wd:P509 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): underlying or immediate cause of death.  Underlying cause (e.g. ...adest category, e.g. natural causes, accident, homicide, suicide
9. date of burial or cremation, also known as burial date, cremation date, date of cremation, funeral date (wd:P4602 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): date on which the person was buried or cremated soon after death, subproperty of point in time
10. commemorates, also known as anniversary of, monument to, memorial to, memorializes, marks (wd:P547 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): what the place, monument, memorial, or holiday, commemorates, subproperty of main subject

[Assistant]
The properties are:
- Place of birth: wdt:P19
- Place of death: wdt:P20

Now, let's find the property for "sex or gender" and the entity for "female".

[Tool]
Top 10 property alternatives:
1. sex or gender, also known as biological sex, gender, gender expression, gender identity, gender or sex (wd:P21 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): sex or gender identity of human or animal. For human: male, fema...m, female organism. Groups of same gender use subclass of (P279)
2. grammatical gender, also known as gender (wd:P5185 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): grammatical gender of the word
3. requires grammatical feature, also known as grammatical feature required, required grammatical feature, requires case, requires mood, uses case (wd:P5713 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): grammatical features required or generally used with lexeme or form of lexeme
4. has grammatical gender, also known as grammatical genders, has genders (wd:P5109 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): specific form of noun class system of a language. Use qualifier ... subject of" (P805) to link to language specific item if present
5. personal pronoun, also known as gender pronoun, personal gender pronoun, personal pronouns, PGP, PGPs (wd:P6553 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): personal pronoun(s) this person goes by
6. semantic gender, also known as natural gender (wd:P10339 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): used when a word is only used to refer to people of this gender or to animals of this sex, independent of the grammatical gender
7. sexual orientation, also known as sexuality (wd:P91 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): the sexual orientation of the person relative to their declared ...r it has been widely agreed upon by historians after their death
8. female form of label, also known as female form of label (string), female gender sense, feminine form of label (wd:P2521 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): female form of name or title (for male use P3321)
9. male form of label, also known as male form of label (string), male gender sense, masculine form of label (wd:P3321 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): male form of name or title (for female use P2521)
10. given name version for other gender, also known as female form of name, female version of this male given name, gender inflection of given name, male form of name, male version of this female given name (wd:P1560 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): equivalent name (with respect to the meaning of the name) in the...n of a female first name. Add primarily the closest matching one

[Tool]
Top 10 entity alternatives:
1. female organism, also known as female animal, female creature, sex — female, ♀, female (wd:Q43445)
2. female, also known as human female, female person, girls, girl, fem (wd:Q6581072): to be used in "sex or gender" (P21) to indicate that the human s...nder" (P10339) to indicate that a word refers to a female person, instance of sex of humans, instance of gender
3. lesbian, also known as lesbian human, lesbian ladies, lesbian lady, lesbian person, homosexual woman (wd:Q55719239)
4. trans woman, also known as trans lady, transsexual lady, Trans MtF, trans girl, transgirl (wd:Q1052281)
5. cisgender woman, also known as cis gender woman, cisgender female, cis woman, Cis woman, Cis female (wd:Q15145779)
6. assigned female at birth, also known as designated female at birth, female at birth, DFAB, AFAB, born female (wd:Q56315990)
7. trans man, also known as trans-man, transmasculine, transman, trans guy, trans male (wd:Q2449503)
8. intersex woman, also known as intersex female person, intersex girl, intersex women, intersex female human, female intersex human (wd:Q121307100)
9. 25% male, 75% female gender ratio, also known as 3 ♀ : 1 ♂ (wd:Q116752962): instance of Pokémon gender ratio, gender ratio for Pokémon species
10. 87.5% male, 12.5% female gender ratio, also known as 1 ♀ : 7 ♂, 7 ♂ : 1 ♀ (wd:Q116752952): instance of Pokémon gender ratio, gender ratio for Pokémon species

No other items found

No literal items found

[Assistant]
The correct value for "female" for humans is wd:Q6581072.

Now, let's find the property for "date of death".

[Tool]
Top 10 property alternatives:
1. date of death, also known as DOD, deathdate, died, died on, year of death (wd:P570 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): subproperty of dissolved, abolished or demolished date, date on which the subject died, subproperty of end time
2. place of death, also known as POD, location of death, killed in, died in, died (wd:P20 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): most specific known (e.g. city instead of country, or hospital i... city) death location of a person, animal or fictional character, subproperty of location
3. date of birth, also known as year of birth, DOB, born on, birthyear, born (wd:P569 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): date on which the subject was born, subproperty of inception
4. date of burial or cremation, also known as burial date, cremation date, date of cremation, funeral date (wd:P4602 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): date on which the person was buried or cremated soon after death, subproperty of point in time
5. number of deaths, also known as dead, qty fatalities, qty deaths, number of fatalities, fatalities (wd:P1120 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): total (cumulative) number of people who died since start as a direct result of an event or cause
6. birthday, also known as birth day, b-day, bday (wd:P3150 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): item for day and month on which the subject was born. Used when full "date of birth" (P569) isn't known., subproperty of date of birth
7. commemorates, also known as anniversary of, monument to, memorial to, memorializes, marks (wd:P547 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): what the place, monument, memorial, or holiday, commemorates, subproperty of main subject
8. cause of death, also known as death cause, murder method, method of murder, die of, die from (wd:P509 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): underlying or immediate cause of death.  Underlying cause (e.g. ...adest category, e.g. natural causes, accident, homicide, suicide
9. inception, also known as inception date, founding date, founded in, founded on date, founded on (wd:P571 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): time when an entity begins to exist; for date of official opening use P1619, subproperty of start time
10. dissolved, abolished or demolished date, also known as end date, publication end date, ended, final issue, final year (wd:P576 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): point in time at which the subject (organisation, building) ceas...g equipment,  "discontinued date" (P2669) for stopping a product, subproperty of end time

[Tool]
Top 10 property alternatives:
1. streaming media URL, also known as archives, streaming url (wd:P963 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): URL where the subject's media stream exists, subproperty of URL
2. collection, also known as series, repository, museum collection, held by, GLAM (wd:P195 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): art, museum, archival, or bibliographic collection of which the subject is part, subproperty of part of
3. archives at, also known as archive location, correspondence at, papers at (wd:P485 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): the institution holding the subject's archives, subproperty of significant place
4. collection creator, also known as archive creator, creator, collector, collected by, archive of (wd:P6241 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): entity (person, organization, etc.) that caused a record or collection to be produced or gathered
5. Internet Archive ID, also known as IAid, Internet Archive identifier, IA ID, archive.org ID, archive.org (wd:P724 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): identifier for an item on Internet Archive
6. full work available online at, also known as full text available at, full text available at URL, full text url, online mirror, online version (wd:P953 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): URL of a web page containing the full body of this item, subproperty of URL
7. periodical archive URL, also known as magazine archive URL, newspaper back issues at, newspaper archive URL, newspaper archive, back issues at (wd:P7213 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): online repository of journal, magazine, or newspaper, subproperty of archive URL, subproperty of URL
8. archive date, also known as date archived, archived in, archival date, archivedate (wd:P2960 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): date a document was archived
9. number of records, also known as database size, rows, records, quantitiy of records, number of rows (wd:P4876 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): number of values of an identifier or records in a catalog
10. record of, also known as is a record of, is record of, records (wd:P11851 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): state or event an object is a physical representation of

[Tool]
Top 10 property alternatives:
1. parent organization, also known as parent company, parent institution, parent organisation, parent unit, part of (wd:P749 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): parent organization of an organization, opposite of subsidiaries (P355), subproperty of owned by, subproperty of part of
2. contains, also known as encloses, wraps, surrounds, stores, holds (wd:P4330 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): item or substance located within this item but not part of it
3. maintained by, also known as administered by, maintenance, maintainer, held by, custodian (wd:P126 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): person or organization in charge of keeping the subject (for instance an infrastructure) in functioning order
4. collection, also known as series, repository, museum collection, held by, GLAM (wd:P195 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): art, museum, archival, or bibliographic collection of which the subject is part, subproperty of part of
5. location, also known as neighborhood, locale, neighbourhood, place, place held (wd:P276 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): location of the object, structure or event. In the case of an ad...ity use P706. Use P7153 for locations associated with the object
6. stock exchange, also known as exchange, listed on, listed on exchange, listed on stock exchange (wd:P414 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): exchange on which this company is traded
7. owned by, also known as provenance, shareholder, stockholder, stockholders, shareholders (wd:P127 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): owner of the subject
8. location of formation, also known as originates from, place of incorporation, place of establishment, place of formation, place of foundation (wd:P740 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): location where a group or organization was formed, subproperty of location of creation
9. inception, also known as inception date, founding date, founded in, founded on date, founded on (wd:P571 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): time when an entity begins to exist; for date of official opening use P1619, subproperty of start time
10. capital, also known as principal place, seat of government, seat, location of capital, has capital (wd:P36 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): seat of government of a country, province, state or other type of administrative territorial entity

[Assistant]
The property for "institution holding their archives" is wd:P485 (archives at).

Now, let's summarize the needed elements:
- Bouches-du-Rhône: wd:Q3240
- Place of birth: wdt:P19
- Place of death: wdt:P20
- Sex or gender: wdt:P21, value wd:Q6581072 (female)
- Date of death: wdt:P570
- Archives at: p:P485/ps:P485 (statement path, as archives are often qualifiers/statements)

We want:
- Distinct female humans (wdt:P31 wd:Q5, optional but helps filter)
- Born OR died in Bouches-du-Rhône (wd:Q3240)
- Died before 1948-01-01
- Return their date of death and archive holding institution (if available)

Now, let's build the query step by step.

First, let's try a basic query for females born or died in Bouches-du-Rhône, with date of death before 1948-01-01, and their date of death.

[Tool] Got no rows and 1 columns

[Assistant]
The initial query returned no results. This could be due to the strict requirement that the place of birth or death is exactly Bouches-du-Rhône (wd:Q3240). In Wikidata, places of birth/death are often recorded at the city level (e.g., Marseille, Aix-en-Provence), which are within Bouches-du-Rhône but not directly linked as wd:Q3240.

To address this, I should include people born or died in any location that is part of Bouches-du-Rhône. This can be done by using the "located in the administrative territorial entity" (wdt:P131) property recursively to find all places within Bouches-du-Rhône.

Let's:
1. Find all places (cities, towns, etc.) within Bouches-du-Rhône using wdt:P131*.
2. Use these as possible values for place of birth or death.

I'll first check the property for "located in the administrative territorial entity" to confirm the property ID.

[Tool]
Top 10 property alternatives:
1. located in the administrative territorial entity, also known as is in the shire of, is in the voivodeship of, is in the state of, is in the territory of, is in the town of (wd:P131 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): the item is located on the territory of the following administra...if the item falls only partially into the administrative entity., subproperty of location, subproperty of part of
2. contains the administrative territorial entity, also known as has states, has shires, has rural cities, has regions, has municipalities (wd:P150 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): (list of) direct subdivisions of an administrative territorial entity, subproperty of has part(s)
3. located in the present-day administrative territorial entity, also known as present-day administrative territorial entity, located in the current administrative territorial entity, located in the modern-day administrative territorial entity, located in the present-day administrative territorial entity, located in present day administrative territorial entity (wd:P3842 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): the item was located in the territory of this present-day administrative unit; however the two did not at any point coexist in time, subproperty of location, subproperty of part of
4. located in the statistical territorial entity, also known as located in statistical territorial entity, statistical territorial entity (wd:P8138 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): statistical territorial entity in which a place is located or is...nty is split into or part of several regions: add several values, subproperty of location
5. territory overlaps, also known as partially located in territorial entity, partly overlaps, partly located in territorial entity, partly coincident with, partially overlaps (wd:P3179 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): part or all of the area associated with (this) entity overlaps part or all of the area associated with that entity, subproperty of partially coincident with
6. location, also known as neighborhood, locale, neighbourhood, place, place held (wd:P276 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): location of the object, structure or event. In the case of an ad...ity use P706. Use P7153 for locations associated with the object
7. capital, also known as principal place, seat of government, seat, location of capital, has capital (wd:P36 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): seat of government of a country, province, state or other type of administrative territorial entity
8. located in the religious territorial entity, also known as Vicariate, religious territorial entity, located in the ecclesiastical territorial entity, Parish, Deanery (wd:P5607 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): the item is located on the territory of the following religious entity. Use P708 (diocese) for dioceses, subproperty of location, subproperty of part of
9. capital of, also known as national capital of, parish seat of, provincial capital of, seat of, state capital (wd:P1376 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): country, state, department, canton or other administrative division of which the municipality is the governmental seat, subproperty of located in the administrative territorial entity
10. contains the statistical territorial entity, also known as contains statistical territorial entity (wd:P10888 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): (list of) statistical territorial entities which are direct subd...ions of another statistical or administrative territorial entity, subproperty of has part(s)

[Assistant]
The property for "located in the administrative territorial entity" is wdt:P131.

To include all places within Bouches-du-Rhône, I should use wdt:P131* (recursive). So, for place of birth or death, I can check if the place is Bouches-du-Rhône or located within it.

Now, let's build the improved query:
- For each person, check if their place of birth or death is a place (?place) such that ?place wdt:P131* wd:Q3240.
- The rest of the constraints remain the same.

I'll also add OPTIONAL for the archive holding institution and the date of death.

Let's try this improved query.

[Tool]
Got 30 rows and 3 columns, showing the first 5 and last 5 rows below:
| person                              | dod                                 | archive_inst |
| ----------------------------------- | ----------------------------------- | ------------ |
| Amelie Talexis (wd:Q102279620)      | 1911-01-08T00:00:00Z (xsd:dateTime) |              |
| Joséphine Umido (wd:Q102334178)     | 1943-01-29T00:00:00Z (xsd:dateTime) |              |
| Charlotte Vauvelle (wd:Q102335084)  | 1934-05-19T00:00:00Z (xsd:dateTime) |              |
| Yolande of Anjou (wd:Q10303425)     | 1440-07-26T00:00:00Z (xsd:dateTime) |              |
| Marie Wachanru (wd:Q106827410)      | 1853-01-19T00:00:00Z (xsd:dateTime) |              |
| ...                                 | ...                                 | ...          |
| Marie Degrandi (wd:Q124964083)      | 1945-05-04T00:00:00Z (xsd:dateTime) |              |
| Douceline of Digne (wd:Q1251650)    | 1274-09-01T00:00:00Z (xsd:dateTime) |              |
| Marie Chateauminois (wd:Q125578107) | 1910-01-01T00:00:00Z (xsd:dateTime) |              |
| Alice Ollé-Laprune (wd:Q125669687)  | 1936-01-01T00:00:00Z (xsd:dateTime) |              |
| Rosa de Beaucaire (wd:Q12950252)    | 1943-06-14T00:00:00Z (xsd:dateTime) |              |

[Tool]
Got 30 rows and 5 columns, showing the first 5 and last 5 rows below:
| person                              | dod                                 | archive_inst | personLabel              | archive_instLabel |
| ----------------------------------- | ----------------------------------- | ------------ | ------------------------ | ----------------- |
| Amelie Talexis (wd:Q102279620)      | 1911-01-08T00:00:00Z (xsd:dateTime) |              | Amelie Talexis (en)      |                   |
| Joséphine Umido (wd:Q102334178)     | 1943-01-29T00:00:00Z (xsd:dateTime) |              | Joséphine Umido (en)     |                   |
| Charlotte Vauvelle (wd:Q102335084)  | 1934-05-19T00:00:00Z (xsd:dateTime) |              | Charlotte Vauvelle (en)  |                   |
| Yolande of Anjou (wd:Q10303425)     | 1440-07-26T00:00:00Z (xsd:dateTime) |              | Yolande of Anjou (en)    |                   |
| Marie Wachanru (wd:Q106827410)      | 1853-01-19T00:00:00Z (xsd:dateTime) |              | Marie Wachanru (en)      |                   |
| ...                                 | ...                                 | ...          | ...                      | ...               |
| Marie Degrandi (wd:Q124964083)      | 1945-05-04T00:00:00Z (xsd:dateTime) |              | Marie Degrandi (en)      |                   |
| Douceline of Digne (wd:Q1251650)    | 1274-09-01T00:00:00Z (xsd:dateTime) |              | Douceline of Digne (en)  |                   |
| Marie Chateauminois (wd:Q125578107) | 1910-01-01T00:00:00Z (xsd:dateTime) |              | Marie Chateauminois (en) |                   |
| Alice Ollé-Laprune (wd:Q125669687)  | 1936-01-01T00:00:00Z (xsd:dateTime) |              | Alice Ollé-Laprune (en)  |                   |
| Rosa de Beaucaire (wd:Q12950252)    | 1943-06-14T00:00:00Z (xsd:dateTime) |              | Rosa de Beaucaire (en)   |                   |

[Tool] Stopped generation process


PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?person ?networth ?unit ?conversion ?networth_usd WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 .
  ?person p:P2218 ?st .
  ?st ps:P2218 ?networth .
  OPTIONAL {
    ?st pq:P38 ?unit .
  }
  OPTIONAL {
    ?st pq:P2284 ?conversion .
  }
  BIND( IF( bound( ?unit ) && ?unit = wd:Q4917 , 1 , IF( bound( ?conversion ) , ?conversion , 1 ) ) AS ?conv ) BIND( xsd:decimal ( ?networth ) * xsd:decimal ( ?conv ) AS ?networth_usd ) FILTER ( ?networth_usd >= 1000000000 )
}
ORDER BY DESC ( ?networth_usd )

The distinct female individuals with a net worth of at least 1 billion United States dollars (including those whose net worth in other currencies is equivalent to more than 1 billion USD) are listed in the results. For each, the query returns: the person, their net worth amount, the unit/currency, the conversion rate to USD (if available), and the net worth in USD, ordered by net worth in USD descending.

Who are the distinct female individuals with a net worth of at least 1 billion United States dollars? Include their net worth amount, the unit of the net worth, the conversion rate to USD, and the net worth in USD, and order by the net worth in USD in descending order. You should also include net worths in other currencies but are equivalent to more than 1 billion USD

[System]
You are a question answering assistant. Your job is to generate a SPARQL query to answer a given user question.

You have access to the following knowledge graphs:
wikidata at https://qlever.cs.uni-freiburg.de/api/wikidata-sebastian with notes:
1. For P39 legislative memberships, filter by pq:P2937 (legislative term) on the p:P39 statement; don’t use P793 for term filtering. For UK MPs, avoid a generic Q16707842-only scan; rely on term qualifiers and proper date overlap on pq:P580/pq:P582.
2. For residence (P551), time bounds are qualifiers on the statement: p:P551/ps:P551 place, pq:P580 start, pq:P582 end. To include containing areas (e.g., NYC boroughs), expand via wdt:P551/wdt:P131*. Durations usually need client-side calc on QLever.
3. Ticker symbols are pq:P249 on p:P414 statements; query via the statement node (?org p:P414 ?st . ?st ps:P414 ?ex ; pq:P249 ?ticker). Use VALUES to pre-limit orgs/exchanges. Don’t expect wdt:P249 on the org. Prefer qualifiers for time-bound tickers.
4. Archives: use p:P485/ps:P485 for the holding institution. Inventory numbers are qualifiers pq:P217 on that P485 statement. Don’t expect wdt:P217 directly on the person/work. “Archive descriptions” may be separate collection items (P195).
5. When listing contained municipalities or similar, prefer wdt:P150* (has parts) from the parent to enumerate children, then join other relations (e.g., twin towns via wdt:P190). Avoid broad wdt:P131+ scans from children; they are slow and can timeout.
6. On QLever, avoid SERVICE wikibase:label (frequent 301). Use OPTIONAL rdfs:label with LANG filters or fetch QIDs then labels separately. For property mapping, (?prop wikibase:directClaim ?p). Pre-limit with subselect/VALUES to avoid timeouts.
7. Employer constraints: to find people employed by UN or international orgs, use wdt:P108 directly for UN (wd:Q1065), or traverse employer to part of (wdt:P361*) UN, or employer wdt:P31 wd:Q484652 (international organization). Combine with other occupations.
8. For sports/events/editions, prefer explicit edition items (e.g., Q47345468) with wdt:P361 linking to the parent series/tour and filter by wdt:P585/P571 for year; avoid P641/P2139 that model sports played or participants, not the edition metadata.
9. For author/creator queries, use occupation wdt:P106 (e.g., author/writer) rather than P31 typing. To list works, prefer the reverse path ^wdt:P50 ?work; P800 (notable work) is incomplete and curated, not a full bibliography.
10. Awards: use p:P166/ps:P166 and constrain award via wdt:P31/wdt:P279* to a target class (e.g., Cannes awards Q28444913). Recipients can be films or people; don’t assume film-specific properties exist. Count/group by recipient type if needed.
11. To select current/active codes or memberships on QLever, use statement nodes (p:/ps:) and MINUS { ?st pq:P582 [] }. For time series counts (e.g., daily members), generate a date series (VALUES/UNNEST), then test overlap with pq:P580/pq:P582 per date.
12. For people’s native names, use wdt:P1559 (name in native language) on the person, not rdfs:label. Return multiple if multiple native languages exist; pick a preferred language client-side if needed.
13. For multi-valued props (e.g., P1082), GROUP BY entity and aggregate (MAX/MIN/SAMPLE) to avoid duplicates; DISTINCT won’t collapse multiple statements. For category/gender counts, prefer indicator sums: SUM(IF(cond,1,0)) over COUNT on OPTIONAL vars.
14. Avoid SERVICE wikibase:label on QLever; it often 301s. Use OPTIONAL rdfs:label with LANG filters, or fetch QIDs first and labels in a follow-up. Pre-limit with subselect/VALUES to avoid timeouts when joining many labels.
15. For P551 duration comparisons, avoid unsupported date arithmetic. If needed, compute overlaps client-side. On-endpoint, you can only compare presence/counts or use simple MIN/MAX of dates (casting and arithmetic are limited in QLever).
16. When excluding specific entities from a relation (e.g., siblings), use FILTER to drop explicit QIDs or FILTER NOT EXISTS with a VALUES list. Ensure you use the exact sibling QIDs returned by the KG, not assumed ones.

General notes for all knowledge graphs:
1. When checking date interval overlaps, handle open intervals (missing start/end) and use xsd:dateTime. Use OR conditions to cover start within, end within, or spanning the whole range.
2. For P39 queries, qualifiers (e.g., P2937 term, P768 electoral district, P4100 parliamentary group) live on the p:P39 statement node. Do not expect them as wdt: properties on the person or use ps: for non-main values.
3. To get sitelink counts, use wikibase:sitelinks on the entity; it returns a single numeric value, so GROUP BY the entity and avoid COUNT over ?sitelink.
4. Use subclass expansion for types: wdt:P31/wdt:P279* target (e.g., dams, educational institutions). This captures items modeled with subclasses.
5. For locations, prefer hierarchies via wdt:P131+ to reach a containing region/state, and wdt:P17 for country. If HQ is a building, P159 ps points to a city; specific site is qualifier pq:P276 on the P159 statement.
6. When excluding or selecting by a legislative term on P39, check pq:P2937 on the relevant statement. Use FILTER NOT EXISTS over p:P39 with ps:P39 target and pq:P2937 value to exclude a term.
7. QLever endpoints may not support Wikidata’s “WITH {…} AS %name” and “INCLUDE %name” syntax. Avoid named subqueries; use nested SELECTs or VALUES instead.
8. The wikibase:label SERVICE often fails on QLever. Prefer rdfs:label with FILTER(LANG(..)="en") or get QIDs only and resolve labels client-side.
9. Avoid COUNT over OPTIONAL variables that may be unbound for all rows; prefer EXISTS/BOUND checks or aggregate over DISTINCT entities to prevent misleading zeros.
10. On QLever, heavy OPTIONAL label/property joins often time out. Pre-limit with a subselect/VALUES over IDs (ORDER BY + LIMIT), then join labels/properties. Or fetch QIDs first and labels in a second, smaller query.
11. For precise date filtering on Wikidata (birth/death), prefer p/psv time nodes and wikibase:timeValue plus timePrecision checks over wdt:P569/P570 to include values with year/month precision and avoid silent drops.
12. When filtering by exact day of birth or event, avoid STRSTARTS on wdt:P569; instead bound an interval [day, next day) with xsd:dateTime to include all precisions. On QLever, add hint:Prior hint:rangeSafe true to improve performance on time ranges.

You can use the following SPARQL prefixes implicitly in all functions:
cc: <http://creativecommons.org/ns#
data: <https://www.wikidata.org/wiki/Special:EntityData/
dct: <http://purl.org/dc/terms/
geo: <http://www.opengis.net/ont/geosparql#
geof: <http://www.opengis.net/def/function/geosparql/
imdb: <https://www.imdb.com/
math: <http://www.w3.org/2005/xpath-functions/math#
ontolex: <http://www.w3.org/ns/lemon/ontolex#
owl: <http://www.w3.org/2002/07/owl#
p: <http://www.wikidata.org/prop/
pq: <http://www.wikidata.org/prop/qualifier/
pqn: <http://www.wikidata.org/prop/qualifier/value-normalized/
pqv: <http://www.wikidata.org/prop/qualifier/value/
pr: <http://www.wikidata.org/prop/reference/
prn: <http://www.wikidata.org/prop/reference/value-normalized/
prov: <http://www.w3.org/ns/prov#
prv: <http://www.wikidata.org/prop/reference/value/
ps: <http://www.wikidata.org/prop/statement/
psn: <http://www.wikidata.org/prop/statement/value-normalized/
psv: <http://www.wikidata.org/prop/statement/value/
qfn: <http://qlever.cs.uni-freiburg.de/function#
ql: <http://qlever.cs.uni-freiburg.de/builtin-functions/
qlss: <https://qlever.cs.uni-freiburg.de/spatialSearch/
rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: <http://www.w3.org/2000/01/rdf-schema#
ref: <http://www.wikidata.org/reference/
s: <http://www.wikidata.org/entity/statement/
schema: <http://schema.org/
skos: <http://www.w3.org/2004/02/skos/core#
v: <http://www.wikidata.org/value/
wd: <http://www.wikidata.org/entity/
wdno: <http://www.wikidata.org/prop/novalue/
wdt: <http://www.wikidata.org/prop/direct/
wdtn: <http://www.wikidata.org/prop/direct-normalized/
wikibase: <http://wikiba.se/ontology#
xsd: <http://www.w3.org/2001/XMLSchema#
foaf: <http://xmlns.com/foaf/0.1/
dc: <http://purl.org/dc/elements/1.1/
gn: <http://www.geonames.org/ontology#
bd: <http://www.bigdata.com/rdf#
hint: <http://www.bigdata.com/queryHints#
qb: <http://purl.org/linked-data/cube#
void: <http://rdfs.org/ns/void#

You should follow a step-by-step approach to generate the SPARQL query:
1. Determine possible entities and properties implied by the user question.
2. Search for the entities and properties in the knowledge graphs. Where applicable, constrain the searches with already identified entities and properties.
3. Gradually build up the SPARQL query using the identified entities and properties. Start with simple queries and add more complexity as needed. Execute intermediate queries to get feedback and to verify your assumptions. You may need to refine or rethink your current plan based on the query results and go back to step 2 if needed, possibly multiple times.
4. Use the answer or cancel function to finalize your answer and stop the generation process.

Additional rules:
1. Explain your thought process before and after each step and function call.
2. Do not just use or make up entity or property identifiers without verifying their existence in the knowledge graphs first.
3. Always execute your final SPARQL query before giving an answer to make sure it returns the expected results.
4. The SPARQL query should always return the actual identifiers / IRIs of the items in its result. It additionally may return labels or other human-readable information, but they are optional and should be put within optional clauses unless explicitly requested by the user.
5. Do not stop early if there are still obvious improvements to be made to the SPARQL query. For example, keep refining your SPARQL query if its result contains irrelevant items or is missing items you expected.
6. Do not perform additional computation (e.g. filtering, sorting, calculations) on the result of the SPARQL query to determine the answer. All computation should be done solely within SPARQL.
7. For questions with a "True" or "False" answer the SPARQL query should be an ASK query.
8. Do not use 'SERVICE wikibase:label { bd:serviceParam wikibase:language ...' in SPARQL queries. It is not SPARQL standard and unsupported by the used QLever SPARQL endpoints. Use rdfs:label or similar properties to get labels instead.

[User] Who are the distinct female individuals with a net worth of at least 1 billion United States dollars? Include their net worth amount, the unit of the net worth, the conversion rate to USD, and the net worth in USD, and order by the net worth in USD in descending order. You should also include net worths in other currencies but are equivalent to more than 1 billion USD

[Assistant]
Let's break down the question and plan the SPARQL query step by step:

1. **Identify female individuals**:
   - "Female" is gender (likely Q6581072).
   - "Individuals" means humans (Q5).

2. **Net worth**:
   - Property for net worth is likely P2218.
   - Net worth values may have qualifiers for currency (P38) and possibly for conversion rate (P2284).

3. **Net worth in USD**:
   - Need to include net worths in other currencies but convert to USD.
   - For each net worth statement, get:
     - Amount (main value)
     - Unit/currency (P38)
     - Conversion rate to USD (P2284, if available)
   - If currency is USD, conversion rate is 1.
   - If not, use the conversion rate qualifier if present.

4. **Filter for net worth >= 1 billion USD**:
   - For each net worth, calculate value_in_usd = amount * conversion_rate.
   - Filter for value_in_usd >= 1,000,000,000.

5. **Order by value_in_usd descending**.

6. **Return**:
   - Person IRI
   - Net worth amount
   - Currency/unit
   - Conversion rate to USD
   - Net worth in USD
   - (Optionally, labels for person and currency)

Let's verify the relevant entities and properties.

First, let's confirm:
- "female" gender QID
- "human" QID
- "net worth" property
- "currency" property
- "conversion rate to USD" property

I'll start by searching for "female" and "human" entities.

[Tool]
Top 10 entity alternatives:
1. female organism, also known as female animal, female creature, sex — female, ♀, female (wd:Q43445)
2. Female (wd:Q639354): 1933 Warner Bros. pre-code film, instance of film
3. female, also known as human female, female person, girls, girl, fem (wd:Q6581072): to be used in "sex or gender" (P21) to indicate that the human s...nder" (P10339) to indicate that a word refers to a female person, instance of sex of humans, instance of gender
4. Female, also known as Fîmeiru ,(Female) (wd:Q5442715): 2005 film directed by Shinya Tsukamoto, instance of film
5. The Female, also known as Female (wd:Q18708947): 1924 film by Sam Wood, instance of film
6. female connector, also known as female fastener, female contact, female (wd:Q11659367)
7. Female (wd:Q47128284): song by Keith Urban, instance of single, instance of song
8. Female (wd:Q5442717): 1933 novel by Donald Henderson Clarke, instance of literary work
9. Female (wd:Q63650079): theatrical character in the play "Yerma", instance of theatrical character
10. Female (wd:Q130232348)

[Tool]
Top 10 entity alternatives:
1. human, also known as nonfictional human, non-fictional human, modern humans, people, person (wd:Q5)
2. Homo sapiens, also known as humans, men, man, human beings, human being (wd:Q15978631): species of mammal, instance of taxon
3. Uman, also known as Humań (wd:Q208499): instance of city of regional significance of Ukraine, city in Cherkasy Oblast in central Ukraine
4. Human (wd:Q849189): 1991 album by Death, instance of album
5. Human (wd:Q919463): 2008 song by The Killers, instance of single, instance of song
6. Human Entertainment, also known as Human, Human Corporation (wd:Q2408214): Japanese video game developer and publisher, instance of video game developer
7. Human (wd:Q20629223): 2015 film by Yann Arthus-Bertrand, instance of film
8. Human (wd:Q27921626): 2016 song by Rag'n'Bone Man, instance of single, instance of song
9. Human (wd:Q735359): 2008 studio album by Brandy, instance of album
10. Human (wd:Q1145446): original song written and composed by Jimmy Jam and Terry Lewis; first recorded by The Human League, instance of musical work/composition

[Tool]
Top 10 property alternatives:
1. net worth, also known as wealth, estimated net worth, personal fortune, personal assets, net worth estimate (wd:P2218 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): totality of wealth possessed by a person
2. net profit, also known as bottom line, clear gain, clear profit, net earnings, net income (wd:P2295 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): private entity profit after accounting for all costs
3. estimated value, also known as traded value, valuation, traded cap, price estimation, market cap (estimated) (wd:P8340 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): estimated value of a house, company, patent, etc
4. total revenue, also known as gross revenue, turnover, sales, revenue, net sales (wd:P2139 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): income gained by an organization during a given time frame. Not to be confused with fiscal revenue
5. item of property constraint, also known as item qualifier, value, qid, property value, item of constraint (wd:P2305 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): qualifier to define a property constraint in combination with "property constraint" (P2302)
6. prize money, also known as money, purse, value (wd:P2121 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): amount in a specific currency
7. price, also known as MSRP, value, purchase price, published price, list price (wd:P2284 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): published price listed or paid for a product (use with unit of currency)
8. numeric value, also known as numerical value, value (wd:P1181 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): numerical value of a number, a mathematical constant, or a physical constant
9. total assets, also known as assets, balance sheet total (wd:P2403 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): value of assets held by a private or public entity
10. box office, also known as earnings (wd:P2142 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): box office takings accumulated by a film, subproperty of total revenue

[Tool]
Top 10 property alternatives:
1. Wikidata item of this property, also known as Wikidata property subject item, Wikidata item for this property, subject of this property, subject of property, subject item (wd:P1629 as wdt/p): item corresponding to the concept represented by the property
2. instance of, also known as example of, has type, is a, is an, is of type (wd:P31 as wdt/p): type to which this subject corresponds/belongs. Different from P...tains, and the volcano is a type (instance) of volcanic landform
3. stability of property value, also known as property stability, property value stability, property value variability, property variability, stability of property (wd:P2668 as wdt/p): likelihood that statements with this property will change
4. Wikidata property example, also known as example of property, Wikidata property sample, property sample, property example, for example (wd:P1855 as wdt/p): example where this Wikidata property is used; target item is one...ualifier the property being described given the associated value
5. property proposal discussion, also known as Wikidata property proposal, proposal URL, discussion URL, proposal, property discussion URL (wd:P3254 as wdt/p): URL of the page (or page section) on which the creation of the property was discussed, subproperty of Wikimedia community discussion URL
6. type of unit for this property (wd:P2876 as wdt/p): units for this property are all instances of this item
7. related property, also known as rdfs:seeAlso, related properties, see also, seealso (wd:P1659 as wdt/p): used to indicate another property that might provide additional information about the subject
8. equivalent property, also known as ontological equivalent, owl:equivalentProperty, schema.org property (wd:P1628 as wdt/p): equivalent property in other ontologies (use in statements on properties, use property URI), subproperty of exact match, subproperty of URL

No other items found

[Tool]
Top 10 property alternatives:
1. currency, also known as base currency, used money (wd:P38 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): currency used by item, subproperty of uses
2. ISO 4217 code, also known as currency code, ISO 4217, ISO 4217 alphabetic code, ISO currency code (wd:P498 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): identifier for a currency per ISO 4217
3. price, also known as MSRP, value, purchase price, published price, list price (wd:P2284 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): published price listed or paid for a product (use with unit of currency)
4. prize money, also known as money, purse, value (wd:P2121 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): amount in a specific currency
5. cash (wd:P2232 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): the value of cash and securities held by a state government
6. currency symbol description (wd:P489 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): item with description of currency symbol, subproperty of notation
7. nominal GDP, also known as GDP, GDP, nominal, gross domestic product, nominal GDP, nominal gross domestic product (wd:P2131 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): market value of all officially recognized final goods and services produced within a country in a given period of time
8. face value, also known as coin value, numeric value of coin, value of coin (wd:P3934 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): value printed on a coin, stamp or banknote by the issuing authority
9. quantity, also known as number of instances, total number, total, qty, occurrences (wd:P1114 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): number of instances of this subject in the universe of the subje...e actual number of instances in Wikidata may be lower or higher)
10. item of property constraint, also known as item qualifier, value, qid, property value, item of constraint (wd:P2305 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): qualifier to define a property constraint in combination with "property constraint" (P2302)

[Tool]
Top 10 property alternatives:
1. consumption rate, also known as rate of consumption, consumption (wd:P2292 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): rate at which a product is consumed
2. throughput, also known as capacity, rate (wd:P2957 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): volume of units that do or can pass through or be transported by the object
3. price, also known as MSRP, value, purchase price, published price, list price (wd:P2284 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): published price listed or paid for a product (use with unit of currency)
4. data transfer speed, also known as bitrate, transfer speed, transfer rate, throughput, data transfer rate (wd:P6711 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): transfer speed through a bus or a communication medium, subproperty of throughput
5. conversion to standard unit, also known as unit conversion (wd:P2442 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): translation of the value of a measurement to different units
6. total revenue, also known as gross revenue, turnover, sales, revenue, net sales (wd:P2139 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): income gained by an organization during a given time frame. Not to be confused with fiscal revenue
7. currency, also known as base currency, used money (wd:P38 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): currency used by item, subproperty of uses
8. VAT rate, also known as goods and services tax rate, GST, sales tax, taxation rate for sales, tax rate for sales (wd:P2855 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): percentage value-added tax in this country or region. Do not use for sales tax. For specialised rates, use qualifiers
9. source of income, also known as source of revenue, income source, revenue source (wd:P2770 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): source of income of an organization or person
10. interest rate (wd:P5899 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): the yearly interest rate

[Tool]
Got 1,872 rows and 3 columns, showing the first 10 rows below:
| subject                      | property            | object                                         |
| ---------------------------- | ------------------- | ---------------------------------------------- |
| Jesus (wd:Q302)              | net worth (p:P2218) | s:Q302-39bf27fa-48d1-dff4-efa2-88736825ec50    |
| Donald Trump (wd:Q22686)     | net worth (p:P2218) | s:Q22686-70b38d28-4298-0886-3bbf-5e7b19967368  |
| Vladimir Putin (wd:Q7747)    | net worth (p:P2218) | s:Q7747-9a4d91b6-4b6a-d244-dbea-345fe069580a   |
| Joe Biden (wd:Q6279)         | net worth (p:P2218) | s:Q6279-75a5db1d-4d07-c42a-852c-ca321aa40867   |
| Bill Gates (wd:Q5284)        | net worth (p:P2218) | s:Q5284-1ab6a04d-478b-7ec5-17b0-ec4f4678ff75   |
| Margaret Thatcher (wd:Q7416) | net worth (p:P2218) | s:Q7416-6ce268d6-4fff-829c-047c-7c152c24f76f   |
| J. R. R. Tolkien (wd:Q892)   | net worth (p:P2218) | s:Q892-a04fbc17-4128-6b72-778d-c81489ae1e9f    |
| Madonna (wd:Q1744)           | net worth (p:P2218) | s:Q1744-8d081f21-4a32-deda-5c45-008e9cd56a44   |
| Elon Musk (wd:Q317521)       | net worth (p:P2218) | s:Q317521-0011c73d-4c99-0479-a292-6dc26999cb73 |
| Beyoncé (wd:Q36153)          | net worth (p:P2218) | s:Q36153-46add9d0-4f5d-47f5-ebcc-2d716d893f11  |
| ...                          | ...                 | ...                                            |

[Tool]
Got 8 rows and 3 columns:
| subject                                      | property                 | object                                       |
| -------------------------------------------- | ------------------------ | -------------------------------------------- |
| s:Q5284-1ab6a04d-478b-7ec5-17b0-ec4f4678ff75 | point in time (pq:P585)  | 2017-07-27T00:00:00Z (xsd:dateTime)          |
| s:Q5284-1ab6a04d-478b-7ec5-17b0-ec4f4678ff75 | net worth (ps:P2218)     | 89800000000 (xsd:decimal)                    |
| s:Q5284-1ab6a04d-478b-7ec5-17b0-ec4f4678ff75 | wikibase:rank            | wikibase:PreferredRank                       |
| s:Q5284-1ab6a04d-478b-7ec5-17b0-ec4f4678ff75 | rdf:type                 | wikibase:BestRank                            |
| s:Q5284-1ab6a04d-478b-7ec5-17b0-ec4f4678ff75 | prov:wasDerivedFrom      | ref:e8878db3cc6ae802d05d9fbe02ce0117e6a06799 |
| s:Q5284-1ab6a04d-478b-7ec5-17b0-ec4f4678ff75 | point in time (pqv:P585) | v:ef080627e3885c6bfae7654b423117b7           |
| s:Q5284-1ab6a04d-478b-7ec5-17b0-ec4f4678ff75 | net worth (psv:P2218)    | v:cb52e362c1d577c2eaadb13107822f8b           |
| s:Q5284-1ab6a04d-478b-7ec5-17b0-ec4f4678ff75 | rdf:type                 | wikibase:Statement                           |

[Tool]
Got 3 rows and 3 columns:
| subject                            | property                | object                          |
| ---------------------------------- | ----------------------- | ------------------------------- |
| v:cb52e362c1d577c2eaadb13107822f8b | wikibase:quantityUnit   | United States dollar (wd:Q4917) |
| v:cb52e362c1d577c2eaadb13107822f8b | wikibase:quantityAmount | 89800000000 (xsd:decimal)       |
| v:cb52e362c1d577c2eaadb13107822f8b | rdf:type                | wikibase:QuantityValue          |

[Tool]
Got 220 rows and 3 columns, showing the first 10 rows below:
| subject                                           | property          | object                          |
| ------------------------------------------------- | ----------------- | ------------------------------- |
| s:P38-26892ac4-46dd-e7b9-95b9-e6df42185227        | currency (pq:P38) | euro (wd:Q4916)                 |
| s:Q10524043-8b283997-49e3-4985-a2bf-359b47428bd3  | currency (pq:P38) | United States dollar (wd:Q4917) |
| s:P38-d786540c-4a07-7a89-4902-0c9266d29db1        | currency (pq:P38) | yen (wd:Q8146)                  |
| s:Q131376528-b19e23ea-4a13-4a72-4183-009bb0d51447 | currency (pq:P38) | pound sterling (wd:Q25224)      |
| s:P38-1e4fc663-458e-a6d4-bf8b-7d9fa904da47        | currency (pq:P38) | renminbi (wd:Q39099)            |
| s:Q226889-6c8ed2e1-4f43-dd3a-712b-bc2f93bcedb9    | currency (pq:P38) | Russian ruble (wd:Q41044)       |
| s:P38-86a67b8d-4c9a-cb2b-45f2-71e187ec0ebc        | currency (pq:P38) | Swiss franc (wd:Q25344)         |
| s:Q66439260-5fafb961-4547-3da8-5188-a428d8e24253  | currency (pq:P38) | Indian rupee (wd:Q80524)        |
| s:Q27826630-1c84b9ef-444c-5a63-e428-b5629de7d3e2  | currency (pq:P38) | Australian dollar (wd:Q259502)  |
| s:Q111415934-aa1d3405-4901-2829-1691-d3a2af3f325d | currency (pq:P38) | Turkish lira (wd:Q172872)       |
| ...                                               | ...               | ...                             |

[Tool]
Top 10 property alternatives:
1. sex or gender, also known as biological sex, gender, gender expression, gender identity, gender or sex (wd:P21 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): sex or gender identity of human or animal. For human: male, fema...m, female organism. Groups of same gender use subclass of (P279)
2. grammatical gender, also known as gender (wd:P5185 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): grammatical gender of the word
3. requires grammatical feature, also known as grammatical feature required, required grammatical feature, requires case, requires mood, uses case (wd:P5713 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): grammatical features required or generally used with lexeme or form of lexeme
4. has grammatical gender, also known as grammatical genders, has genders (wd:P5109 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): specific form of noun class system of a language. Use qualifier ... subject of" (P805) to link to language specific item if present
5. personal pronoun, also known as gender pronoun, personal gender pronoun, personal pronouns, PGP, PGPs (wd:P6553 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): personal pronoun(s) this person goes by
6. semantic gender, also known as natural gender (wd:P10339 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): used when a word is only used to refer to people of this gender or to animals of this sex, independent of the grammatical gender
7. sexual orientation, also known as sexuality (wd:P91 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): the sexual orientation of the person relative to their declared ...r it has been widely agreed upon by historians after their death
8. female form of label, also known as female form of label (string), female gender sense, feminine form of label (wd:P2521 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): female form of name or title (for male use P3321)
9. male form of label, also known as male form of label (string), male gender sense, masculine form of label (wd:P3321 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): male form of name or title (for female use P2521)
10. given name version for other gender, also known as female form of name, female version of this male given name, gender inflection of given name, male form of name, male version of this female given name (wd:P1560 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): equivalent name (with respect to the meaning of the name) in the...n of a female first name. Add primarily the closest matching one

[Tool]
Top 10 property alternatives:
1. statistical unit used, also known as describe items of type, statistical designation, unit (wd:P2353 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): base item of this database or statistical set, subproperty of has part(s) of the class
2. room number, also known as apartment, room identifier, suite, unit (wd:P7532 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): number or identifier of a room, which can qualify the address (P6375) of a place to complete it
3. recommended unit of measurement, also known as unit of measurement, unit, measured in, standard unit of measurement (wd:P8111 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): unit in which a quantity is measured as recommended by a standard (SI, ISO, IEC, etc.)
4. military unit, also known as member of military unit, unit (wd:P7779 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): smallest military unit that a person is/was in, subproperty of member of
5. series ordinal, also known as unit number, sort order, sorting order, ordinal, series number (wd:P1545 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): position of an item in its parent series (most frequently a 1-ba...d from "ranking" defined as a property for evaluating a quality)
6. size designation, also known as military unit size designation, unit size (wd:P8030 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): organizational size classification or designation used to indica...of an entity within an organization (property under development)
7. capital cost, also known as budget, cost, unit cost (wd:P2130 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): amount of money spent on building or producing an object
8. military branch, also known as branch, unit branch, service branch, formation (wd:P241 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): branch to which this military unit, award, office, or person belongs, e.g. Royal Navy, subproperty of part of
9. Integrated Postsecondary Education Data System ID, also known as Integrated Postsecondary Education Data System identifier, IPEDS ID, Unit ID, UnitID (wd:P1771 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): identifier for colleges and universities in the United States
10. item of property constraint, also known as item qualifier, value, qid, property value, item of constraint (wd:P2305 as pqv/prv/psn/pqn/wdt/pr/p/psv/wdtn/prn/ps/pq): qualifier to define a property constraint in combination with "property constraint" (P2302)

[Tool]
Top 10 entity alternatives:
1. United States dollar, also known as USD, US $, USA dollars, USA dollar, US$ (wd:Q4917): official currency of the United States, instance of reserve currency, instance of currency, instance of dollar
2. international United States dollar, also known as Intl. dollar, Int'l. dollar, Intl$., Int'l$., Geary–Khamis dollar (wd:Q550207)
3. half dollar, also known as United States half dollar, United States half-dollar coin, U.S. half dollar, U.S. half-dollar coin, United States 50-cent coin (wd:Q201833)
4. dollar coin, also known as US silver dollar, US dollar coin, U.S. dollar coin, silver dollar, United States dollar coin (wd:Q1186710)
5. history of the United States dollar, also known as United States dollar history, USD history, the United States dollar history, history of the US dollar, history of the U.S. dollar (wd:Q12808238): instance of aspect of history, aspect of history
6. 1 United States dollar, also known as $1, one United States dollar (wd:Q4029724)
7. Stella, also known as United States four dollar coin (wd:Q747536)
8. United States five hundred-dollar bill, also known as $500, U.S. five hundred-dollar bill, U.S. $500 dollar bill, United States five hundred-dollar banknote, United States $500 dollar bill (wd:Q22249708)
9. US Dollar (Next day), also known as USN, US Dollar [Next day], U.S. Dollar (Next day), United States dollar (Next day) (wd:Q114778501): Distinct currency with ISO 4217 code "USN", defined for trade purposes, instance of currency, instance of dollar
10. current United States dollar per gallon, also known as dollar per gallon, United States dollar per gallon (wd:Q64725760): repesenting the value of something per gallon in current United States dollars, instance of unit of measurement

[Tool]
Got 1,539 rows and 3 columns, showing the first 10 rows below:
| subject                                           | property         | object                |
| ------------------------------------------------- | ---------------- | --------------------- |
| s:P2284-0bb19643-4e60-43c4-f57f-49367cbea1c8      | price (pq:P2284) | 0.98 (xsd:decimal)    |
| s:P2284-3885dead-40be-245f-9e17-41e38d08db90      | price (pq:P2284) | 1.08 (xsd:decimal)    |
| s:P2284-7631a3f7-4089-71f2-1c41-f0f71a2f5786      | price (pq:P2284) | 1.18 (xsd:decimal)    |
| s:P2284-80583965-43c0-df4d-b62c-374ffbfacd38      | price (pq:P2284) | 0 (xsd:decimal)       |
| s:Q1000128-b34ad4e8-401a-06f6-2e8c-cecfb30805f0   | price (pq:P2284) | 735500 (xsd:decimal)  |
| s:Q100279809-d25849a4-4ef5-eab4-4c44-79b2b64cb63f | price (pq:P2284) | 36 (xsd:decimal)      |
| s:Q100432952-d8fa709e-48cc-07ff-03a9-86d320e81979 | price (pq:P2284) | 475000 (xsd:decimal)  |
| s:Q100956608-048e28dd-4267-7b44-bb31-092759cd4c23 | price (pq:P2284) | 829840 (xsd:decimal)  |
| s:Q102111366-103810c9-4681-054c-1cdf-7f96a865e637 | price (pq:P2284) | 6290000 (xsd:decimal) |
| s:Q102111366-1b476c8d-4513-d2d0-0ddc-d23123423927 | price (pq:P2284) | 6101000 (xsd:decimal) |
| ...                                               | ...              | ...                   |

[Tool]
Got 86 rows and 5 columns, showing the first 5 and last 5 rows below:
| person                                         | networth                  | unit | conversion | networth_usd              |
| ---------------------------------------------- | ------------------------- | ---- | ---------- | ------------------------- |
| Françoise Bettencourt Meyers (wd:Q516720)      | 74800000000 (xsd:decimal) |      |            | 74800000000 (xsd:decimal) |
| MacKenzie Scott (wd:Q10322797)                 | 59400000000 (xsd:decimal) |      |            | 59400000000 (xsd:decimal) |
| Françoise Bettencourt Meyers (wd:Q516720)      | 54100000000 (xsd:decimal) |      |            | 54100000000 (xsd:decimal) |
| Françoise Bettencourt Meyers (wd:Q516720)      | 49300000000 (xsd:decimal) |      |            | 49300000000 (xsd:decimal) |
| Alice Walton (wd:Q289571)                      | 44400000000 (xsd:decimal) |      |            | 44400000000 (xsd:decimal) |
| ...                                            | ...                       | ...  | ...        | ...                       |
| Marie-Christine Coisne-Roquette (wd:Q29642685) | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |
| Ingrid Wu (wd:Q51882497)                       | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |
| Helen DeVos (wd:Q42296482)                     | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |
| Peggy Cherng (wd:Q52581231)                    | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |
| Norma Lerner (wd:Q29636069)                    | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |

[Tool]
Got 86 rows and 5 columns, showing the first 5 and last 5 rows below:
| person                                         | networth                  | unit | conversion | networth_usd              |
| ---------------------------------------------- | ------------------------- | ---- | ---------- | ------------------------- |
| Françoise Bettencourt Meyers (wd:Q516720)      | 74800000000 (xsd:decimal) |      |            | 74800000000 (xsd:decimal) |
| MacKenzie Scott (wd:Q10322797)                 | 59400000000 (xsd:decimal) |      |            | 59400000000 (xsd:decimal) |
| Françoise Bettencourt Meyers (wd:Q516720)      | 54100000000 (xsd:decimal) |      |            | 54100000000 (xsd:decimal) |
| Françoise Bettencourt Meyers (wd:Q516720)      | 49300000000 (xsd:decimal) |      |            | 49300000000 (xsd:decimal) |
| Alice Walton (wd:Q289571)                      | 44400000000 (xsd:decimal) |      |            | 44400000000 (xsd:decimal) |
| ...                                            | ...                       | ...  | ...        | ...                       |
| Marie-Christine Coisne-Roquette (wd:Q29642685) | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |
| Ingrid Wu (wd:Q51882497)                       | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |
| Helen DeVos (wd:Q42296482)                     | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |
| Peggy Cherng (wd:Q52581231)                    | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |
| Norma Lerner (wd:Q29636069)                    | 1000000000 (xsd:decimal)  |      |            | 1000000000 (xsd:decimal)  |

[Tool] Stopped generation process