PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?personLabel ?youtubeID ?followers WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P106 wd:Q17125263 .
  ?person wdt:P106 wd:Q15143191 .
  FILTER NOT EXISTS {
    ?person wdt:P18 ?img .
  }
  OPTIONAL {
    ?person wdt:P2397 ?youtubeID .
  }
  OPTIONAL {
    ?person wdt:P8687 ?followers .
  }
  OPTIONAL {
    ?person rdfs:label ?personLabel .
    FILTER ( LANG( ?personLabel ) = "en" )
  }
}
ORDER BY DESC ( COALESCE ( ?followers , 0 ) )
LIMIT 100

Using entities:
- science communicator (wd:Q15143191), also known as populariser of science, popularizer of science, SciComm'er, science popularizer, scientific popularizer: is instance of occupation / is instance of profession / is subclass of communicator / person who explains science to non-experts and the public
- YouTuber (wd:Q17125263), also known as Tuber, YouTube celebrity, YouTube content creator, YouTube personality, YouTube Star, etc.: is instance of occupation / is subclass of content creator / is subclass of digital creator / is subclass of poster / is subclass of web video producer / is subclass of vlogger / person that produces videos on YouTube / person that produces videos on YouTube / person that produces videos on YouTube
- human (wd:Q5), also known as human being, humans, individual Homo sapiens, individual human, modern humans, etc.: is instance of class of organisms known by one particular common name / is instance of organisms known by a particular common name / is subclass of mammal / is subclass of natural person / is subclass of omnivore / is subclass of person / is subclass of individual animal / any member of Homo sapiens, unique extant species of the genus Homo / common name of Homo sapiens, unique extant species of the genus Homo / common name of Homo sapiens, unique extant species of the genus Homo / common name of Homo sapiens, unique extant species of the genus Homo, from embryo to adult

Using properties:
- occupation (wd:P106 as wdt), also known as avocation, career, craft, employ, employment, etc.: occupation of a person; see also "field of work" (Property:P101), "position held" (Property:P39) / occupation of a person; see also "field of work" (Property:P101), "position held" (Property:P39) / occupation of a person; see also "field of work" (Property:P101), "position held" (Property:P39)
- image (wd:P18 as wdt), also known as camera picture, Commons image, drawing, File:, graph, etc.: image of relevant illustration of the subject; if available, ... map, flag image, signature image, logo image, collage image) / image of relevant illustration of the subject; if available, ... map, flag image, signature image, logo image, collage image) / image of relevant illustration of the subject; if available, ... only images which exist on Wikimedia Commons are acceptable / image of relevant illustration of the subject; if available, ... only images which exist on Wikimedia Commons are acceptable
- YouTube channel ID (wd:P2397 as wdt), also known as channel id, externalId (YouTube), https://www.youtube.com/channel/, official YouTube channel, Social Blade channel, etc.: is subproperty of website username or ID / ID of the YouTube channel of a person or organisation (not to ... channel) The ID can also be used for music.youtube.com IDs
- instance of (wd:P31 as wdt), also known as example of, has type, is a, is an, is of type, etc.: that class of which this subject is a particular example and ... a subclass of mountain (and an instance of volcanic landform) / type to which this subject corresponds/belongs. Different ... and the volcano is a type (instance) of volcanic landform
- social media followers (wd:P8687 as wdt), also known as follow count, follower count, follower number, followers, follow number, etc.: number of subscribers on a particular social media website ... time" and property for account. For Twitter, use numeric id.

Got 15 rows and 4 columns, showing the first 5 and last 5 rows below:
| person                                   | personLabel                        | youtubeID                | followers             |
| ---------------------------------------- | ---------------------------------- | ------------------------ | --------------------- |
| Henrique Abrahão Charles (wd:Q104882878) | Henrique Abrahão Charles (lang:en) | UCxSbDOAmDA9xSDd3Numjsmg | 2100000 (xsd:decimal) |
| Stefano Vendrame (wd:Q123058549)         | Stefano Vendrame (lang:en)         | UCuCdPgseAOAS_ZWgUeIlFNg | 221000 (xsd:decimal)  |
| Willy Guasti (wd:Q119828705)             | Willy Guasti (lang:en)             | UCyD1TlHPTq-H9dvQC3tr0zw | 137000 (xsd:decimal)  |
| Samuel Buisseret (wd:Q124427586)         | Samuel Buisseret (lang:en)         | UCh2YBKhYIy-_LtfCIn2Jycg | 131000 (xsd:decimal)  |
| Valentine Delattre (wd:Q118744878)       | Valentine Delattre (lang:en)       | UCE_LWXcsdp7cWbo4DR4ZA-A | 106000 (xsd:decimal)  |
| ...                                      | ...                                | ...                      | ...                   |
| Andrea Moccia (wd:Q106041589)            | Andrea Moccia (lang:en)            |                          |                       |
| Valeria Corrales (wd:Q120868994)         | Valeria Corrales (lang:en)         |                          |                       |
| Begoña Gerpe (wd:Q131525183)             | Begoña Gerpe (lang:en)             | UC1KFgMi-KVzNKnvYIkFxqCg |                       |
| Anton Petrov (wd:Q133765022)             | Anton Petrov (lang:en)             |                          |                       |
| Mario Peláez-Fernández (wd:Q65073470)    | Mario Peláez-Fernández (lang:en)   | UCipVtSaV6OOKk8VTMcHt71Q |                       |

Answer:
I ran the query and found 15 Wikidata items for humans who have both the occupations YouTuber (wd:Q17125263) and science communicator (wd:Q15143191) and do not have an image (no P18). The query returns the Wikidata item IRI, the English label (when available), the YouTube channel ID (P2397) if present, and the social media follower count (P8687) if present; results are ordered by follower count descending.

Top results with follower counts (ordered by followers descending):
- Henrique Abrahão Charles (wd:Q104882878) — YouTube channel ID: UCxSbDOAmDA9xSDd3Numjsmg — followers: 2100000
- Stefano Vendrame (wd:Q123058549) — YouTube channel ID: UCuCdPgseAOAS_ZWgUeIlFNg — followers: 221000
- Willy Guasti (wd:Q119828705) — YouTube channel ID: UCyD1TlHPTq-H9dvQC3tr0zw — followers: 137000
- Samuel Buisseret (wd:Q124427586) — YouTube channel ID: UCh2YBKhYIy-_LtfCIn2Jycg — followers: 131000
- Valentine Delattre (wd:Q118744878) — YouTube channel ID: UCE_LWXcsdp7cWbo4DR4ZA-A — followers: 106000

Other matching items (no follower count recorded in P8687 in Wikidata for these items, or follower value absent in the result):
- Andrea Moccia (wd:Q106041589)
- Valeria Corrales (wd:Q120868994)
- Begoña Gerpe (wd:Q131525183) — YouTube channel ID: UC1KFgMi-KVzNKnvYIkFxqCg
- Anton Petrov (wd:Q133765022)
- Mario Peláez-Fernández (wd:Q65073470) — YouTube channel ID: UCipVtSaV6OOKk8VTMcHt71Q

Notes and next steps:
- The query returns 15 matching Wikidata items in total. The SPARQL used is included above.
- If you want the complete tabular results (all 15 rows) exported as CSV, JSON, or pasted here in full, I can produce that for you. If you prefer I can also expand the query to include additional identifiers or properties (e.g., Twitter handle, Facebook ID) and fetch their follower counts where available.

I ran the query and found 15 Wikidata items for humans who have both the occupations YouTuber (wd:Q17125263) and science communicator (wd:Q15143191) and do not have an image (no P18). The query returns the Wikidata item IRI, the English label (when available), the YouTube channel ID (P2397) if present, and the social media follower count (P8687) if present; results are ordered by follower count descending.

Top results with follower counts (ordered by followers descending):
- Henrique Abrahão Charles (wd:Q104882878) — YouTube channel ID: UCxSbDOAmDA9xSDd3Numjsmg — followers: 2100000
- Stefano Vendrame (wd:Q123058549) — YouTube channel ID: UCuCdPgseAOAS_ZWgUeIlFNg — followers: 221000
- Willy Guasti (wd:Q119828705) — YouTube channel ID: UCyD1TlHPTq-H9dvQC3tr0zw — followers: 137000
- Samuel Buisseret (wd:Q124427586) — YouTube channel ID: UCh2YBKhYIy-_LtfCIn2Jycg — followers: 131000
- Valentine Delattre (wd:Q118744878) — YouTube channel ID: UCE_LWXcsdp7cWbo4DR4ZA-A — followers: 106000

Other matching items (no follower count recorded in P8687 in Wikidata for these items, or follower value absent in the result):
- Andrea Moccia (wd:Q106041589)
- Valeria Corrales (wd:Q120868994)
- Begoña Gerpe (wd:Q131525183) — YouTube channel ID: UC1KFgMi-KVzNKnvYIkFxqCg
- Anton Petrov (wd:Q133765022)
- Mario Peláez-Fernández (wd:Q65073470) — YouTube channel ID: UCipVtSaV6OOKk8VTMcHt71Q

Notes and next steps:
- The query returns 15 matching Wikidata items in total. The SPARQL used is included above.
- If you want the complete tabular results (all 15 rows) exported as CSV, JSON, or pasted here in full, I can produce that for you. If you prefer I can also expand the query to include additional identifiers or properties (e.g., Twitter handle, Facebook ID) and fetch their follower counts where available.

SPARQL query over wikidata:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?personLabel ?youtubeID ?followers WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P106 wd:Q17125263 .
  ?person wdt:P106 wd:Q15143191 .
  FILTER NOT EXISTS {
    ?person wdt:P18 ?img .
  }
  OPTIONAL {
    ?person wdt:P2397 ?youtubeID .
  }
  OPTIONAL {
    ?person wdt:P8687 ?followers .
  }
  OPTIONAL {
    ?person rdfs:label ?personLabel .
    FILTER ( LANG( ?personLabel ) = "en" )
  }
}
ORDER BY DESC ( COALESCE ( ?followers , 0 ) )
LIMIT 100

Using entities:
- science communicator (wd:Q15143191), also known as populariser of science, popularizer of science, SciComm'er, science popularizer, scientific popularizer: is instance of occupation / is instance of profession / is subclass of communicator / person who explains science to non-experts and the public
- YouTuber (wd:Q17125263), also known as Tuber, YouTube celebrity, YouTube content creator, YouTube personality, YouTube Star, etc.: is instance of occupation / is subclass of content creator / is subclass of digital creator / is subclass of poster / is subclass of web video producer / is subclass of vlogger / person that produces videos on YouTube / person that produces videos on YouTube / person that produces videos on YouTube
- human (wd:Q5), also known as human being, humans, individual Homo sapiens, individual human, modern humans, etc.: is instance of class of organisms known by one particular common name / is instance of organisms known by a particular common name / is subclass of mammal / is subclass of natural person / is subclass of omnivore / is subclass of person / is subclass of individual animal / any member of Homo sapiens, unique extant species of the genus Homo / common name of Homo sapiens, unique extant species of the genus Homo / common name of Homo sapiens, unique extant species of the genus Homo / common name of Homo sapiens, unique extant species of the genus Homo, from embryo to adult

Using properties:
- occupation (wd:P106 as wdt), also known as avocation, career, craft, employ, employment, etc.: occupation of a person; see also "field of work" (Property:P101), "position held" (Property:P39) / occupation of a person; see also "field of work" (Property:P101), "position held" (Property:P39) / occupation of a person; see also "field of work" (Property:P101), "position held" (Property:P39)
- image (wd:P18 as wdt), also known as camera picture, Commons image, drawing, File:, graph, etc.: image of relevant illustration of the subject; if available, ... map, flag image, signature image, logo image, collage image) / image of relevant illustration of the subject; if available, ... map, flag image, signature image, logo image, collage image) / image of relevant illustration of the subject; if available, ... only images which exist on Wikimedia Commons are acceptable / image of relevant illustration of the subject; if available, ... only images which exist on Wikimedia Commons are acceptable
- YouTube channel ID (wd:P2397 as wdt), also known as channel id, externalId (YouTube), https://www.youtube.com/channel/, official YouTube channel, Social Blade channel, etc.: is subproperty of website username or ID / ID of the YouTube channel of a person or organisation (not to ... channel) The ID can also be used for music.youtube.com IDs
- instance of (wd:P31 as wdt), also known as example of, has type, is a, is an, is of type, etc.: that class of which this subject is a particular example and ... a subclass of mountain (and an instance of volcanic landform) / type to which this subject corresponds/belongs. Different ... and the volcano is a type (instance) of volcanic landform
- social media followers (wd:P8687 as wdt), also known as follow count, follower count, follower number, followers, follow number, etc.: number of subscribers on a particular social media website ... time" and property for account. For Twitter, use numeric id.

Execution result:
Got 15 rows and 4 columns, showing the first 5 and last 5 rows below:
| person                                   | personLabel                        | youtubeID                | followers             |
| ---------------------------------------- | ---------------------------------- | ------------------------ | --------------------- |
| Henrique Abrahão Charles (wd:Q104882878) | Henrique Abrahão Charles (lang:en) | UCxSbDOAmDA9xSDd3Numjsmg | 2100000 (xsd:decimal) |
| Stefano Vendrame (wd:Q123058549)         | Stefano Vendrame (lang:en)         | UCuCdPgseAOAS_ZWgUeIlFNg | 221000 (xsd:decimal)  |
| Willy Guasti (wd:Q119828705)             | Willy Guasti (lang:en)             | UCyD1TlHPTq-H9dvQC3tr0zw | 137000 (xsd:decimal)  |
| Samuel Buisseret (wd:Q124427586)         | Samuel Buisseret (lang:en)         | UCh2YBKhYIy-_LtfCIn2Jycg | 131000 (xsd:decimal)  |
| Valentine Delattre (wd:Q118744878)       | Valentine Delattre (lang:en)       | UCE_LWXcsdp7cWbo4DR4ZA-A | 106000 (xsd:decimal)  |
| ...                                      | ...                                | ...                      | ...                   |
| Andrea Moccia (wd:Q106041589)            | Andrea Moccia (lang:en)            |                          |                       |
| Valeria Corrales (wd:Q120868994)         | Valeria Corrales (lang:en)         |                          |                       |
| Begoña Gerpe (wd:Q131525183)             | Begoña Gerpe (lang:en)             | UC1KFgMi-KVzNKnvYIkFxqCg |                       |
| Anton Petrov (wd:Q133765022)             | Anton Petrov (lang:en)             |                          |                       |
| Mario Peláez-Fernández (wd:Q65073470)    | Mario Peláez-Fernández (lang:en)   | UCipVtSaV6OOKk8VTMcHt71Q |                       |

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

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.

Available knowledge graphs:
- wikidata at http://localhost:7001 with prefix index for entities and similarity index for properties, and notes:
  - P106 = occupation. Use wdt:P106 to get occupations and fetch English labels with rdfs:label + FILTER(LANG(?label)="en"). When returning human occupations confirm the subject is human (wdt:P31 wd:Q5) to avoid non-human items.
  - Population (P1082) and tabular (P4179): use wdt:P1082 for quick/direct values; for time-series/point-in-time use p:P1082 + ps:P1082 + pq:P585 and ORDER BY pq:P585 DESC. Inspect statement qualifiers (e.g., 'applies to part') and prov:wasDerivedFrom references (pr:P854 etc.) to detect city-proper vs metro/prefecture scopes before using values.
  - Common person properties: P31 (instance of human Q5), P106 (occupation), P569 (date of birth), P19 (place of birth), P27 (country of citizenship), P21 (sex/gender), P166 (award received). Use wdt: for direct values when possible.
  - P17 (country) can be incomplete/misleading for places (historical/overseas tags). To get modern cities in a country combine: instance-of city (P31=Q515) + wdt:P17 OR use wdt:P131* to find an admin parent whose wdt:P17 = the country. Also cross-check coordinates (P625) or admin hierarchy to spot outliers.
  - When filtering by date of birth (P569) use xsd:dateTime comparisons (e.g. >= "1900-01-01T00:00:00Z"^^xsd:dateTime). Be aware many items have year-only or imprecise dates and coverage is biased toward notable/public figures (sportspeople, politicians, artists).
  - To retrieve qualifiers (e.g., award year) use the statement/qualifier pattern: p:Pxxx / ps:Pxxx / pq:P585. Use wdt:Pxxx for normalized/direct values when you don't need qualifiers. Example: p:P166 + pq:P585 gives award year.
  - To get a person's occupations: use wdt:P106 for direct/normalized values and rdfs:label for human-readable names (FILTER(LANG(...))). Example: wd:Q... wdt:P106 ?occ . ?occ rdfs:label ?occLabel . FILTER(LANG(?occLabel)="en").
  - P166 = award received. Use wdt:P166 for normalized/direct values when you only need award items. To get award years or qualifiers use p:P166 / ps:P166 / pq:P585. Many statements lack pq:P585 — use OPTIONAL { ?stmt pq:P585 ?date } and ORDER BY DESC(?date). When listing award winners, filter ?person wdt:P31 wd:Q5 to ensure humans.
  - Population time-series pattern: wd:Q... p:P1082 ?stmt . ?stmt ps:P1082 ?pop . OPTIONAL { ?stmt pq:P585 ?date } . ORDER BY DESC(?date). pq:P585 is the point-in-time qualifier. IMPORTANT: time-series may mix scopes (city proper vs metro) — e.g., Tokyo has a 2016 entry ~38,140,000 likely metro vs smaller city figures. Inspect qualifiers/references for scope before use.
  - Use wdt:P131* to traverse the admin hierarchy and compare wdt:P17 on the place vs an admin parent to detect historical/colonial country assignments. When mismatches appear, inspect the admin parent's instance-of (P31), labels, qualifiers and references to interpret the historical scope.
  - wdt:P106 often yields multiple occupations for a person. Use GROUP_CONCAT(DISTINCT ?occLabel; separator=", ") or return multiple rows. Always fetch labels with rdfs:label + FILTER(LANG(?label)="en") to get readable occupation names.
  - When a search_entity returns multiple hits (person vs sculpture vs memorial), confirm you selected the human/statements by checking wdt:P31 (instance of) and relevant wdt: properties (e.g., wdt:P106). This avoids using a non-human QID by mistake.
  - search_autocomplete can be constrained with a SPARQL pattern containing ?search (e.g., SELECT * WHERE { ?search wdt:P31 wd:Q5 }). Use constraints to focus results (e.g., humans) and avoid ambiguous fallbacks; if it returns no results, fallback to search_entity and verify wdt:P31.
  - Use search_property_of_entity to find relevant properties for an entity (e.g., 'award' -> P166) and search_object_of_property to discover candidate objects (e.g., 'physicist' for P106). This reduces guessing P/Q ids and surfaces qualifiers.
  - Inspect statement references and qualifiers: use prov:wasDerivedFrom on p: statements to find sources, and check qualifiers (e.g., 'applies to part' or other scope qualifiers) to disambiguate city vs metro vs admin area. Reference labels can be empty; inspect reference node properties for URLs or publication dates.

Index types used for entities and properties:
- Prefix index: Retrieves items by overlap between query keywords and item words. The query keywords can match item words exactly or as prefixes.
- Similarity index: Retrieves items by cosine similarity between their embeddings and the query embedding.

General notes across knowledge graphs:
- Use rdfs:label + FILTER(LANG(?label)="en") for labels; avoid SERVICE wikibase:label. Use wdt:Pxxx for normalized/direct values when qualifiers aren't needed. Use p:Pxxx / ps:Pxxx / pq:Pxxx to access statement qualifiers (e.g., award year via pq:P585). When dates matter, prefer xsd:dateTime and watch for year-only precision.
- Practical query patterns: use rdfs:label + FILTER(LANG(...)) for labels. Use wdt:Pxxx for direct/normalized values when qualifiers aren't needed. Use p:Pxxx / ps:Pxxx / pq:Pxxx to access qualifiers (dates via pq:P585). For dates use xsd:dateTime and expect year-only precision. For places: combine P17 with P131 or coordinate (P625) filters to avoid historical/overseas mismatches.
- Use OPTIONAL for pq: qualifiers (e.g., pq:P585), sort by qualifier (ORDER BY pq:P585 DESC) to prefer recent values. Use GROUP_CONCAT to combine multiple labels/values in one row. Watch for typed literals (xsd:dateTime, xsd:decimal) when filtering or sorting.
- Before querying, use search_entity to resolve human-friendly names to wd:Q identifiers and verify instance-of (e.g., check wdt:P31 = wd:Q5 for humans) to avoid ambiguous matches. Prefer the top match but programmatically confirm P31 before using its data.
- Use search_property to confirm property identifiers (e.g., "country" -> P17) before embedding them in queries. This prevents mistakes from assuming an ID and helps pick the best property if multiple choices exist.
- search_autocomplete can fall back to an unconstrained search or error when there are too many candidates. If this happens (e.g., "more than the maximum supported number of subject candidates"), retry with narrower constraints such as instance-of (wdt:P31), additional type filters, or short prefixes to reduce the candidate set; otherwise fallback to search_entity and verify wdt:P31.
- Use list(...) to inspect all triples on an entity for exploration, but expect large results for notable items. Prefer wdt: properties or targeted p:/ps:/pq: patterns in SPARQL when you need normalized values or qualifiers, respectively.
- Before embedding property or item IDs in SPARQL, use search_property, search_property_of_entity, and search_object_of_property to discover the appropriate P/PID or object QIDs. This reduces errors from guessing IDs and surfaces better property alternatives and qualifiers.
- search_constrained and search_autocomplete can return no results for constrained queries or when the index is large. If they fail, fallback to search_entity + verify P31 (or use search_property_of_entity). Constrain with instance-of (wdt:P31) or other properties in the SPARQL to improve matches.
- When selecting awards by year, prefer xsd:dateTime range filters (e.g., >= "2001-01-01T00:00:00Z"^^xsd:dateTime && < "2002-01-01T00:00:00Z"^^xsd:dateTime) instead of YEAR() for portability and precision.
- When selecting award winners via wdt:P166, filter ?person wdt:P31 wd:Q5 to ensure humans — fictional characters or non-humans may have award claims. If you need award years use p:P166 / ps:P166 / pq:P585 and OPTIONAL { ?stmt pq:P585 ?year } to retrieve qualifier years.
- Use wdt:P625 (coordinates) together with wdt:P131* and wdt:P17 checks to validate a place's modern country or to filter by geography. When country labels mismatch historically, inspect admin parents and coordinates to resolve whether the item refers to historical/colonial scope or current boundaries.
- Prefer wdt:Pxxx for normalized/direct values when qualifiers aren't needed. Use p:Pxxx / ps:Pxxx / pq:Pxxx to access qualifiers (e.g., pq:P585 for award year). Always fetch labels with rdfs:label + FILTER(LANG(?label) = "en").
- If search_autocomplete returns too many candidates or errors, retry with constraints (e.g., SELECT * WHERE { ?search wdt:P31 wd:Q5 }) or narrower query text. If still failing, fallback to search_entity and verify wdt:P31 for type checks.
- For award-year queries use p:P166 / ps:P166 / pq:P585 to access award statements and year qualifiers. Filter by xsd:dateTime ranges (e.g., >= "2020-01-01T00:00:00Z"^^xsd:dateTime && < "2021-01-01T00:00:00Z"^^xsd:dateTime) instead of YEAR() for robustness.
- Use search_property_of_entity to surface relevant properties for an entity (e.g., 'birth' -> P569/P19). list(...) can inspect triples but may return large results for notable items—prefer targeted wdt: patterns (wdt:Pxxx) or p:/ps:/pq: patterns when you need qualifiers.

SPARQL prefixes for use in function calls:
- bd: <http://www.bigdata.com/rdf#
- cc: <http://creativecommons.org/ns#
- data: <https://www.wikidata.org/wiki/Special:EntityData/
- dc: <http://purl.org/dc/elements/1.1/
- dct: <http://purl.org/dc/terms/
- foaf: <http://xmlns.com/foaf/0.1/
- geo: <http://www.opengis.net/ont/geosparql#
- geof: <http://www.opengis.net/def/function/geosparql/
- gn: <http://www.geonames.org/ontology#
- hint: <http://www.bigdata.com/queryHints#
- 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/
- qb: <http://purl.org/linked-data/cube#
- 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/
- void: <http://rdfs.org/ns/void#
- 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#

Additional rules to follow:
- Explain your thought process before and after each step and function call.
- Do not just use or make up entity or property identifiers without verifying their existence in the knowledge graphs first.
- Do not ask the user for clarifications without first attempting to complete the task. If the task input is incomplete or ambiguous, try to make reasonable assumptions and document them.
- 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.
- Always execute your final SPARQL query before giving an answer to make sure it returns the expected results.
- 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.
- 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.
- 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.
- For questions with a "True" or "False" answer the SPARQL query should be an ASK query.

[User] Who are the YouTubers who are also science communicators and do not have an image? Include their YouTube channel ID and number of social media followers if available, and order by the number of social media followers in descending order.

[Assistant]
Step 1: I'll search for the occupation items "YouTuber" and "science communicator" in Wikidata so I can use their QIDs in the query. I'll also search for properties for "image", "YouTube channel ID", and possible properties that store "number of social media followers". I'll start by searching for the entities "YouTuber" and "science communicator".

Question: YouTuber

Top 10 entity alternatives:
1. YouTuber (wd:Q17125263), also known as Tuber, YouTube celebrity, YouTube content creator, YouTube personality, YouTube Star, etc.: person that produces videos on YouTube / person that produces videos on YouTube / person that produces videos on YouTube / is subclass of web video producer / is subclass of digital creator / is subclass of content creator / is instance of occupation / is subclass of vlogger / is subclass of poster
2. Youtuber (wd:Q125943233): is instance of version, edition or translation / 2015 edition of written work by Gabriel Jaraba
3. Youtuber (wd:Q125943224): written work by Gabriel Jaraba / is instance of written work
4. VTuber (wd:Q55155641, matched via virtual YouTuber), also known as virtual YouTuber, V Tuber: YouTuber or livestreamer that uses a digital avatar / YouTubers that use digital avatars / YouTubers that use digital avatars / YouTubers that use digital avatars / is subclass of online streamer / is instance of occupation
5. Jumana Abdu Rahman (wd:Q130728826, matched via Jumana Youtuber), also known as Actress Jumana, Jumana, Jumana Dubai, Jumana Khan, Jumana Youtuber: Indian actress and social media personality from Dubai / has occupation Internet celebrity / has occupation content creator / has occupation philanthropist / has occupation Entrepreneur / has occupation entrepreneur / has occupation influencer / has occupation orator / has occupation actor / is instance of human
6. Youtuber Dad (wd:Q104388845), also known as Papá youtuber: 2019 Peruvian-Argentine film / is instance of film
7. beauty YouTuber (wd:Q23680154), also known as Beautuber, beauty guru, beauty influencer, BeautyTuber, beauty vlogger: content creator who specializes on beauty related products / is instance of profession / is subclass of YouTuber / is subclass of vlogger
8. Gremix (wd:Q65408272, matched via Gremix YouTuber), also known as Ganbayar, Ganbayar Maambayar, gremix33, Gremixbn, Gremix YouTuber: has occupation television producer / has occupation YouTuber / is instance of human / Mongolian YouTuber
9. climbing YouTuber (wd:Q109358584), also known as ClimbingTuber, mountain climbing YouTuber, mountain-climbing YouTuber, mountainclimbing YouTuber, mountaineering YouTuber, etc.: YouTuber with a focus on mountain climbing / is subclass of mountaineer / is subclass of YouTuber
10. Paffuri (Youtuber) (wd:Q109461313): They are Korean Youtuber / has occupation YouTuber / is instance of human

[Assistant]
Now I'll search for the entity corresponding to "science communicator".

Question: science communicator

Top 10 entity alternatives:
1. science communicator (wd:Q15143191), also known as populariser of science, popularizer of science, SciComm'er, science popularizer, scientific popularizer: person who explains science to non-experts and the public / is subclass of communicator / is instance of occupation / is instance of profession
2. Science Communicator Medal (wd:Q106706041): is instance of science award / science award in New Zealand
3. The science communicator (wd:Q73972391): journal article; published in Nature on 2008-12-17 / journal article; published in Nature on 2008-12-17 / is instance of scholarly article / is instance of academic article
4. Foundation for Research Science and Technology Science Communicator Award (wd:Q106706036, matched via FRS&T Science Communicator Award), also known as FRS&T Science Communicator Award, FRST Science Communicator Award: is instance of science award / science award in New Zealand
5. Dante Alighieri Science Communicator (wd:Q115869045): scholarly article published on Substantia in 2021 / scientific article published on 9 September 2021 / scientific article published on 9 September 2021 / is instance of scholarly article / is instance of academic article
6. International Union for Science Communicators (wd:Q6054094): professional science organization
7. science (wd:Q336), also known as empirical sciences, general science, sciences, scientific knowledge: systematic endeavor that builds and organizes knowledge, and the set of knowledge produced by this system / is instance of academic discipline / is subclass of knowledge system / is instance of Wissenschaft / is instance of discipline
8. geography (wd:Q1071, matched via geographical science), also known as geographical science, geography (general): science that studies the terrestrial surface, the societies ... or regions that form it when interacting with each other / is instance of academic discipline / is instance of branch of science / is instance of academic major / is instance of discipline / is subclass of science
9. biology (wd:Q420, matched via biological science), also known as bio, biological science, biological sciences, life science, life sciences, etc.: scientific study of living things, especially their structure, function, growth, evolution, and distribution / is instance of academic discipline / is instance of branch of science / is subclass of natural science / is instance of academic major / is instance of discipline / study of living things
10. technology (wd:Q11016, matched via technological science), also known as tech, technicology, technological science, technological sciences, technologies: making, modification, usage, and knowledge of tools, ... methods of organization, or tools and techniques so created / is subclass of science and technology / is instance of academic discipline / is instance of economic branch / is instance of discipline / is instance of industry

[Assistant]
I'll search for the property for "image" and for the property that stores YouTube channel ID and any property that stores "number of followers" (social media followers). I'll search for "image", "YouTube channel id", and "number of followers".

Question: image

Top 10 property alternatives:
1. image of function (wd:P2396 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via image), also known as function image, function range, image, range, P2396: set of values that a mathematical function actually takes
2. spherical panorama image (wd:P4640 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via image), also known as 360-degree panorama image, 360° panorama image, 360 panorama spherical image, image, panorama view 360 x 180 degrees, etc.: image with the field of view 360×180 degrees oyiyi na ubi anya 360×180 degrees / is subproperty of panoramic view
3. image (wd:P18 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as camera picture, Commons image, drawing, File:, graph, etc.: image of relevant illustration of the subject; if available, ... only images which exist on Wikimedia Commons are acceptable / image of relevant illustration of the subject; if available, ... only images which exist on Wikimedia Commons are acceptable / image of relevant illustration of the subject; if available, ... map, flag image, signature image, logo image, collage image) / image of relevant illustration of the subject; if available, ... map, flag image, signature image, logo image, collage image)
4. depicts (wd:P180 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via pictures), also known as conveys, depicting, depiction of, displays, features, etc.: entity visually depicted in an image, literarily described in ... audiovisual or other medium; see also P921,  'main subject' / depicted entity (see also P921: main subject) / depicted entity (see also P921: main subject) / is subproperty of has part(s) / is subproperty of has part / place
5. image set (wd:P10696 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as P10696: exemplary image taken from a set, determined to represent the subject in a given role
6. source of file (wd:P7482 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via image source), also known as file source, image source, source of image, P7482: broad nature of the origin of the file
7. reference image (wd:P10253 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via ref image), also known as image in reference section, picture in reference section, reference picture, ref image, ref picture, etc.: image, such as of an inscription, supporting a claim; use ... (P3865) in the reference or source part of a statement / is subproperty of image
8. media legend (wd:P2096 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via image caption), also known as audio caption, audio description, audio legend, caption, file caption, etc.: qualifier to describe the media of the statement. This avoids ... media is defined at Wikidata. For the date, use P585 instead. / qualifier to describe the media of the statement. This avoids ... media is defined at Wikidata. For the date, use P585 instead. / qualifier to describe the media of the statement. This avoids ... media is defined at Wikidata. For the date, use P585 instead
9. document file on Wikimedia Commons (wd:P996 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via book image), also known as book file, book image, Commons scanned file, full text, PDF on Commons, etc.: file on Wikimedia Commons related to the content of the source/book/report / file on Wikimedia Commons related to the content of the source/book/report
10. image of interior (wd:P5775 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via inside image), also known as indoor image, inside image, interior image, interior view, view of the interior, etc.: image of the inside of an architectural structure, vehicle or other enclosed space / is subproperty of image

[Assistant]
Searching for a property that corresponds to "YouTube channel ID" (identifier used to store YouTube channel identifiers).

Question: YouTube channel id

Top 10 property alternatives:
1. YouTube channel ID (wd:P2397 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as channel id, externalId (YouTube), https://www.youtube.com/channel/, official YouTube channel, Social Blade channel, etc.: ID of the YouTube channel of a person or organisation (not to ... channel) The ID can also be used for music.youtube.com IDs / is subproperty of website username or ID
2. YouTube video ID (wd:P1651 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as streaming url, trailer (Youtube), YouTube Music ID, YouTube video identifier, YouTube video link, etc.: identifier of a video on YouTube; qualify trailers with ... (Q622550). For channels, use P2397; for playlists, use P4300 / identifier of a video on YouTube; qualify trailers with ... (Q622550). For channels use P2397; for playlists use P4300 / identifier of a video on YouTube; qualify trailers with ... (Q622550). For channels use P2397; for playlists use P4300 / is subproperty of streaming media URL
3. YouTube playlist ID (wd:P4300 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as playlist YouTube, YouTube Music Playlist ID, YT playlist, P4300: identifier for a playlist (official) on YouTube containing videos for this item
4. YouTube handle (wd:P11245 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via YouTube channel handle), also known as https://www.youtube.com/@, www.youtube.com/@, YouTube @, YouTube channel handle, YouTube channel name, etc.: unique identifier of a person, organization or channel on YouTube; do not include the "@" symbol / unique identifier of a person, organization or channel on YouTube; do not include the "@" symbol / unique identifier of a person, organization or channel on YouTube; do not include the "@" symbol / is subproperty of website username or ID
5. Dailymotion channel ID (wd:P2942 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as Dailymotion ID, P2942: identifier of the Dailymotion channel of a person, or organisation / identifier of the Dailymotion channel of a person, or organization / identifier of the Dailymotion channel of a person, or organization / is subproperty of website username or ID
6. Douyin video ID (wd:P9869 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as P9869
: is subproperty of streaming media URL / identifier of a video on Douyin
7. V Live channel ID (wd:P4756 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via VLIVE channel ID), also known as VLIVE channel ID, V Live ID, VLIVE ID, P4756: identifier for the V Live channel of a person, musical group or organisation
8. Twitch channel ID (wd:P5797 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as Twitch ID, Twitch.tv channel ID, Twitch username, P5797: is subproperty of website username or ID / ID of a Twitch channel
9. Rutube channel ID (wd:P10152 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as Rutube ID, P10152: identifier of a RUTUBE channel of a person or organisation (not to be confused with the name of the channel)
10. WhatsApp channel ID (wd:P12542 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as WA channel ID, P12542: identifier of the channel on WhatsApp

[Assistant]
Next I'll search for properties that represent "number of followers", "followers", "social media followers", or similar metrics.

Question: number of followers

Top 10 property alternatives:
1. number of subscribers (wd:P3744 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via number of followers), also known as follow count, follower count, followers, number of followers, number of follows, etc.: number of subscribers for subscription-based companies, e.g. ... companies, newspapers, pay-TV channels, software, etc. / number of subscribers for subscription-based companies, e.g. ... companies, newspapers, pay-TV channels, software, etc. / number of subscribers for subscription-based companies, e.g. ... companies, newspapers, pay-TV channels, software, etc.
2. social media followers (wd:P8687 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via number of followers), also known as follow count, follower count, follower number, followers, follow number, etc.: number of subscribers on a particular social media website ... time" and property for account. For Twitter, use numeric id.
3. number of likes (wd:P10649 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via number of favs), also known as fav count, favorite count, like count, likes, number of favorites, etc.: number of likes, favorites, stars, upvotes, or reactions received on a social media post or profile
4. number of reblogs (wd:P10756 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via number of reposts), also known as number of crossposts, number of on-platform shares, number of on-site shares, number of reposts, number of retweets, etc.: number of reblogs, reposts, retweets, crossposts, or on-platform shares received on a social media post
5. number of dislikes (wd:P10650 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as dislike count, dislikes, downvote count, downvotes, number of downvotes, etc.: number of dislikes or downvotes received on a social media post
6. number of parts of this work (wd:P2635 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via track count), also known as acts count, acts number, acts quantity, chapter count, chapters quantity, etc.: the number of parts that a work of art consists of / the number of parts that a work comprises
7. follower of (wd:P1775 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as P1775: for unknown artists who work in the manner of the named artist / is subproperty of significant person
8. number of viewers/listeners (wd:P5436 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via number of views), also known as listen count, listener count, listener number, listeners, listens, etc.: number of viewers of a television or broadcasting program; web traffic on websites
9. member count (wd:P2124 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via number of members), also known as amount of members, count of members, membership, number of members, total members, etc.: number of entities that are part of an organization at a particular time / number of people who are part of an organisation at a particular time
10. number of registered users/contributors (wd:P1833 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via number of users), also known as number of contributors, number of registered users, number of users, users, P1833: number of registered users on a website

[Assistant]
I'll run a SPARQL SELECT query that finds humans who have occupation YouTuber (wd:Q17125263) and science communicator (wd:Q15143191), excludes items with an image (P18), optionally returns YouTube channel ID (P2397) and social media followers (P8687), and orders results by followers descending. I'll use COALESCE to treat missing follower counts as zero for sorting. Then I'll execute the query to verify results.

execute

SELECT ?person ?personLabel ?youtubeID ?followers WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P106 wd:Q17125263 .
  ?person wdt:P106 wd:Q15143191 .
  FILTER NOT EXISTS { ?person wdt:P18 ?img . }
  OPTIONAL { ?person wdt:P2397 ?youtubeID . }
  OPTIONAL { ?person wdt:P8687 ?followers . }
  OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }
}
GROUP BY ?person ?personLabel ?youtubeID ?followers
ORDER BY DESC(COALESCE(?followers, 0))

Got 15 rows and 4 columns, showing the first 5 and last 5 rows below:
| person                                   | personLabel                        | youtubeID                | followers             |
| ---------------------------------------- | ---------------------------------- | ------------------------ | --------------------- |
| Henrique Abrahão Charles (wd:Q104882878) | Henrique Abrahão Charles (lang:en) | UCxSbDOAmDA9xSDd3Numjsmg | 2100000 (xsd:decimal) |
| Stefano Vendrame (wd:Q123058549)         | Stefano Vendrame (lang:en)         | UCuCdPgseAOAS_ZWgUeIlFNg | 221000 (xsd:decimal)  |
| Willy Guasti (wd:Q119828705)             | Willy Guasti (lang:en)             | UCyD1TlHPTq-H9dvQC3tr0zw | 137000 (xsd:decimal)  |
| Samuel Buisseret (wd:Q124427586)         | Samuel Buisseret (lang:en)         | UCh2YBKhYIy-_LtfCIn2Jycg | 131000 (xsd:decimal)  |
| Valentine Delattre (wd:Q118744878)       | Valentine Delattre (lang:en)       | UCE_LWXcsdp7cWbo4DR4ZA-A | 106000 (xsd:decimal)  |
| ...                                      | ...                                | ...                      | ...                   |
| Andrea Moccia (wd:Q106041589)            | Andrea Moccia (lang:en)            |                          |                       |
| Valeria Corrales (wd:Q120868994)         | Valeria Corrales (lang:en)         |                          |                       |
| Begoña Gerpe (wd:Q131525183)             | Begoña Gerpe (lang:en)             | UC1KFgMi-KVzNKnvYIkFxqCg |                       |
| Anton Petrov (wd:Q133765022)             | Anton Petrov (lang:en)             |                          |                       |
| Mario Peláez-Fernández (wd:Q65073470)    | Mario Peláez-Fernández (lang:en)   | UCipVtSaV6OOKk8VTMcHt71Q |                       |

[Assistant]
I'll re-run the same query (with an explicit LIMIT 100 to ensure we retrieve all matching items) to get the full result set so I can list each YouTuber with their channel ID and follower count.

SELECT ?person ?personLabel ?youtubeID ?followers WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P106 wd:Q17125263 .
  ?person wdt:P106 wd:Q15143191 .
  FILTER NOT EXISTS { ?person wdt:P18 ?img . }
  OPTIONAL { ?person wdt:P2397 ?youtubeID . }
  OPTIONAL { ?person wdt:P8687 ?followers . }
  OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }
}
GROUP BY ?person ?personLabel ?youtubeID ?followers
ORDER BY DESC(COALESCE(?followers, 0))
LIMIT 100

Got 15 rows and 4 columns, showing the first 5 and last 5 rows below:
| person                                   | personLabel                        | youtubeID                | followers             |
| ---------------------------------------- | ---------------------------------- | ------------------------ | --------------------- |
| Henrique Abrahão Charles (wd:Q104882878) | Henrique Abrahão Charles (lang:en) | UCxSbDOAmDA9xSDd3Numjsmg | 2100000 (xsd:decimal) |
| Stefano Vendrame (wd:Q123058549)         | Stefano Vendrame (lang:en)         | UCuCdPgseAOAS_ZWgUeIlFNg | 221000 (xsd:decimal)  |
| Willy Guasti (wd:Q119828705)             | Willy Guasti (lang:en)             | UCyD1TlHPTq-H9dvQC3tr0zw | 137000 (xsd:decimal)  |
| Samuel Buisseret (wd:Q124427586)         | Samuel Buisseret (lang:en)         | UCh2YBKhYIy-_LtfCIn2Jycg | 131000 (xsd:decimal)  |
| Valentine Delattre (wd:Q118744878)       | Valentine Delattre (lang:en)       | UCE_LWXcsdp7cWbo4DR4ZA-A | 106000 (xsd:decimal)  |
| ...                                      | ...                                | ...                      | ...                   |
| Andrea Moccia (wd:Q106041589)            | Andrea Moccia (lang:en)            |                          |                       |
| Valeria Corrales (wd:Q120868994)         | Valeria Corrales (lang:en)         |                          |                       |
| Begoña Gerpe (wd:Q131525183)             | Begoña Gerpe (lang:en)             | UC1KFgMi-KVzNKnvYIkFxqCg |                       |
| Anton Petrov (wd:Q133765022)             | Anton Petrov (lang:en)             |                          |                       |
| Mario Peláez-Fernández (wd:Q65073470)    | Mario Peláez-Fernández (lang:en)   | UCipVtSaV6OOKk8VTMcHt71Q |                       |

[Assistant]
I'll run the query again without GROUP BY to try to get the full row listing in the execution result. (Explaining because the tool's preview truncated earlier.)

SELECT ?person ?personLabel ?youtubeID ?followers WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P106 wd:Q17125263 .
  ?person wdt:P106 wd:Q15143191 .
  FILTER NOT EXISTS { ?person wdt:P18 ?img . }
  OPTIONAL { ?person wdt:P2397 ?youtubeID . }
  OPTIONAL { ?person wdt:P8687 ?followers . }
  OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }
}
ORDER BY DESC(COALESCE(?followers, 0))
LIMIT 100

Got 15 rows and 4 columns, showing the first 5 and last 5 rows below:
| person                                   | personLabel                        | youtubeID                | followers             |
| ---------------------------------------- | ---------------------------------- | ------------------------ | --------------------- |
| Henrique Abrahão Charles (wd:Q104882878) | Henrique Abrahão Charles (lang:en) | UCxSbDOAmDA9xSDd3Numjsmg | 2100000 (xsd:decimal) |
| Stefano Vendrame (wd:Q123058549)         | Stefano Vendrame (lang:en)         | UCuCdPgseAOAS_ZWgUeIlFNg | 221000 (xsd:decimal)  |
| Willy Guasti (wd:Q119828705)             | Willy Guasti (lang:en)             | UCyD1TlHPTq-H9dvQC3tr0zw | 137000 (xsd:decimal)  |
| Samuel Buisseret (wd:Q124427586)         | Samuel Buisseret (lang:en)         | UCh2YBKhYIy-_LtfCIn2Jycg | 131000 (xsd:decimal)  |
| Valentine Delattre (wd:Q118744878)       | Valentine Delattre (lang:en)       | UCE_LWXcsdp7cWbo4DR4ZA-A | 106000 (xsd:decimal)  |
| ...                                      | ...                                | ...                      | ...                   |
| Andrea Moccia (wd:Q106041589)            | Andrea Moccia (lang:en)            |                          |                       |
| Valeria Corrales (wd:Q120868994)         | Valeria Corrales (lang:en)         |                          |                       |
| Begoña Gerpe (wd:Q131525183)             | Begoña Gerpe (lang:en)             | UC1KFgMi-KVzNKnvYIkFxqCg |                       |
| Anton Petrov (wd:Q133765022)             | Anton Petrov (lang:en)             |                          |                       |
| Mario Peláez-Fernández (wd:Q65073470)    | Mario Peláez-Fernández (lang:en)   | UCipVtSaV6OOKk8VTMcHt71Q |                       |

[Assistant]
I'll run a query that concatenates all matching rows into a single string (one result cell) so the execution output includes the full list (ordered by followers). This avoids the tool's tabular preview truncation.

SELECT (GROUP_CONCAT(?row; separator="\n") AS ?all) WHERE {
  {
    SELECT (CONCAT(STR(?person), " || ", COALESCE(?personLabel, ""), " || ", COALESCE(?youtubeID, ""), " || ", COALESCE(STR(?followers), "")) AS ?row) WHERE {
      ?person wdt:P31 wd:Q5 .
      ?person wdt:P106 wd:Q17125263 .
      ?person wdt:P106 wd:Q15143191 .
      FILTER NOT EXISTS { ?person wdt:P18 ?img . }
      OPTIONAL { ?person wdt:P2397 ?youtubeID . }
      OPTIONAL { ?person wdt:P8687 ?followers . }
      OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }
    }
    ORDER BY DESC(COALESCE(?followers, 0))
  }
}

[Assistant]
answer

SELECT ?person ?personLabel ?youtubeID ?followers WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P106 wd:Q17125263 .
  ?person wdt:P106 wd:Q15143191 .
  FILTER NOT EXISTS { ?person wdt:P18 ?img . }
  OPTIONAL { ?person wdt:P2397 ?youtubeID . }
  OPTIONAL { ?person wdt:P8687 ?followers . }
  OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }
}
ORDER BY DESC(COALESCE(?followers, 0))
LIMIT 100

Answer:
I ran the query and found 15 Wikidata items for humans who have both the occupations YouTuber (wd:Q17125263) and science communicator (wd:Q15143191) and do not have an image (no P18). The query returns the Wikidata item IRI, the English label (when available), the YouTube channel ID (P2397) if present, and the social media follower count (P8687) if present; results are ordered by follower count descending.

Top results with follower counts (ordered by followers descending):
- Henrique Abrahão Charles (wd:Q104882878) — YouTube channel ID: UCxSbDOAmDA9xSDd3Numjsmg — followers: 2100000
- Stefano Vendrame (wd:Q123058549) — YouTube channel ID: UCuCdPgseAOAS_ZWgUeIlFNg — followers: 221000
- Willy Guasti (wd:Q119828705) — YouTube channel ID: UCyD1TlHPTq-H9dvQC3tr0zw — followers: 137000
- Samuel Buisseret (wd:Q124427586) — YouTube channel ID: UCh2YBKhYIy-_LtfCIn2Jycg — followers: 131000
- Valentine Delattre (wd:Q118744878) — YouTube channel ID: UCE_LWXcsdp7cWbo4DR4ZA-A — followers: 106000

Other matching items (no follower count recorded in P8687 in Wikidata for these items, or follower value absent in the result):
- Andrea Moccia (wd:Q106041589)
- Valeria Corrales (wd:Q120868994)
- Begoña Gerpe (wd:Q131525183) — YouTube channel ID: UC1KFgMi-KVzNKnvYIkFxqCg
- Anton Petrov (wd:Q133765022)
- Mario Peláez-Fernández (wd:Q65073470) — YouTube channel ID: UCipVtSaV6OOKk8VTMcHt71Q

Notes and next steps:
- The query returns 15 matching Wikidata items in total. The SPARQL used is included above.
- If you want the complete tabular results (all 15 rows) exported as CSV, JSON, or pasted here in full, I can produce that for you. If you prefer I can also expand the query to include additional identifiers or properties (e.g., Twitter handle, Facebook ID) and fetch their follower counts where available.


PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?game ?gameLabel ?developer ?developerLabel ?publisher ?publisherLabel ?pubDate WHERE {
  VALUES ?rpgClass {
    wd:Q744038
  }
  {
    ?game wdt:P31 ?rpgClass .
  } UNION {
    ?game wdt:P136 ?rpgClass .
  }
  OPTIONAL {
    ?game wdt:P178 ?developer .
  }
  OPTIONAL {
    ?game wdt:P123 ?publisher .
  }
  OPTIONAL {
    ?game wdt:P577 ?pubDate .
  }
  OPTIONAL {
    ?game rdfs:label ?gameLabel FILTER ( LANG( ?gameLabel ) = "en" )
  }
  OPTIONAL {
    ?developer rdfs:label ?developerLabel FILTER ( LANG( ?developerLabel ) = "en" )
  }
  OPTIONAL {
    ?publisher rdfs:label ?publisherLabel FILTER ( LANG( ?publisherLabel ) = "en" )
  }
}
LIMIT 50

Using entities:
- role-playing video game (wd:Q744038), also known as computer role-playing video game, computer RPG, CRPG, role-playing game, role playing video game, etc.: is instance of video game genre / is subclass of role-playing game / is subclass of video game / video game genre / video game genre / video game genre

Using properties:
- publisher (wd:P123 as wdt), also known as board game publisher, book publisher, comic book publisher, comic publisher, music publisher, etc.: organisation or person responsible for publishing books, periodicals, games or software / organization or person responsible for publishing books, periodicals, games or software / organization or person responsible for publishing books, periodicals, printed music, podcasts, games or software
- genre (wd:P136 as wdt), also known as artistic genre, art style, film genre, genre of literature, genre of music, etc.: creative work's genre or an artist's field of work (P101). Use main subject (P921) to relate creative works to their topic / genre of a creative work or genre in which an artist works
- developer (wd:P178 as wdt), also known as created by, dev, developed by, game dev, game developer, etc.: is subproperty of creator / organisation or person that developed this item / organization or person that developed the item
- instance of (wd:P31 as wdt), also known as example of, has type, is a, is an, is of type, etc.: that class of which this subject is a particular example and ... a subclass of mountain (and an instance of volcanic landform) / type to which this subject corresponds/belongs. Different ... and the volcano is a type (instance) of volcanic landform
- publication date (wd:P577 as wdt), also known as air date, airdate, be published during, be published in, broadcast date, etc.: is subproperty of point in time / date or point in time a work is first published or released / date or point in time a work is first published or released / date or point in time when a work was first published or released

SPARQL execution failed:
HTTPConnectionPool(host='localhost', port=7001): Read timed out. (read timeout=30)

Explanation:
I attempted to build and execute a SPARQL query that finds items which are role-playing video games (role-playing video game: wd:Q744038) either by being instance of (P31) or by genre (P136), and retrieves their developers (P178), publishers (P123), and publication dates (P577), with English labels. Two attempts to execute the query against the local Wikidata SPARQL endpoint timed out/failed (read timeout and thread failure). Because I could not get a successful execution result from the endpoint, I cannot confirm the actual returned rows. Below is my best SPARQL query so far; it should work on a functioning Wikidata/SPARQL endpoint and return up to 50 results.

If you want, I can:
- Retry execution later,
- Increase or remove the LIMIT to return more items,
- Broaden or narrow the matching criteria (for example, include subclass matching or restrict to items that are instances of video game (wd:Q7889) and have genre role-playing), or
- Return a version that also retrieves qualifiers such as more precise release dates or region-specific release dates via p:P577 statements.

I attempted to build and execute a SPARQL query that finds items which are role-playing video games (role-playing video game: wd:Q744038) either by being instance of (P31) or by genre (P136), and retrieves their developers (P178), publishers (P123), and publication dates (P577), with English labels. Two attempts to execute the query against the local Wikidata SPARQL endpoint timed out/failed (read timeout and thread failure). Because I could not get a successful execution result from the endpoint, I cannot confirm the actual returned rows. Below is my best SPARQL query so far; it should work on a functioning Wikidata/SPARQL endpoint and return up to 50 results.

If you want, I can:
- Retry execution later,
- Increase or remove the LIMIT to return more items,
- Broaden or narrow the matching criteria (for example, include subclass matching or restrict to items that are instances of video game (wd:Q7889) and have genre role-playing), or
- Return a version that also retrieves qualifiers such as more precise release dates or region-specific release dates via p:P577 statements.

SPARQL query over wikidata:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?game ?gameLabel ?developer ?developerLabel ?publisher ?publisherLabel ?pubDate WHERE {
  VALUES ?rpgClass {
    wd:Q744038
  }
  {
    ?game wdt:P31 ?rpgClass .
  } UNION {
    ?game wdt:P136 ?rpgClass .
  }
  OPTIONAL {
    ?game wdt:P178 ?developer .
  }
  OPTIONAL {
    ?game wdt:P123 ?publisher .
  }
  OPTIONAL {
    ?game wdt:P577 ?pubDate .
  }
  OPTIONAL {
    ?game rdfs:label ?gameLabel FILTER ( LANG( ?gameLabel ) = "en" )
  }
  OPTIONAL {
    ?developer rdfs:label ?developerLabel FILTER ( LANG( ?developerLabel ) = "en" )
  }
  OPTIONAL {
    ?publisher rdfs:label ?publisherLabel FILTER ( LANG( ?publisherLabel ) = "en" )
  }
}
LIMIT 50

Using entities:
- role-playing video game (wd:Q744038), also known as computer role-playing video game, computer RPG, CRPG, role-playing game, role playing video game, etc.: is instance of video game genre / is subclass of role-playing game / is subclass of video game / video game genre / video game genre / video game genre

Using properties:
- publisher (wd:P123 as wdt), also known as board game publisher, book publisher, comic book publisher, comic publisher, music publisher, etc.: organisation or person responsible for publishing books, periodicals, games or software / organization or person responsible for publishing books, periodicals, games or software / organization or person responsible for publishing books, periodicals, printed music, podcasts, games or software
- genre (wd:P136 as wdt), also known as artistic genre, art style, film genre, genre of literature, genre of music, etc.: creative work's genre or an artist's field of work (P101). Use main subject (P921) to relate creative works to their topic / genre of a creative work or genre in which an artist works
- developer (wd:P178 as wdt), also known as created by, dev, developed by, game dev, game developer, etc.: is subproperty of creator / organisation or person that developed this item / organization or person that developed the item
- instance of (wd:P31 as wdt), also known as example of, has type, is a, is an, is of type, etc.: that class of which this subject is a particular example and ... a subclass of mountain (and an instance of volcanic landform) / type to which this subject corresponds/belongs. Different ... and the volcano is a type (instance) of volcanic landform
- publication date (wd:P577 as wdt), also known as air date, airdate, be published during, be published in, broadcast date, etc.: is subproperty of point in time / date or point in time a work is first published or released / date or point in time a work is first published or released / date or point in time when a work was first published or released

Execution result:
SPARQL execution failed:
HTTPConnectionPool(host='localhost', port=7001): Read timed out. (read timeout=30)

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

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.

Available knowledge graphs:
- wikidata at http://localhost:7001 with prefix index for entities and similarity index for properties, and notes:
  - P106 = occupation. Use wdt:P106 to get occupations and fetch English labels with rdfs:label + FILTER(LANG(?label)="en"). When returning human occupations confirm the subject is human (wdt:P31 wd:Q5) to avoid non-human items.
  - Population (P1082) and tabular (P4179): use wdt:P1082 for quick/direct values; for time-series/point-in-time use p:P1082 + ps:P1082 + pq:P585 and ORDER BY pq:P585 DESC. Inspect statement qualifiers (e.g., 'applies to part') and prov:wasDerivedFrom references (pr:P854 etc.) to detect city-proper vs metro/prefecture scopes before using values.
  - Common person properties: P31 (instance of human Q5), P106 (occupation), P569 (date of birth), P19 (place of birth), P27 (country of citizenship), P21 (sex/gender), P166 (award received). Use wdt: for direct values when possible.
  - P17 (country) can be incomplete/misleading for places (historical/overseas tags). To get modern cities in a country combine: instance-of city (P31=Q515) + wdt:P17 OR use wdt:P131* to find an admin parent whose wdt:P17 = the country. Also cross-check coordinates (P625) or admin hierarchy to spot outliers.
  - When filtering by date of birth (P569) use xsd:dateTime comparisons (e.g. >= "1900-01-01T00:00:00Z"^^xsd:dateTime). Be aware many items have year-only or imprecise dates and coverage is biased toward notable/public figures (sportspeople, politicians, artists).
  - To retrieve qualifiers (e.g., award year) use the statement/qualifier pattern: p:Pxxx / ps:Pxxx / pq:P585. Use wdt:Pxxx for normalized/direct values when you don't need qualifiers. Example: p:P166 + pq:P585 gives award year.
  - To get a person's occupations: use wdt:P106 for direct/normalized values and rdfs:label for human-readable names (FILTER(LANG(...))). Example: wd:Q... wdt:P106 ?occ . ?occ rdfs:label ?occLabel . FILTER(LANG(?occLabel)="en").
  - P166 = award received. Use wdt:P166 for normalized/direct values when you only need award items. To get award years or qualifiers use p:P166 / ps:P166 / pq:P585. Many statements lack pq:P585 — use OPTIONAL { ?stmt pq:P585 ?date } and ORDER BY DESC(?date). When listing award winners, filter ?person wdt:P31 wd:Q5 to ensure humans.
  - Population time-series pattern: wd:Q... p:P1082 ?stmt . ?stmt ps:P1082 ?pop . OPTIONAL { ?stmt pq:P585 ?date } . ORDER BY DESC(?date). pq:P585 is the point-in-time qualifier. IMPORTANT: time-series may mix scopes (city proper vs metro) — e.g., Tokyo has a 2016 entry ~38,140,000 likely metro vs smaller city figures. Inspect qualifiers/references for scope before use.
  - Use wdt:P131* to traverse the admin hierarchy and compare wdt:P17 on the place vs an admin parent to detect historical/colonial country assignments. When mismatches appear, inspect the admin parent's instance-of (P31), labels, qualifiers and references to interpret the historical scope.
  - wdt:P106 often yields multiple occupations for a person. Use GROUP_CONCAT(DISTINCT ?occLabel; separator=", ") or return multiple rows. Always fetch labels with rdfs:label + FILTER(LANG(?label)="en") to get readable occupation names.
  - When a search_entity returns multiple hits (person vs sculpture vs memorial), confirm you selected the human/statements by checking wdt:P31 (instance of) and relevant wdt: properties (e.g., wdt:P106). This avoids using a non-human QID by mistake.
  - search_autocomplete can be constrained with a SPARQL pattern containing ?search (e.g., SELECT * WHERE { ?search wdt:P31 wd:Q5 }). Use constraints to focus results (e.g., humans) and avoid ambiguous fallbacks; if it returns no results, fallback to search_entity and verify wdt:P31.
  - Use search_property_of_entity to find relevant properties for an entity (e.g., 'award' -> P166) and search_object_of_property to discover candidate objects (e.g., 'physicist' for P106). This reduces guessing P/Q ids and surfaces qualifiers.
  - Inspect statement references and qualifiers: use prov:wasDerivedFrom on p: statements to find sources, and check qualifiers (e.g., 'applies to part' or other scope qualifiers) to disambiguate city vs metro vs admin area. Reference labels can be empty; inspect reference node properties for URLs or publication dates.

Index types used for entities and properties:
- Prefix index: Retrieves items by overlap between query keywords and item words. The query keywords can match item words exactly or as prefixes.
- Similarity index: Retrieves items by cosine similarity between their embeddings and the query embedding.

General notes across knowledge graphs:
- Use rdfs:label + FILTER(LANG(?label)="en") for labels; avoid SERVICE wikibase:label. Use wdt:Pxxx for normalized/direct values when qualifiers aren't needed. Use p:Pxxx / ps:Pxxx / pq:Pxxx to access statement qualifiers (e.g., award year via pq:P585). When dates matter, prefer xsd:dateTime and watch for year-only precision.
- Practical query patterns: use rdfs:label + FILTER(LANG(...)) for labels. Use wdt:Pxxx for direct/normalized values when qualifiers aren't needed. Use p:Pxxx / ps:Pxxx / pq:Pxxx to access qualifiers (dates via pq:P585). For dates use xsd:dateTime and expect year-only precision. For places: combine P17 with P131 or coordinate (P625) filters to avoid historical/overseas mismatches.
- Use OPTIONAL for pq: qualifiers (e.g., pq:P585), sort by qualifier (ORDER BY pq:P585 DESC) to prefer recent values. Use GROUP_CONCAT to combine multiple labels/values in one row. Watch for typed literals (xsd:dateTime, xsd:decimal) when filtering or sorting.
- Before querying, use search_entity to resolve human-friendly names to wd:Q identifiers and verify instance-of (e.g., check wdt:P31 = wd:Q5 for humans) to avoid ambiguous matches. Prefer the top match but programmatically confirm P31 before using its data.
- Use search_property to confirm property identifiers (e.g., "country" -> P17) before embedding them in queries. This prevents mistakes from assuming an ID and helps pick the best property if multiple choices exist.
- search_autocomplete can fall back to an unconstrained search or error when there are too many candidates. If this happens (e.g., "more than the maximum supported number of subject candidates"), retry with narrower constraints such as instance-of (wdt:P31), additional type filters, or short prefixes to reduce the candidate set; otherwise fallback to search_entity and verify wdt:P31.
- Use list(...) to inspect all triples on an entity for exploration, but expect large results for notable items. Prefer wdt: properties or targeted p:/ps:/pq: patterns in SPARQL when you need normalized values or qualifiers, respectively.
- Before embedding property or item IDs in SPARQL, use search_property, search_property_of_entity, and search_object_of_property to discover the appropriate P/PID or object QIDs. This reduces errors from guessing IDs and surfaces better property alternatives and qualifiers.
- search_constrained and search_autocomplete can return no results for constrained queries or when the index is large. If they fail, fallback to search_entity + verify P31 (or use search_property_of_entity). Constrain with instance-of (wdt:P31) or other properties in the SPARQL to improve matches.
- When selecting awards by year, prefer xsd:dateTime range filters (e.g., >= "2001-01-01T00:00:00Z"^^xsd:dateTime && < "2002-01-01T00:00:00Z"^^xsd:dateTime) instead of YEAR() for portability and precision.
- When selecting award winners via wdt:P166, filter ?person wdt:P31 wd:Q5 to ensure humans — fictional characters or non-humans may have award claims. If you need award years use p:P166 / ps:P166 / pq:P585 and OPTIONAL { ?stmt pq:P585 ?year } to retrieve qualifier years.
- Use wdt:P625 (coordinates) together with wdt:P131* and wdt:P17 checks to validate a place's modern country or to filter by geography. When country labels mismatch historically, inspect admin parents and coordinates to resolve whether the item refers to historical/colonial scope or current boundaries.
- Prefer wdt:Pxxx for normalized/direct values when qualifiers aren't needed. Use p:Pxxx / ps:Pxxx / pq:Pxxx to access qualifiers (e.g., pq:P585 for award year). Always fetch labels with rdfs:label + FILTER(LANG(?label) = "en").
- If search_autocomplete returns too many candidates or errors, retry with constraints (e.g., SELECT * WHERE { ?search wdt:P31 wd:Q5 }) or narrower query text. If still failing, fallback to search_entity and verify wdt:P31 for type checks.
- For award-year queries use p:P166 / ps:P166 / pq:P585 to access award statements and year qualifiers. Filter by xsd:dateTime ranges (e.g., >= "2020-01-01T00:00:00Z"^^xsd:dateTime && < "2021-01-01T00:00:00Z"^^xsd:dateTime) instead of YEAR() for robustness.
- Use search_property_of_entity to surface relevant properties for an entity (e.g., 'birth' -> P569/P19). list(...) can inspect triples but may return large results for notable items—prefer targeted wdt: patterns (wdt:Pxxx) or p:/ps:/pq: patterns when you need qualifiers.

SPARQL prefixes for use in function calls:
- bd: <http://www.bigdata.com/rdf#
- cc: <http://creativecommons.org/ns#
- data: <https://www.wikidata.org/wiki/Special:EntityData/
- dc: <http://purl.org/dc/elements/1.1/
- dct: <http://purl.org/dc/terms/
- foaf: <http://xmlns.com/foaf/0.1/
- geo: <http://www.opengis.net/ont/geosparql#
- geof: <http://www.opengis.net/def/function/geosparql/
- gn: <http://www.geonames.org/ontology#
- hint: <http://www.bigdata.com/queryHints#
- 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/
- qb: <http://purl.org/linked-data/cube#
- 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/
- void: <http://rdfs.org/ns/void#
- 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#

Additional rules to follow:
- Explain your thought process before and after each step and function call.
- Do not just use or make up entity or property identifiers without verifying their existence in the knowledge graphs first.
- Do not ask the user for clarifications without first attempting to complete the task. If the task input is incomplete or ambiguous, try to make reasonable assumptions and document them.
- 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.
- Always execute your final SPARQL query before giving an answer to make sure it returns the expected results.
- 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.
- 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.
- 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.
- For questions with a "True" or "False" answer the SPARQL query should be an ASK query.

[User] Which items are role-playing video games? Include their developers, publishers, and publication dates, if available.

[Assistant]
I'll search Wikidata for the item corresponding to "role-playing video game" to get its QID, then search for games that are instances of that class and retrieve their developers, publishers, and publication dates. I'll first look up the entity for "role-playing video game".

Question: role-playing video game

Top 10 entity alternatives:
1. role-playing video game (wd:Q744038), also known as computer role-playing video game, computer RPG, CRPG, role-playing game, role playing video game, etc.: is subclass of role-playing game / is instance of video game genre / is subclass of video game / video game genre / video game genre / video game genre
2. action role-playing game (wd:Q1422746, matched via action role-playing video game), also known as action role-playing video game, action RPG, action-RPG, action/RPG, ARPG: subgenre of role-playing and action video games / is subclass of role-playing video game / is instance of video game genre / is subclass of action game
3. gamer (wd:Q5276395, matched via video role-playing game player), also known as player, video game player, video gamer, video role-playing game player, video RPG player: person who plays video games and/or identifies with the gamer identity / is subclass of competitive player / is instance of occupation / is subclass of hobbyist / is subclass of player / is subclass of user
4. tactical role-playing game (wd:Q1529437, matched via strategy role-playing video game), also known as role-playing simulation game, RSLG, simulation RPGs, SRPG, strategic roleplaying game, etc.: is subclass of role-playing video game / is subclass of tactical video game / is instance of video game genre / video game genre
5. Japanese role-playing video game (wd:Q5923834), also known as Japanese role-playing game, JRPG: is subclass of role-playing video game / is instance of video game genre / video game genre
6. side-scrolling role-playing video game (wd:Q107631040), also known as side-scroller RPG, side-scrolling role-playing game, side-scrolling RPG: is subclass of side-scrolling video game / is subclass of role-playing video game / is instance of video game genre / video game genre
7. turn-based role-playing game (wd:Q105906396, matched via turn-based role-playing video game), also known as turn-based roleplaying game, turn-based role-playing video game, turn-based RPG: genre of roleplaying games where players take turns when playing / is subclass of role-playing video game / is instance of video game genre / is subclass of sequential game
8. Western role-playing game (wd:Q61654424, matched via Western role-playing video games), also known as Western role-playing video games, Western RPG, WRPG: is subclass of role-playing video game / is subclass of Western video game / is instance of video game genre / video game subgenre
9. history of Western role-playing video games (wd:Q5867207, matched via Western role-playing video games history), also known as history of Western RPGs, Western role-playing video games history: is instance of history of video games / is instance of aspect of history / aspect of history
10. history of Eastern role-playing video games (wd:Q14623846): is instance of aspect of history / aspect of history

[Assistant]
I'll search for the Wikidata properties for "developer", "publisher", and "publication date / release date" to confirm their property identifiers before building the query.

Question: developer

Top 10 property alternatives:
1. discoverer or inventor (wd:P61 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via developer), also known as created by, developed by, developer, devised by, discovered by, etc.: subject who discovered, first described, invented, or developed this discovery or invention or scientific hypothesis or theory / discovered, first described, or invented by / discovered, first described, or invented by
2. commissioned by (wd:P88 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via developer), also known as built for, client, commissioner, developer, made for, etc.: person or organisation that commissioned this work / person or organization that commissioned this work / person or organization that commissioned this work
3. developer (wd:P178 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as created by, dev, developed by, game dev, game developer, etc.: organisation or person that developed this item / organization or person that developed the item / is subproperty of creator
4. development of anatomical structure (wd:P4843 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via development), also known as development, P4843: biological development of this anatomical structure
5. programmer (wd:P943 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as programmed by, software developer, P943: the programmer that wrote the piece of software / is subproperty of developer
6. operator (wd:P137 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via administrator), also known as administrator, controlled by, facility operator, in use by, item operator, etc.: person, profession, or organization that operates the equipment, facility, or service; use country for diplomatic missions / person, profession, organization or entity that operates the equipment, facility, or service / organization that operates the service, facility, ship, aircraft, missile / is subproperty of used by
7. maintained by (wd:P126 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via administrator), also known as administered by, administrator, custodian, held by, maintainer, etc.: person or organization in charge of keeping the subject (for instance an infrastructure) in functioning order / organisation in charge of keeping the subject (for instance an infrastructure) in functioning order / organization in charge of keeping the subject (for instance an infrastructure) in functioning order
8. represented by (wd:P1875 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via manager), also known as agent, managed by, manager, managing agent, rep, etc.: person or agency that represents or manages the subject
9. head coach (wd:P286 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via manager), also known as club manager, coach, coached by, led by, manager, etc.: on-field manager or head coach of a sports club (not to be ... manager P505, which is not a coaching position) or person / on-field manager or head coach of a sports club (not to be ... manager P505, which is not a coaching position) or person
10. director / manager (wd:P1037 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via manager), also known as boss, chief, director, director general, general manager, etc.: person who manages any kind of group or organisation / is subproperty of significant person / person who manages any kind of group / person who manages any kind of group

[Assistant]
Now I'll search for the "publisher" property.

Question: publisher

Top 10 property alternatives:
1. publisher (wd:P123 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as board game publisher, book publisher, comic book publisher, comic publisher, music publisher, etc.: organization or person responsible for publishing books, periodicals, printed music, podcasts, games or software / organisation or person responsible for publishing books, periodicals, games or software / organization or person responsible for publishing books, periodicals, games or software
2. house publication (wd:P2813 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via publication), also known as has mouthpiece, house journal, house magazine, house organ, house periodical, etc.: media that speaks for an organization or a movement, and that is usually edited by its members
3. review score by (wd:P447 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via publication), also known as publication, reviewer, score issuer, scorer, P447: issuer of a review score / issuer of a review score
4. publication date (wd:P577 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via publication), also known as air date, airdate, be published during, be published in, broadcast date, etc.: date or point in time when a work was first published or released / date or point in time a work is first published or released / date or point in time a work is first published or released / is subproperty of point in time
5. director of publication (wd:P10308 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via publication manager), also known as publication manager, P10308: the person who is legally responsible for a publication ... may vary depending on the country and legislation.
6. printed by (wd:P872 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as printer, P872: organization or person who printed the creative work (if different from "publisher")
7. place of publication (wd:P291 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via publication place), also known as country (published in), location of publication, printed at, printed in, publication city, etc.: geographical place of publication of the edition (use 1st edition when referring to works) / geographical place of publication of the edition (use 1st edition when referring to works) / geographical place of publication of the edition (use 1st edition when referring to works) / is subproperty of significant place
8. theorized by (wd:P8403 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via author), also known as author, authored by, defined by, explained by, named by, etc.: subject who suggested or proposed this concept or immaterial invention / subject who suggested or proposed this concept or immaterial invention
9. lyricist (wd:P676 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn, matched via author), also known as author, lyrics by, songwriter, text author, text by, etc.: author of song lyrics; also use P86 for music composer / is subproperty of author / author of song lyrics
10. author (wd:P50 as pr/psn/wdtn/ps/prn/p/pq/pqv/wdt/prv/psv/pqn), also known as co-author, creator, maker, playwright, poet, etc.: main creator(s) of a written work (use on works, not humans); ... name string) when Wikidata item is unknown or does not exist / main creator(s) of a written work (use on works, not humans) / main creator(s) of a written work (use on works, not humans) / is subproperty of creator

[Assistant]
I'll run a SPARQL SELECT query that finds items which are role-playing video games either by being instance of (P31) or having genre (P136) role-playing video game (Q744038). The query will also retrieve developers (P178), publishers (P123), and publication dates (P577), plus English labels for each item where available. I'll limit the results to 200 for an initial check. Now I'll execute that query.

execute

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?game ?gameLabel ?developer ?developerLabel ?publisher ?publisherLabel ?pubDate WHERE {
  VALUES ?rpgClass { wd:Q744038 }
  {
    ?game wdt:P31 ?rpgClass .
  } UNION {
    ?game wdt:P136 ?rpgClass .
  }
  OPTIONAL { ?game wdt:P178 ?developer . }
  OPTIONAL { ?game wdt:P123 ?publisher . }
  OPTIONAL { ?game wdt:P577 ?pubDate . }
  OPTIONAL { ?game rdfs:label ?gameLabel FILTER(LANG(?gameLabel) = "en") }
  OPTIONAL { ?developer rdfs:label ?developerLabel FILTER(LANG(?developerLabel) = "en") }
  OPTIONAL { ?publisher rdfs:label ?publisherLabel FILTER(LANG(?publisherLabel) = "en") }
}
LIMIT 200

SPARQL execution failed:
HTTPConnectionPool(host='localhost', port=7001): Read timed out. (read timeout=30)

[Assistant]
The query timed out; I'll retry with a smaller result limit (50) to get a working result and verify the pattern. I'll run the same query but LIMIT 50.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?game ?gameLabel ?developer ?developerLabel ?publisher ?publisherLabel ?pubDate WHERE {
  VALUES ?rpgClass { wd:Q744038 }
  {
    ?game wdt:P31 ?rpgClass .
  } UNION {
    ?game wdt:P136 ?rpgClass .
  }
  OPTIONAL { ?game wdt:P178 ?developer . }
  OPTIONAL { ?game wdt:P123 ?publisher . }
  OPTIONAL { ?game wdt:P577 ?pubDate . }
  OPTIONAL { ?game rdfs:label ?gameLabel FILTER(LANG(?gameLabel) = "en") }
  OPTIONAL { ?developer rdfs:label ?developerLabel FILTER(LANG(?developerLabel) = "en") }
  OPTIONAL { ?publisher rdfs:label ?publisherLabel FILTER(LANG(?publisherLabel) = "en") }
}
LIMIT 50

SPARQL execution failed:
Waited for a result from another thread which then failed

[Assistant]
I will report that the SPARQL endpoint timed out and provide the best SPARQL query I constructed so far (the one I attempted). I'll call the cancel function with an explanation and include the query as my best attempt.

cancel

Explanation:
I attempted to build and execute a SPARQL query that finds items which are role-playing video games (role-playing video game: wd:Q744038) either by being instance of (P31) or by genre (P136), and retrieves their developers (P178), publishers (P123), and publication dates (P577), with English labels. Two attempts to execute the query against the local Wikidata SPARQL endpoint timed out/failed (read timeout and thread failure). Because I could not get a successful execution result from the endpoint, I cannot confirm the actual returned rows. Below is my best SPARQL query so far; it should work on a functioning Wikidata/SPARQL endpoint and return up to 50 results.

If you want, I can:
- Retry execution later,
- Increase or remove the LIMIT to return more items,
- Broaden or narrow the matching criteria (for example, include subclass matching or restrict to items that are instances of video game (wd:Q7889) and have genre role-playing), or
- Return a version that also retrieves qualifiers such as more precise release dates or region-specific release dates via p:P577 statements.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?game ?gameLabel ?developer ?developerLabel ?publisher ?publisherLabel ?pubDate WHERE {
  VALUES ?rpgClass { wd:Q744038 }
  {
    ?game wdt:P31 ?rpgClass .
  } UNION {
    ?game wdt:P136 ?rpgClass .
  }
  OPTIONAL { ?game wdt:P178 ?developer . }
  OPTIONAL { ?game wdt:P123 ?publisher . }
  OPTIONAL { ?game wdt:P577 ?pubDate . }
  OPTIONAL { ?game rdfs:label ?gameLabel FILTER(LANG(?gameLabel) = "en") }
  OPTIONAL { ?developer rdfs:label ?developerLabel FILTER(LANG(?developerLabel) = "en") }
  OPTIONAL { ?publisher rdfs:label ?publisherLabel FILTER(LANG(?publisherLabel) = "en") }
}
LIMIT 50