query-5c74d3f78a0af983384361c764b07728
Decription of French people starting with an uppercase (some false-positive)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item ( CONCAT(lcase(substr(?itemLabel,1,1)), substr(?itemLabel,2)) as ?nom ) WHERE {
?item wdt:P27 wd:Q142 ; schema:description ?itemLabel .
FILTER (lang(?itemLabel) = "fr") .
FILTER regex (?itemLabel, "^[A-Z][^DJRNu]") .
}
LIMIT 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemLabel"):::projected
v3("?nom")
c4(["wd:Q142"]):::iri
f0[["regex(?itemLabel,'^#91;A-Z#93;#91;^DJRNu#93;')"]]
f0 --> v1
f1[["?itemLabel = 'fr'"]]
f1 --> v1
v2 --"wdt:P27"--> c4
v2 --"schema:description"--> v1
bind2[/"concat(lower-case(substring(?itemLabel,'1^^xsd:integer','1^^xsd:integer')),substring(?itemLabel,'2^^xsd:integer'))"/]
v1 --o bind2
bind2 --as--o v3