query-82f6d54773ac53cc87f0fbfc3cc69926

rq turtle/ttl

Influencers, YouTubers and entrepreneurs under 20 with no site linksThis tends to be pretty full of spam, vandalism and self-promotion.

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?age WHERE {
  { ?item wdt:P106 wd:Q2906862. }
  UNION
  { ?item wdt:P106 wd:Q17125263. }
  UNION
  { ?item wdt:P106 wd:Q131524. }
  FILTER(NOT EXISTS { ?article schema:about ?item. })
  ?item wdt:P569 ?dob.
  BIND((YEAR(NOW())) - (YEAR(?dob)) AS ?age)
  FILTER(?age < 20 )
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
 }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?age"):::projected v2("?article") v4("?dob") v3("?item"):::projected c4(["wd:Q2906862"]):::iri c9(["bd:serviceParam"]):::iri c6(["wd:Q131524"]):::iri c5(["wd:Q17125263"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?age < '20^^xsd:integer'"]] f0 --> v5 f1[["not "]] subgraph f1e0["Exists Clause"] e0v1 --"schema:about"--> e0v2 e0v1("?article"):::projected e0v2("?item"):::projected end f1--EXISTS--> f1e0 f1 --> v2 f1 --> c2 f1 --> v3 v2 --"schema:about"--> v3 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P106"--> c6 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P106"--> c5 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P106"--> c4 end union0r <== or ==> union0l end v3 --"wdt:P569"--> v4 bind2[/"year-from-dateTime(NOW()) - year-from-dateTime(?dob)"/] v4 --o bind2 bind2 --as--o v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end