query-fa06c2e30319d61937d06e11b915ada8
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item (sample(?itemLabel) as ?itemLabel) (sample(?coord) as ?coord) WHERE {
?item wdt:P31 wd:Q484170.
?item rdfs:label ?itemLabel.
?item wdt:P625 ?coord.
FILTER(REGEX(?itemLabel, "(rison)$"))
}
group by ?item
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?coord"):::projected
v2("?item"):::projected
v4("?itemLabel"):::projected
c3(["wd:Q484170"]):::iri
f0[["regex(?itemLabel,'(rison)$')"]]
f0 --> v4
v2 --"wdt:P31"--> c3
v2 --"rdfs:label"--> v4
v2 --"wdt:P625"--> v4
bind3[/"sample(?itemLabel)"/]
v4 --o bind3
bind3 --as--o v4
bind4[/"sample(?coord)"/]
v4 --o bind4
bind4 --as--o v4